Skip to content

Commit

Permalink
Merge pull request #140 from thasup/dev
Browse files Browse the repository at this point in the history
deploy: change k8s cluster name
  • Loading branch information
thasup committed Aug 25, 2023
2 parents cdde0e0 + 968468b commit 9ba45cc
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN}}

# give credential to k8s cluster
- run: doctl kubernetes cluster kubeconfig save aurapan-cluster
- run: doctl kubernetes cluster kubeconfig save covid-cluster-5

# restart deployment
- run: kubectl rollout restart deployment client-depl
2 changes: 1 addition & 1 deletion .github/workflows/deploy-expiration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

# give credential to k8s cluster
- run: doctl kubernetes cluster kubeconfig save aurapan-cluster
- run: doctl kubernetes cluster kubeconfig save covid-cluster-5

# restart deployment
- run: kubectl rollout restart deployment expiration-depl
2 changes: 1 addition & 1 deletion .github/workflows/deploy-manifests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

# use and cliententicate doctl
- run: doctl kubernetes cluster kubeconfig save aurapan-cluster
- run: doctl kubernetes cluster kubeconfig save covid-cluster-5

# apply deployment yaml files (k8s-prod is for production!)
- run: kubectl apply -f infra/k8s && kubectl apply -f infra/k8s-prod
2 changes: 1 addition & 1 deletion .github/workflows/deploy-order.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

# give credential to k8s cluster
- run: doctl kubernetes cluster kubeconfig save aurapan-cluster
- run: doctl kubernetes cluster kubeconfig save covid-cluster-5

# restart deployment
- run: kubectl rollout restart deployment order-depl
2 changes: 1 addition & 1 deletion .github/workflows/deploy-payment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

# give credential to k8s cluster
- run: doctl kubernetes cluster kubeconfig save aurapan-cluster
- run: doctl kubernetes cluster kubeconfig save covid-cluster-5

# restart deployment
- run: kubectl rollout restart deployment payment-depl
2 changes: 1 addition & 1 deletion .github/workflows/deploy-product.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

# give credential to k8s cluster
- run: doctl kubernetes cluster kubeconfig save aurapan-cluster
- run: doctl kubernetes cluster kubeconfig save covid-cluster-5

# restart deployment
- run: kubectl rollout restart deployment product-depl
2 changes: 1 addition & 1 deletion .github/workflows/deploy-user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

# give credential to k8s cluster
- run: doctl kubernetes cluster kubeconfig save aurapan-cluster
- run: doctl kubernetes cluster kubeconfig save covid-cluster-5

# restart deployment
- run: kubectl rollout restart deployment user-depl
2 changes: 1 addition & 1 deletion trigger-deploy.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
redeploy...
redeploy..
2 changes: 1 addition & 1 deletion trigger-manifest.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
trigger...
trigger..

0 comments on commit 9ba45cc

Please sign in to comment.