Skip to content

Commit 37370b3

Browse files
committed
Fix conformance tests
1 parent 7452a71 commit 37370b3

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,17 +219,17 @@ jobs:
219219
run: |
220220
sed -i -e 's/localhost/localhost.emobix.co.uk/g' src/main/resources/application.properties
221221
sed -i -e 's/-B clean/-B -DskipTests=true/g' builder-compose.yml
222-
docker-compose -f builder-compose.yml run builder
222+
docker compose -f builder-compose.yml run builder
223223
- name: Run Conformance Suite
224224
working-directory: ./conformance-suite
225225
run: |
226-
docker-compose -f docker-compose-dev.yml up -d
226+
docker compose -f docker-compose-dev.yml up -d
227227
while ! curl -skfail https://localhost.emobix.co.uk:8443/api/runner/available >/dev/null; do sleep 2; done
228228
- name: Start SSP docker
229229
working-directory: ./main
230230
# Must run after conformance suite since they share a docker network.
231231
run: |
232-
OIDC_VERSION=@dev docker-compose -f docker/docker-compose.yml --project-directory . up -d --build
232+
OIDC_VERSION=@dev docker compose -f docker/docker-compose.yml --project-directory . up -d --build
233233
sleep 30
234234
# while ! curl -skfail https://op.local.stack-dev.cirrusidentity.com/.well-known/openid-configuration >/dev/null; do sleep 2; done
235235
- name: Run Basic conformance tests
@@ -247,11 +247,11 @@ jobs:
247247
- name: Stop SSP
248248
working-directory: ./main
249249
run: |
250-
docker-compose -f docker/docker-compose.yml down
250+
docker compose -f docker/docker-compose.yml down
251251
- name: Stop Conformance Suite
252252
working-directory: ./conformance-suite
253253
# cleaning up errors out on removing the network, so add "|| true" to prevent that from breaking the build
254254
run: |
255-
docker-compose -f docker-compose-dev.yml down || true
255+
docker compose -f docker-compose-dev.yml down || true
256256
sudo rm -rf mongo
257257

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#FROM cirrusid/simplesamlphp:v2.0.0
2-
FROM cicnavi/simplesamlphp:dev-simplesamlphp-2.1
2+
FROM cicnavi/simplesamlphp:dev
33

44
RUN apt-get update && apt-get install -y sqlite3
55
# Prepopulate the DB with items needed for testing

docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ services:
5050
# Connect to the conformance-suite network to make it easier to communicate between components
5151
networks:
5252
default:
53-
external:
54-
name: conformance-suite_default
53+
name: conformance-suite_default
54+
external: true

0 commit comments

Comments
 (0)