Skip to content

Commit

Permalink
fix(infra): start and restart all containers except for start-up cont…
Browse files Browse the repository at this point in the history
…ainers (#53)
  • Loading branch information
ssupecial authored May 29, 2024
1 parent 914ba47 commit 15efaf8
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/update-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,18 @@ jobs:
echo EOF
} >> "$GITHUB_OUTPUT"
- name: when initial containers are not running, start all containers
- name: when initial containers are not running, start start-up containers
if: steps.check-start-up-container.outputs.stdout == ''
run: >
docker compose --profile start-up --profile log
--profile trace --profile metric up -d
docker compose --profile start-up up -d
- name: Restart containers for Log (Loki, Minio)
- name: Start all containers except for start-up
run: |
docker compose --profile log restart
docker compose --profile log --profile trace --profile metric up -d
- name: Restart containers Of Trace (Tempo, Minio)
- name: Restart all containers except for start-up
run: |
docker compose --profile trace restart
- name: Restart containers for Metric (Prometheus)
run: |
docker compose --profile metric restart
docker compose --profile log --profile trace --profile metric restart
- name: Set Caddyfile Environment Variables
run: |
Expand Down

0 comments on commit 15efaf8

Please sign in to comment.