Skip to content

Commit

Permalink
Merge pull request #1634 from atsign-foundation/fix/root_deployment_i…
Browse files Browse the repository at this point in the history
…ssue

fix: root deployment issue
  • Loading branch information
cpswan authored Oct 20, 2023
2 parents 8bbda85 + 5fc730b commit 83e0a1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/at_server_dev_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
push: true
tags: |
atsigncompany/root:dev_env
atsigncompany/root:dev_env-gha${{ github.run_number }}
atsigncompany/root:dev_env-${{ env.BRANCH }}-gha${{ github.run_number }}
Deploy_On_Dev_K8:
Expand Down Expand Up @@ -68,4 +69,4 @@ jobs:
# Deploy the Docker image to the GKE cluster
- name: Deploy
run: |-
kubectl -n root set image statefulset root root=atsigncompany/root:dev_env
kubectl -n root set image statefulset root root=atsigncompany/root:dev_env-gha${{ github.run_number }}
6 changes: 4 additions & 2 deletions .github/workflows/at_server_prod_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
push: true
tags: |
atsigncompany/root:prod
atsigncompany/root:prod-gha${{ github.run_number }}
atsigncompany/root:prod-${{ env.BRANCH }}-gha${{ github.run_number }}
Deploy_On_Prod_K8:
Expand Down Expand Up @@ -65,7 +66,8 @@ jobs:
cluster_name: ${{ secrets.GKE_PROD_CLUSTER }}
location: ${{ secrets.GKE_PROD_ZONE }}

# Deploy the Docker image to the GKE cluster
# Deploy the Docker image to the GKE cluster
- name: Deploy
run: |-
kubectl -n root set image deployment/root root=atsigncompany/root:prod
kubectl -n root set image deployment/root root=atsigncompany/root:prod-gha${{ github.run_number }}
kubectl rollout restart deployment root -n root

0 comments on commit 83e0a1b

Please sign in to comment.