Skip to content

Commit

Permalink
ci: separate docker compose build call
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyTubongbanua committed Jul 20, 2023
1 parent 9387a2a commit 14f09d7
Showing 1 changed file with 62 additions and 2 deletions.
64 changes: 62 additions & 2 deletions .github/workflows/end2end_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
SSHNPD_ATSIGN: "@8052simple"
SSHRVD_ATSIGN: "@8485wealthy51"
SSHRVD_RV_AM_ATSIGN: "@rv_am"
DOCKER_COMPOSE_UP_CMD: "docker compose up --build --exit-code-from=container-sshnp"
DOCKER_COMPOSE_UP_CMD: "docker compose up --exit-code-from=container-sshnp"
WAITING_TIME_WITH_SYNC: 30
WAITING_TIME_WITHOUT_SYNC: 2

Expand Down Expand Up @@ -69,6 +69,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-local
run: |
Expand Down Expand Up @@ -111,6 +116,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-trunk
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-trunk
run: |
Expand Down Expand Up @@ -153,6 +163,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/trunk-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/trunk-local
run: |
Expand Down Expand Up @@ -195,6 +210,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release
run: |
Expand Down Expand Up @@ -237,6 +257,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/release-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/release-local
run: |
Expand Down Expand Up @@ -278,6 +303,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release3.2.0
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release3.2.0
run: |
Expand Down Expand Up @@ -319,6 +349,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/release3.2.0-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/release3.2.0-local
run: |
Expand Down Expand Up @@ -360,6 +395,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release3.3.0
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release3.3.0
run: |
Expand Down Expand Up @@ -401,6 +441,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/release3.3.0-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/release3.3.0-local
run: |
Expand Down Expand Up @@ -442,6 +487,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/release3.1.2.-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/release3.1.2-local
run: |
Expand Down Expand Up @@ -483,6 +533,11 @@ jobs:
cat sshnp/entrypoint.sh
cat sshnpd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release3.1.2
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-release3.1.2
run: |
Expand Down Expand Up @@ -527,6 +582,11 @@ jobs:
cat sshnpd/entrypoint.sh
cat sshrvd/entrypoint.sh
- name: Build
working-directory: packages/sshnoports/test/end2end_tests/tests/local-local-local
run: |
docker compose build
- name: Test
working-directory: packages/sshnoports/test/end2end_tests/tests/local-local-local
run: |
Expand All @@ -543,4 +603,4 @@ jobs:
if: always()
working-directory: packages/sshnoports/test/end2end_tests/tests/local-local-local
run: |
docker compose down
docker compose down

0 comments on commit 14f09d7

Please sign in to comment.