Skip to content

Commit

Permalink
Use docker compose instead of docker-compose to fix GH workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
forus committed Dec 19, 2024
1 parent 1943540 commit e4eeea1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: 'Start cbioportal-docker-compose'
working-directory: ./cbioportal-docker-compose
run: |
docker-compose -f docker-compose.yml -f $PORTAL_SOURCE_DIR/test/integration/docker-compose-localbuild.yml up -d
docker compose -f docker-compose.yml -f $PORTAL_SOURCE_DIR/test/integration/docker-compose-localbuild.yml up -d
- name: 'Wait for cbioportal to initialize ...'
id: startup
uses: nev7n/wait_for_response@v1
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_import_export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
run_in_service() {
service=$1
shift
docker-compose -f docker-compose.yml -f $PORTAL_SOURCE_DIR/test/integration/docker-compose-localbuild.yml \
docker compose -f docker-compose.yml -f $PORTAL_SOURCE_DIR/test/integration/docker-compose-localbuild.yml \
run --rm \
"$service" bash -c "$@"
return $? # return the exit code of the last command
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_integration_test_oncokb_import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
run_in_service() {
service=$1
shift
docker-compose -f docker-compose.yml -f $PORTAL_SOURCE_DIR/test/integration/docker-compose-localbuild.yml \
docker compose -f docker-compose.yml -f $PORTAL_SOURCE_DIR/test/integration/docker-compose-localbuild.yml \
run --rm \
"$service" bash -c "$@"
}
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_load_study.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
run_in_service() {
service=$1
shift
docker-compose -f docker-compose.yml -f $PORTAL_SOURCE_DIR/test/integration/docker-compose-localbuild.yml \
docker compose -f docker-compose.yml -f $PORTAL_SOURCE_DIR/test/integration/docker-compose-localbuild.yml \
run --rm \
"$service" bash -c "$@"
}
Expand Down
2 changes: 1 addition & 1 deletion test/integration/test_update_oncokb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
run_in_service() {
service=$1
shift
docker-compose -f docker-compose.yml -f $PORTAL_SOURCE_DIR/test/integration/docker-compose-localbuild.yml \
docker compose -f docker-compose.yml -f $PORTAL_SOURCE_DIR/test/integration/docker-compose-localbuild.yml \
run --rm \
"$service" bash -c "$@"
}
Expand Down

0 comments on commit e4eeea1

Please sign in to comment.