2023-09-11 20:15:48 +00:00
|
|
|
steps:
|
|
|
|
build:
|
2023-09-15 19:32:18 +00:00
|
|
|
image: docker:24.0.6
|
2023-09-11 20:15:48 +00:00
|
|
|
secrets: []
|
|
|
|
commands:
|
2023-09-24 09:45:04 +00:00
|
|
|
- docker compose -f artel/docker-compose-test.yml build --no-cache
|
2023-09-11 20:15:48 +00:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
when:
|
|
|
|
event: pull_request
|
|
|
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
|
|
|
test:
|
2023-09-15 19:32:18 +00:00
|
|
|
image: docker:24.0.6
|
2023-09-11 20:15:48 +00:00
|
|
|
secrets: []
|
|
|
|
commands:
|
2023-10-03 20:32:15 +00:00
|
|
|
- docker compose -f artel/docker-compose-test.yml run test_comfy
|
|
|
|
- docker compose -f ./artel/docker-compose-test.yml down
|
2023-09-11 20:15:48 +00:00
|
|
|
volumes:
|
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
when:
|
|
|
|
event: pull_request
|
2023-10-03 20:32:15 +00:00
|
|
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|