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 authored and renovate[bot] committed Aug 6, 2024
1 parent 73f7902 commit 0b5c56e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Docker compose logs
run: |
c2cciutils-docker-logs
docker-compose down -v --remove-orphans
docker compose down -v --remove-orphans
if: always()
- uses: camptocamp/initialise-gopass-summon-action@v2
with:
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ test: test_c2cgeoform test_c2cgeoform_demo

.PHONY: test_c2cgeoform
test_c2cgeoform: build poetry
docker-compose up -d db
docker compose up -d db
poetry run pytest -vvv

.PHONY: test_c2cgeoform_demo
test_c2cgeoform_demo: $(BUILD_DIR)/c2cgeoform_demo
docker-compose up -d db
docker compose up -d db
make -C $(BUILD_DIR)/c2cgeoform_demo -f ./dev.mk test

$(BUILD_DIR)/c2cgeoform_demo: build c2cgeoform/scaffolds/c2cgeoform c2cgeoform_demo_dev.mk
Expand Down Expand Up @@ -101,7 +101,7 @@ cleanall: clean

.PHONY: initdb
initdb: $(BUILD_DIR)/c2cgeoform_demo
docker-compose up -d db
docker compose up -d db
sleep 1
make -C $(BUILD_DIR)/c2cgeoform_demo -f dev.mk initdb

Expand All @@ -111,7 +111,7 @@ webpack-dev:

.PHONY: serve
serve: build $(BUILD_DIR)/c2cgeoform_demo
docker-compose up -d db
docker compose up -d db
make -C $(BUILD_DIR)/c2cgeoform_demo -f dev.mk serve

.PHONY: modwsgi
Expand Down

0 comments on commit 0b5c56e

Please sign in to comment.