CI: add CI unit test for simple fail deployment with 2 services

This commit is contained in:
Jaroslava Fiedlerova
2024-12-04 09:43:45 +01:00
parent c942fe43a9
commit e1d06cfef8
2 changed files with 32 additions and 0 deletions
@@ -0,0 +1,23 @@
services:
test1:
image: ubuntu:jammy
container_name: test_container1
cap_drop:
- ALL
entrypoint: /bin/bash -c "false"
healthcheck:
test: /bin/bash -c "true"
interval: 1s
timeout: 1s
retries: 1
test2:
image: ubuntu:jammy
container_name: test_container2
cap_drop:
- ALL
entrypoint: /bin/bash -c "sleep infinity"
healthcheck:
test: /bin/bash -c "true"
interval: 1s
timeout: 1s
retries: 1