File tree Expand file tree Collapse file tree
github-actions/setup-e2e-environment Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,6 +95,10 @@ inputs:
9595 docker-compose.custom.yml setup
9696 required : false
9797 default : " "
98+ start_jore3_importer :
99+ description : Should Jore3 importer be started along the rest of the e2e environment.
100+ required : false
101+ default : " false"
98102
99103runs :
100104 using : " composite"
@@ -124,7 +128,7 @@ runs:
124128 TIMETABLESAPI_DOCKER_IMAGE : ${{ inputs.timetablesapi_version }}
125129 TIAMAT_DOCKER_IMAGE : ${{ inputs.tiamat_version }}
126130 run : |
127- docker compose -f ${{ github.workspace }}/docker/docker-compose.yml ${{ inputs.custom_docker_compose != '' && format('-f {0}', inputs.custom_docker_compose) || '' }} up -d
131+ docker compose -f ${{ github.workspace }}/docker/docker-compose.yml ${{ inputs.custom_docker_compose != '' && format('-f {0}', inputs.custom_docker_compose) || '' }} ${{ inputs.start_jore3_importer == 'true' && '--profile importer' || '' }} up -d
128132 shell : bash
129133
130134 - name : Show which versions of the docker images are spun up
@@ -149,6 +153,7 @@ runs:
149153 retries : 50
150154
151155 - name : Verify that mssql testdb is up and running
156+ if : ${{ inputs.start_jore3_importer == 'true' }}
152157 uses : HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
153158 env :
154159 SA_PASSWORD : " P@ssw0rd"
@@ -212,6 +217,7 @@ runs:
212217 /dev/null --silent"
213218
214219 - name : Verify that jore3 importer is up and running standalone
220+ if : ${{ inputs.start_jore3_importer == 'true' }}
215221 uses : HSLdevcom/jore4-tools/github-actions/healthcheck@healthcheck-v1
216222 with :
217223 command :
You can’t perform that action at this time.
0 commit comments