Create repo
Some checks failed
Deployment Verification / deploy-and-test (push) Failing after 13s

This commit is contained in:
2024-11-26 19:55:08 +01:00
parent c8ea832a4d
commit 87d62d3526
5 changed files with 134 additions and 33 deletions

View File

@ -14,11 +14,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
- name: Checkout
uses: actions/checkout@v4
# https://github.com/docker/setup-qemu-action#usage
- name: Set up QEMU
uses: docker/setup-qemu-action@v3.2.0
# https://github.com/marketplace/actions/docker-setup-buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
id: buildx
uses: docker/setup-buildx-action@v3.6.1
- name: Create necessary Docker networks
run: |
@ -30,8 +36,7 @@ jobs:
# - name: Modify /etc/hosts for internal routing
# run: |
# echo "127.0.0.1 gitea.tips-of-mine.com" | sudo tee -a /etc/hosts
# echo "127.0.0.1 dashboard.tips-of-mine.com" | sudo tee -a /etc/hosts
# echo "127.0.0.1 vaultwarden.tips-of-mine.com" | sudo tee -a /etc/hosts
- name: Print Docker Compose services status
run: docker ps
@ -39,7 +44,7 @@ jobs:
- name: Wait for the application to be ready via Traefik
run: |
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://vaultwarden.tips-of-mine.com"; do echo "Waiting for the application to be ready..."; sleep 10; done'
- name: Inspect Network Configuration
run: |
@ -54,4 +59,4 @@ jobs:
if: always()
run: |
docker compose --profile setup down
rm -rf /workspace/tips-of-mine/metabase/*
rm -rf /workspace/tips-of-mine/vaultwarden/*

View File

@ -14,11 +14,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
- name: Checkout
uses: actions/checkout@v4
# https://github.com/docker/setup-qemu-action#usage
- name: Set up QEMU
uses: docker/setup-qemu-action@v3.2.0
# https://github.com/marketplace/actions/docker-setup-buildx
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
id: buildx
uses: docker/setup-buildx-action@v3.6.1
- name: Create necessary Docker networks
run: |