Skip to content

Commit 0a422ea

Browse files
author
Janne Rönkkö
committed
Start testdb, hasura, tiamat and auth before other services
1 parent 1f5b310 commit 0a422ea

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

github-actions/setup-e2e-environment/action.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,23 @@ runs:
149149
TIAMAT_DOCKER_IMAGE=${{ inputs.tiamat_version }}
150150
EOF
151151
152-
- name: Start e2e environment
152+
# The services that take a long while to start are started first so they can start in the background while
153+
# Docker images for the rest of the services are being downloaded
154+
- name: Start e2e environment (pre)
155+
run: |
156+
docker compose \
157+
-f ${{ github.workspace }}/docker/docker-compose.yml \
158+
${{ inputs.custom_docker_compose != '' && format('-f {0}', inputs.custom_docker_compose) || '' }} \
159+
${{ inputs.start_jore3_importer == 'true' && '--profile importer' || '' }} \
160+
up -d \
161+
jore4-testdb \
162+
jore4-hasura \
163+
jore4-tiamat \
164+
jore4-auth \
165+
166+
shell: bash
167+
168+
- name: Start e2e environment (all remaining)
153169
run: |
154170
docker compose \
155171
-f ${{ github.workspace }}/docker/docker-compose.yml \

0 commit comments

Comments
 (0)