Skip to content

Commit

Permalink
removing cypress workflow obe code
Browse files Browse the repository at this point in the history
  • Loading branch information
dwhite_stratiform authored and dwhite_stratiform committed Jan 19, 2024
1 parent 93efc47 commit 3d137d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/cypress-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,29 +65,6 @@ jobs:
- name: set path
run: |
echo "PATH=$(pwd)/node_modules/.bin/:$PATH" >> $GITHUB_ENV
- name: Verify container details
run: |
echo $(uname -a)
- name: Install container dependencies
run: |
apt-get update
apt-get -y install unzip jq nmap
- name: check python install
run: |
ln -s /usr/bin/python3 /usr/bin/python
python --version
- name: Install AWS CLI
run: |
curl -o awscli-installer.zip https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip
unzip awscli-installer.zip
./aws/install
- name: Verify installation
run: aws --version
- name: Configure AWS credentials for GitHub Actions
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_OIDC_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
- name: Run Cypress Tests
uses: cypress-io/github-action@v5
with:
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,6 @@ jobs:
test-endpoint: "${{ needs.e2e-tests-init.outputs.application_endpoint }}"
secrets:
slack-url: ${{ secrets.SLACK_WEBHOOK_URL }}
AWS_DEFAULT_REGION: ${{ secrets[needs.deploy.outputs.BRANCH_SPECIFIC_VARNAME_AWS_DEFAULT_REGION] || secrets.AWS_DEFAULT_REGION }}
AWS_OIDC_ROLE_TO_ASSUME: ${{ secrets[needs.deploy.outputs.BRANCH_SPECIFIC_VARNAME_AWS_OIDC_ROLE_TO_ASSUME] || secrets.AWS_OIDC_ROLE_TO_ASSUME }}
cypress-user1: ${{ secrets.CYPRESS_TEST_USER_1 }}
cypress-user2: ${{ secrets.CYPRESS_TEST_USER_2 }}
cypress-user3: ${{ secrets.CYPRESS_TEST_USER_3 }}
Expand All @@ -251,8 +249,6 @@ jobs:
test-endpoint: "${{ needs.e2e-tests-init.outputs.application_endpoint }}"
secrets:
slack-url: ${{ secrets.SLACK_WEBHOOK_URL }}
AWS_DEFAULT_REGION: ${{ secrets[needs.deploy.outputs.BRANCH_SPECIFIC_VARNAME_AWS_DEFAULT_REGION] || secrets.AWS_DEFAULT_REGION }}
AWS_OIDC_ROLE_TO_ASSUME: ${{ secrets[needs.deploy.outputs.BRANCH_SPECIFIC_VARNAME_AWS_OIDC_ROLE_TO_ASSUME] || secrets.AWS_OIDC_ROLE_TO_ASSUME }}
cypress-user1: ${{ secrets.CYPRESS_TEST_USER_1 }}
cypress-user2: ${{ secrets.CYPRESS_TEST_USER_2 }}
cypress-user3: ${{ secrets.CYPRESS_TEST_USER_3 }}
Expand All @@ -271,8 +267,6 @@ jobs:
test-endpoint: "${{ needs.e2e-tests-init.outputs.application_endpoint }}"
secrets:
slack-url: ${{ secrets.SLACK_WEBHOOK_URL }}
AWS_DEFAULT_REGION: ${{ secrets[needs.deploy.outputs.BRANCH_SPECIFIC_VARNAME_AWS_DEFAULT_REGION] || secrets.AWS_DEFAULT_REGION }}
AWS_OIDC_ROLE_TO_ASSUME: ${{ secrets[needs.deploy.outputs.BRANCH_SPECIFIC_VARNAME_AWS_OIDC_ROLE_TO_ASSUME] || secrets.AWS_OIDC_ROLE_TO_ASSUME }}
cypress-user1: ${{ secrets.CYPRESS_TEST_USER_1 }}
cypress-user2: ${{ secrets.CYPRESS_TEST_USER_2 }}
cypress-user3: ${{ secrets.CYPRESS_TEST_USER_3 }}
Expand All @@ -291,8 +285,6 @@ jobs:
test-endpoint: "${{ needs.e2e-tests-init.outputs.application_endpoint }}"
secrets:
slack-url: ${{ secrets.SLACK_WEBHOOK_URL }}
AWS_DEFAULT_REGION: ${{ secrets[needs.deploy.outputs.BRANCH_SPECIFIC_VARNAME_AWS_DEFAULT_REGION] || secrets.AWS_DEFAULT_REGION }}
AWS_OIDC_ROLE_TO_ASSUME: ${{ secrets[needs.deploy.outputs.BRANCH_SPECIFIC_VARNAME_AWS_OIDC_ROLE_TO_ASSUME] || secrets.AWS_OIDC_ROLE_TO_ASSUME }}
cypress-user1: ${{ secrets.CYPRESS_TEST_USER_1 }}
cypress-user2: ${{ secrets.CYPRESS_TEST_USER_2 }}
cypress-user3: ${{ secrets.CYPRESS_TEST_USER_3 }}
Expand All @@ -311,8 +303,6 @@ jobs:
test-endpoint: "${{ needs.e2e-tests-init.outputs.application_endpoint }}"
secrets:
slack-url: ${{ secrets.SLACK_WEBHOOK_URL }}
AWS_DEFAULT_REGION: ${{ secrets[needs.deploy.outputs.BRANCH_SPECIFIC_VARNAME_AWS_DEFAULT_REGION] || secrets.AWS_DEFAULT_REGION }}
AWS_OIDC_ROLE_TO_ASSUME: ${{ secrets[needs.deploy.outputs.BRANCH_SPECIFIC_VARNAME_AWS_OIDC_ROLE_TO_ASSUME] || secrets.AWS_OIDC_ROLE_TO_ASSUME }}
cypress-user1: ${{ secrets.CYPRESS_TEST_USER_1 }}
cypress-user2: ${{ secrets.CYPRESS_TEST_USER_2 }}
cypress-user3: ${{ secrets.CYPRESS_TEST_USER_3 }}
Expand All @@ -334,8 +324,6 @@ jobs:
test-endpoint: "${{ needs.e2e-tests-init.outputs.application_endpoint }}"
secrets:
slack-url: ${{ secrets.SLACK_WEBHOOK_URL }}
AWS_DEFAULT_REGION: ${{ secrets[needs.deploy.outputs.BRANCH_SPECIFIC_VARNAME_AWS_DEFAULT_REGION] || secrets.AWS_DEFAULT_REGION }}
AWS_OIDC_ROLE_TO_ASSUME: ${{ secrets[needs.deploy.outputs.BRANCH_SPECIFIC_VARNAME_AWS_OIDC_ROLE_TO_ASSUME] || secrets.AWS_OIDC_ROLE_TO_ASSUME }}
cypress-user1: ${{ secrets.CYPRESS_TEST_USER_1 }}
cypress-user2: ${{ secrets.CYPRESS_TEST_USER_2 }}
cypress-user3: ${{ secrets.CYPRESS_TEST_USER_3 }}
Expand Down

0 comments on commit 3d137d6

Please sign in to comment.