summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorHao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>2024-04-29 18:58:10 +0200
committerGitHub <noreply@github.com>2024-04-29 18:58:10 +0200
commit158314af50fbb0ec63d59097b68f00645d167cdc (patch)
tree0e842cd78be8bf704b35ebb9df13512423497641 /.github
parentawx modules wait on event processing finished (#15152) (diff)
downloadawx-158314af50fbb0ec63d59097b68f00645d167cdc.tar.xz
awx-158314af50fbb0ec63d59097b68f00645d167cdc.zip
Delete deprecated Cypress UI e2e_test.yml (#15155)
Delete e2e_test.yml Remove because it's no longer being maintained
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/e2e_test.yml75
1 files changed, 0 insertions, 75 deletions
diff --git a/.github/workflows/e2e_test.yml b/.github/workflows/e2e_test.yml
deleted file mode 100644
index fa7ee3e429..0000000000
--- a/.github/workflows/e2e_test.yml
+++ /dev/null
@@ -1,75 +0,0 @@
----
-name: E2E Tests
-env:
- LC_ALL: "C.UTF-8" # prevent ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
-
-on:
- pull_request_target:
- types: [labeled]
-jobs:
- e2e-test:
- if: contains(github.event.pull_request.labels.*.name, 'qe:e2e')
- runs-on: ubuntu-latest
- timeout-minutes: 40
- permissions:
- packages: write
- contents: read
- strategy:
- matrix:
- job: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]
-
- steps:
- - uses: actions/checkout@v3
-
- - uses: ./.github/actions/run_awx_devel
- id: awx
- with:
- build-ui: true
- github-token: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Pull awx_cypress_base image
- run: |
- docker pull quay.io/awx/awx_cypress_base:latest
-
- - name: Checkout test project
- uses: actions/checkout@v3
- with:
- repository: ${{ github.repository_owner }}/tower-qa
- ssh-key: ${{ secrets.QA_REPO_KEY }}
- path: tower-qa
- ref: devel
-
- - name: Build cypress
- run: |
- cd ${{ secrets.E2E_PROJECT }}/ui-tests/awx-pf-tests
- docker build -t awx-pf-tests .
-
- - name: Run E2E tests
- env:
- CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
- run: |
- export COMMIT_INFO_BRANCH=$GITHUB_HEAD_REF
- export COMMIT_INFO_AUTHOR=$GITHUB_ACTOR
- export COMMIT_INFO_SHA=$GITHUB_SHA
- export COMMIT_INFO_REMOTE=$GITHUB_REPOSITORY_OWNER
- cd ${{ secrets.E2E_PROJECT }}/ui-tests/awx-pf-tests
- AWX_IP=${{ steps.awx.outputs.ip }}
- printenv > .env
- echo "Executing tests:"
- docker run \
- --network '_sources_default' \
- --ipc=host \
- --env-file=.env \
- -e CYPRESS_baseUrl="https://$AWX_IP:8043" \
- -e CYPRESS_AWX_E2E_USERNAME=admin \
- -e CYPRESS_AWX_E2E_PASSWORD='password' \
- -e COMMAND="npm run cypress-concurrently-gha" \
- -v /dev/shm:/dev/shm \
- -v $PWD:/e2e \
- -w /e2e \
- awx-pf-tests run --project .
-
- - uses: ./.github/actions/upload_awx_devel_logs
- if: always()
- with:
- log-filename: e2e-${{ matrix.job }}.log