Skip to content

Commit

Permalink
deploy: 10th deployment on Digitalocean (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
thasup committed Jan 6, 2024
1 parent f0bcfb8 commit a493849
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-k8s-cluster
- run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster

# 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-k8s-cluster
- run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster

# 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-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
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-k8s-cluster
- run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster

# 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-k8s-cluster
- run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster

# 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-k8s-cluster
- run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster

# 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-k8s-cluster
- run: doctl kubernetes cluster kubeconfig save my-9th-aurapan-cluster

# 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 a493849

Please sign in to comment.