changed woodpecker image
ci/woodpecker/push/build Pipeline was successful Szczegóły
ci/woodpecker/pr/build Pipeline failed Szczegóły

feature/thumbnails
mtyton 2023-09-15 21:32:18 +02:00
rodzic b1ded032cd
commit 9b1b21adb9
2 zmienionych plików z 8 dodań i 12 usunięć

Wyświetl plik

@ -1,19 +1,19 @@
steps:
build:
image: debian
image: docker:24.0.6
secrets: []
commands:
- docker-compose -f artel/docker-compose-test.yml build
- docker compose -f artel/docker-compose-test.yml build
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:
event: pull_request
branch: ${CI_REPO_DEFAULT_BRANCH}
test:
image: debian
image: docker:24.0.6
secrets: []
commands:
- docker-compose -f artel/docker-compose-test.yml run --rm test_comfy
- docker compose -f artel/docker-compose-test.yml run --rm test_comfy
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when:

Wyświetl plik

@ -4,14 +4,12 @@ services:
image: postgres
restart: always
environment:
- POSTGRES_ROOT_PASSWORD
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
- POSTGRES_ROOT_PASSWORD=password
- POSTGRES_USER=comfy
- POSTGRES_PASSWORD=password
- POSTGRES_DB=comfy_shop
volumes:
- ../postgres/:/var/lib/postgresql
env_file:
- .env
test_comfy:
depends_on:
- test_db
@ -25,7 +23,5 @@ services:
- SECRET_KEY=RandomKey
- DATABASE_URL=postgres://comfy:password@test_db/comfy_shop
- DJANGO_SETTINGS_MODULE=artel.settings.tests
env_file:
- .env
command:
python manage.py test --noinput