Update
Some checks failed
CI/CD Docker Compose / Validate (push) Failing after 6s
CI/CD Docker Compose / deploy-and-test (push) Failing after 37s

This commit is contained in:
Hubert Cornet 2025-01-30 19:51:30 +01:00
parent 2c00c5ae22
commit 451e4c4cc4

View File

@ -22,7 +22,7 @@ jobs:
platforms: all
#
- name: Check the presence
- name: Check the presence file docker-compose.yml
run: |
if [ ! -f "docker-compose.yml" ]; then
echo "Error : file docker-compose.yml is missing."
@ -55,10 +55,15 @@ jobs:
# id: buildx
uses: docker/setup-buildx-action@v3.6.1
- name: Create necessary Docker networks
#
- name: Building images
run: |
docker network create back_network || true
docker network create traefik_front_network || true
docker-compose build
# - name: Create necessary Docker networks
# run: |
# docker network create back_network || true
# docker network create traefik_front_network || true
- name: Start up services using Docker Compose
run: docker compose up -d
@ -67,9 +72,8 @@ jobs:
run: |
echo "127.0.0.1 docuseal.tips-of-mine.com" | sudo tee -a /etc/hosts
- name: Wait
- name: Waiting for services to be ready
run: |
# Attendre que les services soient prêts (adapter selon vos besoins)
sleep 30
- name: Print Docker Compose services status