Skip to content

Commit

Permalink
separate steps
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Apr 23, 2024
1 parent 624ebb0 commit 393e1f4
Showing 1 changed file with 16 additions and 24 deletions.
40 changes: 16 additions & 24 deletions .github/workflows/execute_advanced_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,12 @@ jobs:
- name: "Checkout Code"
uses: actions/checkout@v3

- name: Start Test
run: make start-e2e-admin-test

# use docker logs -f rather than docker attach to make sure we get the initial logs
- name: Execute e2e-admin-tests
shell: bash -e
- name: Watch Test
run: |
echo "::group::Test Setup"
make start-e2e-admin-test
echo "::endgroup::"
container_id=$(docker ps --filter "ancestor=orchestrator:latest" --format "{{.ID}}")
docker logs -f "${container_id}" &
exit $(docker wait "${container_id}")
Expand All @@ -57,13 +55,11 @@ jobs:
- name: "Checkout Code"
uses: actions/checkout@v3

- name: Execute upgrade-test
shell: bash -e
run: |
echo "::group::Test Setup"
make start-upgrade-test
echo "::endgroup::"
- name: Start Test
run: make start-upgrade-test

- name: Watch Test
run: |
container_id=$(docker ps --filter "ancestor=orchestrator:latest" --format "{{.ID}}")
docker logs -f "${container_id}" &
exit $(docker wait "${container_id}")
Expand All @@ -76,13 +72,11 @@ jobs:
- name: "Checkout Code"
uses: actions/checkout@v3

- name: Execute upgrade-test-light
shell: bash -e
run: |
echo "::group::Test Setup"
make start-upgrade-test-light
echo "::endgroup::"
- name: Start Test
run: make start-upgrade-test-light

- name: Watch Test
run: |
container_id=$(docker ps --filter "ancestor=orchestrator:latest" --format "{{.ID}}")
docker logs -f "${container_id}" &
exit $(docker wait "${container_id}")
Expand All @@ -95,13 +89,11 @@ jobs:
- name: "Checkout Code"
uses: actions/checkout@v3

- name: Execute Performance Tests
shell: bash -e
run: |
echo "::group::Test Setup"
make start-e2e-performance-test
echo "::endgroup::"
- name: Start Test
run: make start-e2e-performance-test

- name: Watch Test
run: |
container_id=$(docker ps --filter "ancestor=orchestrator:latest" --format "{{.ID}}")
docker logs -f "${container_id}" &
exit $(docker wait "${container_id}")

0 comments on commit 393e1f4

Please sign in to comment.