test(e2e): Add test for controller-led worker registration (#3882)
* test(e2e): Add test for controller led worker registration * chore(e2e): Rename log files to ensure uniqueness This updates the log files to be based on the scenario name instead of just the test package in case some scenarios run the same test package
This commit is contained in:
1 parent
c93edfb612
commit
f0a4bce17c
8 files changed
+376
-1
No files matched your search
@@ -82,6 +82,7 @@ jobs:
|
||||
- filter: 'e2e_docker_base_with_vault builder:crt'
|
||||
- filter: 'e2e_docker_base_with_postgres builder:crt'
|
||||
- filter: 'e2e_docker_base_with_worker builder:crt'
|
||||
- filter: 'e2e_docker_worker_registration_controller_led builder:crt'
|
||||
runs-on: ${{ fromJSON(vars.RUNNER_LARGE) }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }}
|
||||
@@ -248,11 +249,17 @@ jobs:
|
||||
mkdir -p ./enos/terraform-plugin-cache
|
||||
export ENOS_VAR_enos_user=$GITHUB_ACTOR && \
|
||||
enos scenario launch --timeout 60m0s --chdir ./enos ${{ matrix.filter }}
|
||||
- name: Rename e2e tests output
|
||||
run : |
|
||||
pushd enos
|
||||
scenario="${{ matrix.filter }}"
|
||||
for f in *.log; do mv -- "$f" "${f%.log}_${scenario%% *}.log"; done
|
||||
popd
|
||||
- name: Upload e2e tests output
|
||||
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
|
||||
with:
|
||||
name: test-e2e-output
|
||||
path: enos/test*.log
|
||||
path: enos/*.log
|
||||
retention-days: 5
|
||||
- name: Get logs from postgres container
|
||||
# Retrieve logs from the postgres container on a failed
|
||||
|
||||
Reference in new issue
Block a user