Skip to content

Commit

Permalink
Replace docker-compose with docker compose (#310)
Browse files Browse the repository at this point in the history
Motivation:

docker-compose is no more and you should use docker compose

Modifications:

Replace docker-compose with docker compose

Result:

Build works again
  • Loading branch information
normanmaurer authored Aug 5, 2024
1 parent f6086c3 commit f3365be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ jobs:
build-cache-m2-repository-
- name: Build docker image
run: docker-compose -f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml build
run: docker compose -f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml build

- name: Execute project build without leak detection
run: docker-compose -f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml run build | tee build-leak.output
run: docker compose -f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml run build | tee build-leak.output

- name: Checking for test failures
run: ./.github/scripts/check_build_result.sh build-leak.output
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
deploy-cache-m2-repository-
- name: Build docker image
run: docker-compose -f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml build
run: docker compose -f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml build

- name: Deploy project snapshot to sonatype
run: docker-compose -f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml run deploy
run: docker compose -f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml run deploy
4 changes: 2 additions & 2 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ jobs:
pr-cache-m2-repository-
- name: Build docker image
run: docker-compose -f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml build
run: docker compose -f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml build

- name: Execute project build with leak detection
run: docker-compose -f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml run build-leak | tee build-leak.output
run: docker compose -f docker/docker-compose.centos-7.yaml -f docker/docker-compose.centos-7.18.yaml run build-leak | tee build-leak.output

- name: Checking for test failures
run: ./.github/scripts/check_build_result.sh build-leak.output
Expand Down

0 comments on commit f3365be

Please sign in to comment.