update
All checks were successful
Deployment Verification / deploy-and-test (push) Successful in 13s
All checks were successful
Deployment Verification / deploy-and-test (push) Successful in 13s
This commit is contained in:
parent
c5cfbf9275
commit
dfd0c8847a
@ -31,7 +31,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create necessary Docker networks
|
- name: Create necessary Docker networks
|
||||||
run: |
|
run: |
|
||||||
docker network create back_network || true
|
docker network create back_network_portainer || true
|
||||||
docker network create traefik_front_network || true
|
docker network create traefik_front_network || true
|
||||||
|
|
||||||
- name: Start up services using Docker Compose
|
- name: Start up services using Docker Compose
|
||||||
@ -39,7 +39,7 @@ jobs:
|
|||||||
|
|
||||||
# - name: Modify /etc/hosts for internal routing
|
# - name: Modify /etc/hosts for internal routing
|
||||||
# run: |
|
# run: |
|
||||||
# echo "127.0.0.1 gitea.tips-of-mine.com" | sudo tee -a /etc/hosts
|
# echo "127.0.0.1 portainer.tips-of-mine.com" | sudo tee -a /etc/hosts
|
||||||
|
|
||||||
- name: Print Docker Compose services status
|
- name: Print Docker Compose services status
|
||||||
run: docker ps
|
run: docker ps
|
||||||
@ -47,7 +47,7 @@ jobs:
|
|||||||
- name: Wait for the application to be ready via Traefik
|
- name: Wait for the application to be ready via Traefik
|
||||||
run: |
|
run: |
|
||||||
echo "Checking the routing and availability of application via Traefik..."
|
echo "Checking the routing and availability of application via Traefik..."
|
||||||
timeout 5m bash -c 'while ! curl -fsSLk "https://metabase.tips-of-mine.com"; do echo "Waiting for the application to be ready..."; sleep 10; done'
|
timeout 5m bash -c 'while ! curl -fsSLk "https://portainer.tips-of-mine.com"; do echo "Waiting for the application to be ready..."; sleep 10; done'
|
||||||
|
|
||||||
- name: Inspect Network Configuration
|
- name: Inspect Network Configuration
|
||||||
run: |
|
run: |
|
||||||
@ -62,4 +62,4 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
docker compose --profile setup down
|
docker compose --profile setup down
|
||||||
rm -rf /workspace/tips-of-mine/metabase/*
|
rm -rf /workspace/tips-of-mine/portainer/*
|
Loading…
x
Reference in New Issue
Block a user