Skip to content

Commit

Permalink
docker compose in CI test
Browse files Browse the repository at this point in the history
Fixed the broken CI tests by updating run.sh to use 'docker compose' instead of 'docker-compose'.
  • Loading branch information
ahellander authored Apr 4, 2024
1 parent a59595c commit 0af74ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/tests/examples/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ helper="$2"
>&2 echo "Start FEDn"
pushd "examples/$example"

docker-compose \
docker compose \
-f ../../docker-compose.yaml \
-f docker-compose.override.yaml \
up -d --build
Expand Down Expand Up @@ -43,7 +43,7 @@ docker-compose \
".$example/bin/python" ../../.ci/tests/examples/api_test.py get_client_config --output ../../client.yaml

# Redeploy clients with config
docker-compose \
docker compose \
-f ../../docker-compose.yaml \
-f docker-compose.override.yaml \
-f ../../.ci/tests/examples/compose-client-settings.override.yaml \
Expand All @@ -56,4 +56,4 @@ docker-compose \
".$example/bin/python" ../../.ci/tests/examples/api_test.py test_api_get_methods

popd
>&2 echo "Test completed successfully"
>&2 echo "Test completed successfully"

0 comments on commit 0af74ea

Please sign in to comment.