From adf06d8c12817afb8fd5dc410461e00cffdbbe25 Mon Sep 17 00:00:00 2001 From: Nam Gi Beom Date: Thu, 24 Oct 2024 16:25:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=AC=B4=EC=A4=91=EB=8B=A8=20=EB=B0=B0?= =?UTF-8?q?=ED=8F=AC=20github=20action=20v1.47=20#327?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/be-cd-prod.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/be-cd-prod.yml b/.github/workflows/be-cd-prod.yml index 477b7c56e..033d0e9f7 100644 --- a/.github/workflows/be-cd-prod.yml +++ b/.github/workflows/be-cd-prod.yml @@ -20,7 +20,7 @@ jobs: needs: [ build ] uses: ./.github/workflows/blue-green.yml with: - self_hosted_runner: prod-c # todo a + self_hosted_runner: prod-a artifact_name: ${{ needs.build.outputs.artifact_name }} jar_name: ${{ needs.build.outputs.jar_name }} profile: prod @@ -30,7 +30,7 @@ jobs: needs: [ build ] uses: ./.github/workflows/blue-green.yml with: - self_hosted_runner: prod-d # todo b + self_hosted_runner: prod-b artifact_name: ${{ needs.build.outputs.artifact_name }} jar_name: ${{ needs.build.outputs.jar_name }} profile: prod @@ -42,7 +42,7 @@ jobs: if: failure() && (needs.deploy-a.result == 'failure' || needs.deploy-b.result == 'failure') uses: ./.github/workflows/shutdown.yml with: - self_hosted_runner: prod-c # todo a + self_hosted_runner: prod-a port: ${{ needs.deploy-a.outputs.green_port }} rollback-b: @@ -51,7 +51,7 @@ jobs: if: failure() && (needs.deploy-a.result == 'failure' || needs.deploy-b.result == 'failure') uses: ./.github/workflows/shutdown.yml with: - self_hosted_runner: prod-d # todo b + self_hosted_runner: prod-b port: ${{ needs.deploy-b.outputs.green_port }} deploy-failure-notification: @@ -67,7 +67,7 @@ jobs: needs: [ deploy-a, deploy-b ] uses: ./.github/workflows/nginx-port-forwarding.yml with: - self_hosted_runner: prod-c # todo a + self_hosted_runner: prod-a app_path: ~/app old_port: ${{ needs.deploy-a.outputs.blue_port }} new_port: ${{ needs.deploy-a.outputs.green_port }} @@ -76,7 +76,7 @@ jobs: needs: [ deploy-a, deploy-b ] uses: ./.github/workflows/nginx-port-forwarding.yml with: - self_hosted_runner: prod-d # todo b + self_hosted_runner: prod-b app_path: ~/app old_port: ${{ needs.deploy-b.outputs.blue_port }} new_port: ${{ needs.deploy-b.outputs.green_port }} @@ -87,7 +87,7 @@ jobs: if: failure() && (needs.configure-nginx-a.result == 'failure' || needs.configure-nginx-b.result == 'failure') uses: ./.github/workflows/nginx-port-forwarding.yml with: - self_hosted_runner: prod-c # todo a + self_hosted_runner: prod-a app_path: ~/app old_port: ${{ needs.configure-nginx-a.outputs.new_port }} new_port: ${{ needs.configure-nginx-a.outputs.old_port }} @@ -99,7 +99,7 @@ jobs: if: failure() && (needs.configure-nginx-a.result == 'failure' || needs.configure-nginx-b.result == 'failure') uses: ./.github/workflows/nginx-port-forwarding.yml with: - self_hosted_runner: prod-d # todo b + self_hosted_runner: prod-b app_path: ~/app old_port: ${{ needs.configure-nginx-b.outputs.new_port }} new_port: ${{ needs.configure-nginx-b.outputs.old_port }} @@ -118,12 +118,12 @@ jobs: needs: [ configure-nginx-a, configure-nginx-b ] uses: ./.github/workflows/shutdown.yml with: - self_hosted_runner: prod-c # todo a + self_hosted_runner: prod-a port: ${{ needs.configure-nginx-a.outputs.old_port }} blue-shutdown-b: needs: [ configure-nginx-a, configure-nginx-b ] uses: ./.github/workflows/shutdown.yml with: - self_hosted_runner: prod-d # todo b + self_hosted_runner: prod-b port: ${{ needs.configure-nginx-b.outputs.old_port }}