Skip to content

Commit

Permalink
consolidate jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
IGallupSoCo committed Oct 11, 2024
1 parent 354fd34 commit 6919dbf
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/cypress-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ env:
VETS_WEBSITE_CHANNEL_ID: ''

jobs:
check-for-existing-build:
name: Check s3 for archived build
integration-test:
name: Execute Cypress tests
runs-on: ubuntu-latest
permissions: write-all

Expand Down Expand Up @@ -52,29 +52,6 @@ jobs:
tar -xvjf vagovprod.tar.bz2 -C vets-website
echo "2"
integration-test:
name: Set up variables and then run the integration tests.
runs-on: ubuntu-latest
needs: check-for-existing-build
steps:
- name: Checkout
uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017
with:
fetch-depth: 0
ref: ${{ github.event.inputs.commit_sha }}

- name: Configure AWS Credentials
uses: aws-actions/[email protected]
with:
aws-region: us-gov-west-1
role-to-assume: arn:aws-us-gov:iam::008577686731:role/gha-frontend-nonprod-role

- name: Get va-vsp-bot token
uses: ./.github/workflows/inject-secrets
with:
ssm_parameter: /devops/VA_VSP_BOT_GITHUB_TOKEN
env_variable_name: VA_VSP_BOT_GITHUB_TOKEN

- name: Run integration helper script
id: helper
run: |
Expand Down

0 comments on commit 6919dbf

Please sign in to comment.