Skip to content

Commit

Permalink
Switch "docker-compose" -> "docker compose"
Browse files Browse the repository at this point in the history
  • Loading branch information
kasbah committed Sep 22, 2024
1 parent 25c742b commit 5469afe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ jobs:
ssh-keyscan '${{ github.ref_name }}.staging.kitspace.dev' >> ~/.ssh/known_hosts
docker context create staging --docker 'host=ssh://deploy@${{ github.ref_name }}.staging.kitspace.dev'
docker context use staging
docker-compose -f docker-compose.yml -f docker-compose.deploy.yml --host='ssh://deploy@${{ github.ref_name }}.staging.kitspace.dev' up -d
docker compose -f docker-compose.yml -f docker-compose.deploy.yml --host='ssh://deploy@${{ github.ref_name }}.staging.kitspace.dev' up -d
- name: Report "review" deploy failure
if: ${{ failure() && github.ref == 'refs/heads/review' }}
Expand Down Expand Up @@ -328,10 +328,10 @@ jobs:
scripts/generate_e2e_fixtures.sh
# start gitea so we can generate the admin token required for e2e
docker-compose -f docker-compose.yml -f docker-compose.deploy.yml up -d
docker compose -f docker-compose.yml -f docker-compose.deploy.yml up -d
until docker logs kitspace_gitea_1 | grep -q 'ORM engine initialization successful' ; do sleep 3s; done
token="$(deno run --allow-env --allow-net --allow-run ./scripts/importBoardsTxt.ts --tokenOnly)"
docker-compose stop
docker compose stop
echo "CYPRESS_GITEA_ADMIN_TOKEN=${token}" >> $GITHUB_ENV
Expand All @@ -354,7 +354,7 @@ jobs:
COMMIT_INFO_TIMESTAMP: '${{ github.event.head_commit.timestamp }}'
COMMIT_INFO_BRANCH: '${{ github.ref_name || github.head_ref }}'
run: |
docker-compose -f docker-compose.yml -f docker-compose.deploy.yml -f docker-compose.e2e.yml up \
docker compose -f docker-compose.yml -f docker-compose.deploy.yml -f docker-compose.e2e.yml up \
--abort-on-container-exit --exit-code-from e2e
tag_docker_images:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-processor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- 'processor/**'

jobs:

test_processor:
runs-on: ubuntu-20.04
steps:
Expand Down
4 changes: 2 additions & 2 deletions scripts/install_gitea.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

set -Eeuo pipefail -o verbose

docker-compose -f docker-compose.yml -f docker-compose.deploy.yml up &
docker compose -f docker-compose.yml -f docker-compose.deploy.yml up &

until docker logs kitspace_gitea_1 | grep 'ORM engine initialization successful' ; do sleep 3s; done

docker-compose stop
docker compose stop

0 comments on commit 5469afe

Please sign in to comment.