From e7c1f0c9baecef62289facf9aaa03bdff950b938 Mon Sep 17 00:00:00 2001 From: Francis Chuang Date: Thu, 11 Apr 2024 08:09:29 +1000 Subject: [PATCH] [CALCITE-6359] Update GitHub Actions workflows to use docker compose v2 --- .github/workflows/main.yml | 2 +- .github/workflows/publish-non-release-website-updates.yml | 2 +- .github/workflows/publish-website-on-release.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 059a2b33c88..0ff5ab00f9f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -457,7 +457,7 @@ jobs: working-directory: ./druid-dataset run: | chmod -R 777 storage - docker-compose up -d + docker compose up -d - name: 'Wait Druid nodes to startup' run: | until docker logs coordinator | grep "Successfully started lifecycle \[module\]"; do sleep 1s; done diff --git a/.github/workflows/publish-non-release-website-updates.yml b/.github/workflows/publish-non-release-website-updates.yml index f7a9457406a..b9e06017712 100644 --- a/.github/workflows/publish-non-release-website-updates.yml +++ b/.github/workflows/publish-non-release-website-updates.yml @@ -56,7 +56,7 @@ jobs: - name: Build site working-directory: site run: | - docker-compose run -e JEKYLL_UID=$(id -u) -e JEKYLL_GID=$(id -g) build-site + docker compose run -e JEKYLL_UID=$(id -u) -e JEKYLL_GID=$(id -g) build-site - name: Push site working-directory: site/target env: diff --git a/.github/workflows/publish-website-on-release.yml b/.github/workflows/publish-website-on-release.yml index 416edbc4c44..734fe1886b7 100644 --- a/.github/workflows/publish-website-on-release.yml +++ b/.github/workflows/publish-website-on-release.yml @@ -44,11 +44,11 @@ jobs: - name: Build site working-directory: site run: | - docker-compose run -e JEKYLL_UID=$(id -u) -e JEKYLL_GID=$(id -g) build-site + docker compose run -e JEKYLL_UID=$(id -u) -e JEKYLL_GID=$(id -g) build-site - name: Build javadoc working-directory: site run: | - docker-compose run generate-javadoc + docker compose run generate-javadoc - name: Push site working-directory: site/target env: