From 15efaf8691d9de01976b4a4a56dc64a130f092d8 Mon Sep 17 00:00:00 2001 From: Eunsu Kang <56429615+ssupecial@users.noreply.github.com> Date: Thu, 30 May 2024 00:13:17 +0900 Subject: [PATCH] fix(infra): start and restart all containers except for start-up containers (#53) --- .github/workflows/update-stage.yml | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/update-stage.yml b/.github/workflows/update-stage.yml index a361cbd..7a46201 100644 --- a/.github/workflows/update-stage.yml +++ b/.github/workflows/update-stage.yml @@ -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: |