Skip to content

Commit 2ae2d91

Browse files
authored
Point govdelivery tests at the same domain as content-build tests. (#2228)
1 parent ebc3c77 commit 2ae2d91

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/continuous-integration.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ env:
1414
CONTENT_BUILD_CHANNEL_ID: C02VD909V08 #status-content-build
1515
BROKEN_LINKS_SLACK: C030F5WV2TF # content-broken-links
1616
INSTANCE_TYPE: m5.4xlarge
17+
# Sandbox Drupal address, username, and password is used on branches other than main.
18+
DRUPAL_ADDRESS: https://main-medc0xjkxm4jmpzxl3tfbcs7qcddsivh.ci.cms.va.gov
19+
# This is a test credential and is not used on any production instances.
20+
DRUPAL_PASSWORD: drupal8
1721

1822
concurrency:
1923
group: ${{ github.ref != 'refs/heads/main' && github.ref || github.sha }}
@@ -34,10 +38,6 @@ jobs:
3438
vagovstaging_buildtime: ${{ env.vagovstaging_buildtime }}
3539

3640
env:
37-
# Sandbox Drupal address, username, and password is used on branches other than main.
38-
DRUPAL_ADDRESS: https://main-medc0xjkxm4jmpzxl3tfbcs7qcddsivh.ci.cms.va.gov
39-
# This is a test credential and is not used on any production instances.
40-
DRUPAL_PASSWORD: drupal8
4141
NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt
4242

4343
strategy:
@@ -682,15 +682,16 @@ jobs:
682682
DEST: s3://${{ matrix.bucket }}
683683

684684
- name: Wait for the CMS to be ready
685+
if: ${{ matrix.environment == 'vagovstaging' }}
685686
uses: ./.github/workflows/wait-for-cms-ready
686687
with:
687-
base_url: https://staging.cms.va.gov
688+
base_url: ${{ env.DRUPAL_ADDRESS }}
688689

689690
- name: CMS GovDelivery callback
690691
if: ${{ matrix.environment == 'vagovstaging' }}
691692
uses: fjogeleit/http-request-action@e8dd067b83c3ab0774c76bf065b1c4f11c7e45ba # v1.14.0
692693
with:
693-
url: https://staging.cms.va.gov/api/govdelivery_bulletins/queue?EndTime=${{ needs.build.outputs.vagovstaging_buildtime }}&src=gha&runId=${{ github.run_id }}&runNumber=${{ github.run_number }}
694+
url: ${{ env.DRUPAL_ADDRESS }}/api/govdelivery_bulletins/queue?EndTime=${{ needs.build.outputs.vagovstaging_buildtime }}&src=gha&runId=${{ github.run_id }}&runNumber=${{ github.run_number }}
694695
method: GET
695696
username: api
696697
password: ${{ env.CALLBACK_TOKEN }}

0 commit comments

Comments
 (0)