Skip to content

Commit

Permalink
Use Docker Compose version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Aug 9, 2024
1 parent 8de3cb6 commit cfbc036
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,22 @@ build-acceptance:
acceptance: build-acceptance build # Run the acceptance tests
C2C_AUTH_GITHUB_CLIENT_ID=$(shell gopass show gs/projects/github/oauth-apps/geoservices-int/client-id) \
C2C_AUTH_GITHUB_CLIENT_SECRET=$(shell gopass show gs/projects/github/oauth-apps/geoservices-int/client-secret) \
docker-compose up --detach
docker-compose exec -T tests pytest -vv --color=yes --junitxml /reports/acceptance.xml acceptance
docker-compose down
docker compose up --detach
docker compose exec -T tests pytest -vv --color=yes --junitxml /reports/acceptance.xml acceptance
docker compose down

.PHONY: run
run: build
docker-compose stop
docker-compose rm --force
docker compose stop
docker compose rm --force
C2C_AUTH_GITHUB_CLIENT_ID=$(shell gopass show gs/projects/github/oauth-apps/geoservices-int/client-id) \
C2C_AUTH_GITHUB_CLIENT_SECRET=$(shell gopass show gs/projects/github/oauth-apps/geoservices-int/client-secret) \
docker-compose up --detach
docker compose up --detach

.PHONY: clean
clean:
rm -rf reports .venv
docker-compose down
docker compose down

.PHONY: checks
checks: prospector acceptance-prospector ## Run the checks
Expand Down
2 changes: 1 addition & 1 deletion ci/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
c2cciutils[checks,publish]==1.4.13
c2cciutils[checks,publish]==1.4.19
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability
certifi>=2022.12.7 # not directly required, pinned by Snyk to avoid a vulnerability
cryptography>=39.0.1 # not directly required, pinned by Snyk to avoid a vulnerability
Expand Down

0 comments on commit cfbc036

Please sign in to comment.