From a49384951be1f4b2f1c5ef70b2dd2d1482bae6a2 Mon Sep 17 00:00:00 2001 From: Thanachon Date: Sat, 6 Jan 2024 18:17:27 +0700 Subject: [PATCH] deploy: 10th deployment on Digitalocean (#144) --- .github/workflows/deploy-client.yaml | 2 +- .github/workflows/deploy-expiration.yaml | 2 +- .github/workflows/deploy-manifests.yaml | 2 +- .github/workflows/deploy-order.yaml | 2 +- .github/workflows/deploy-payment.yaml | 2 +- .github/workflows/deploy-product.yaml | 2 +- .github/workflows/deploy-user.yml | 2 +- trigger-deploy.txt | 2 +- trigger-manifest.txt | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-client.yaml b/.github/workflows/deploy-client.yaml index c825728a..87340133 100644 --- a/.github/workflows/deploy-client.yaml +++ b/.github/workflows/deploy-client.yaml @@ -38,7 +38,7 @@ jobs: token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN}} # give credential to k8s cluster - - run: doctl kubernetes cluster kubeconfig save aurapan-k8s-cluster + - run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster # restart deployment - run: kubectl rollout restart deployment client-depl diff --git a/.github/workflows/deploy-expiration.yaml b/.github/workflows/deploy-expiration.yaml index d63594d2..9609023a 100644 --- a/.github/workflows/deploy-expiration.yaml +++ b/.github/workflows/deploy-expiration.yaml @@ -38,7 +38,7 @@ jobs: token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} # give credential to k8s cluster - - run: doctl kubernetes cluster kubeconfig save aurapan-k8s-cluster + - run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster # restart deployment - run: kubectl rollout restart deployment expiration-depl diff --git a/.github/workflows/deploy-manifests.yaml b/.github/workflows/deploy-manifests.yaml index bc196950..8c474b49 100644 --- a/.github/workflows/deploy-manifests.yaml +++ b/.github/workflows/deploy-manifests.yaml @@ -26,7 +26,7 @@ jobs: token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} # use and cliententicate doctl - - run: doctl kubernetes cluster kubeconfig save aurapan-k8s-cluster + - run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster # apply deployment yaml files (k8s-prod is for production!) - run: kubectl apply -f infra/k8s && kubectl apply -f infra/k8s-prod diff --git a/.github/workflows/deploy-order.yaml b/.github/workflows/deploy-order.yaml index 21ebbf13..79086805 100644 --- a/.github/workflows/deploy-order.yaml +++ b/.github/workflows/deploy-order.yaml @@ -38,7 +38,7 @@ jobs: token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} # give credential to k8s cluster - - run: doctl kubernetes cluster kubeconfig save aurapan-k8s-cluster + - run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster # restart deployment - run: kubectl rollout restart deployment order-depl diff --git a/.github/workflows/deploy-payment.yaml b/.github/workflows/deploy-payment.yaml index 2a7a1d4d..9fe0bfa2 100644 --- a/.github/workflows/deploy-payment.yaml +++ b/.github/workflows/deploy-payment.yaml @@ -38,7 +38,7 @@ jobs: token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} # give credential to k8s cluster - - run: doctl kubernetes cluster kubeconfig save aurapan-k8s-cluster + - run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster # restart deployment - run: kubectl rollout restart deployment payment-depl diff --git a/.github/workflows/deploy-product.yaml b/.github/workflows/deploy-product.yaml index 6de5edeb..96a076c5 100644 --- a/.github/workflows/deploy-product.yaml +++ b/.github/workflows/deploy-product.yaml @@ -38,7 +38,7 @@ jobs: token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} # give credential to k8s cluster - - run: doctl kubernetes cluster kubeconfig save aurapan-k8s-cluster + - run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster # restart deployment - run: kubectl rollout restart deployment product-depl diff --git a/.github/workflows/deploy-user.yml b/.github/workflows/deploy-user.yml index 18961f0b..9912a607 100644 --- a/.github/workflows/deploy-user.yml +++ b/.github/workflows/deploy-user.yml @@ -38,7 +38,7 @@ jobs: token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} # give credential to k8s cluster - - run: doctl kubernetes cluster kubeconfig save aurapan-k8s-cluster + - run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster # restart deployment - run: kubectl rollout restart deployment user-depl diff --git a/trigger-deploy.txt b/trigger-deploy.txt index 9480f8a2..6d383198 100644 --- a/trigger-deploy.txt +++ b/trigger-deploy.txt @@ -1 +1 @@ -redeploy... +redeploy. diff --git a/trigger-manifest.txt b/trigger-manifest.txt index 9e27a475..fff7240c 100644 --- a/trigger-manifest.txt +++ b/trigger-manifest.txt @@ -1 +1 @@ -trigger... +trigger.