Skip to content

Commit 7a04730

Browse files
author
Janne Rönkkö
committed
Pull Docker images for databases, Hasura and Tiamat and start them before pulling other Docker images
1 parent cb2f5c1 commit 7a04730

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,36 @@ runs:
145145
--wildcards 'jore4-docker-compose-bundle-main/docker-compose/*'
146146
shell: bash
147147

148+
- name: Pull Docker images for databases, Hasura and Tiamat
149+
run: |
150+
time docker \
151+
compose \
152+
-f ${{ github.workspace }}/docker/docker-compose.yml \
153+
${{ inputs.custom_docker_compose != '' && format('-f {0}', inputs.custom_docker_compose) || '' }} \
154+
${{ inputs.start_jore3_importer == 'true' && '--profile importer' || '' }} \
155+
pull jore4-mapmatchingdb jore4-testdb jore4-hasura jore4-tiamat
156+
shell: bash
157+
158+
- name: Start databases, Hasura and Tiamat
159+
run: |
160+
docker \
161+
compose \
162+
-f ${{ github.workspace }}/docker/docker-compose.yml \
163+
${{ inputs.custom_docker_compose != '' && format('-f {0}', inputs.custom_docker_compose) || '' }} \
164+
${{ inputs.start_jore3_importer == 'true' && '--profile importer' || '' }} \
165+
up -d jore4-mapmatchingdb jore4-testdb jore4-hasura jore4-tiamat
166+
shell: bash
167+
168+
- name: Pull Docker images
169+
run: |
170+
time docker \
171+
compose \
172+
-f ${{ github.workspace }}/docker/docker-compose.yml \
173+
${{ inputs.custom_docker_compose != '' && format('-f {0}', inputs.custom_docker_compose) || '' }} \
174+
${{ inputs.start_jore3_importer == 'true' && '--profile importer' || '' }} \
175+
pull
176+
shell: bash
177+
148178
- name: Start e2e environment
149179
run: |
150180
docker \

0 commit comments

Comments
 (0)