Skip to content

Commit

Permalink
Adjust all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ARIC LASRY authored and ARIC LASRY committed Nov 27, 2023
1 parent ef07664 commit 199d648
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 84 deletions.
55 changes: 0 additions & 55 deletions .github/workflows/build-alerting-temporal.yml

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/deploy-blog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
- name: Build the image on Cloud Build
run: |
chmod +x ./k8s/cloud-build.sh
./k8s/cloud-build.sh blog
./k8s/cloud-build.sh blog ./Dockerfile ./blog/
- name: Deploy the image on Kubernetes
run: |
chmod +x ./k8s/deploy-image.sh
./k8s/deploy-image.sh gcr.io/$GCLOUD_PROJECT_ID/blog-image:${{ steps.short_sha.outputs.short_sha }} blog-deployment
# - name: Deploy the image on Kubernetes
# run: |
# chmod +x ./k8s/deploy-image.sh
# ./k8s/deploy-image.sh gcr.io/$GCLOUD_PROJECT_ID/blog-image:${{ steps.short_sha.outputs.short_sha }} blog-deployment

- name: Wait for rollout to complete
run: kubectl rollout status deployment/blog-deployment --timeout=10m
# - name: Wait for rollout to complete
# run: kubectl rollout status deployment/blog-deployment --timeout=10m
18 changes: 9 additions & 9 deletions .github/workflows/deploy-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ jobs:
- name: Build the image on Cloud Build
run: |
chmod +x ./k8s/cloud-build.sh
./k8s/cloud-build.sh core
./k8s/cloud-build.sh core ./Dockerfile ./core/
- name: Deploy the image on Kubernetes
run: |
chmod +x ./k8s/deploy-image.sh
./k8s/deploy-image.sh gcr.io/$GCLOUD_PROJECT_ID/core-image:${{ steps.short_sha.outputs.short_sha }} core-deployment
# - name: Deploy the image on Kubernetes
# run: |
# chmod +x ./k8s/deploy-image.sh
# ./k8s/deploy-image.sh gcr.io/$GCLOUD_PROJECT_ID/core-image:${{ steps.short_sha.outputs.short_sha }} core-deployment

- name: Wait for rollout to complete
run: |
echo "Waiting for rollout to complete (web)"
kubectl rollout status deployment/core-deployment --timeout=10m
# - name: Wait for rollout to complete
# run: |
# echo "Waiting for rollout to complete (web)"
# kubectl rollout status deployment/core-deployment --timeout=10m
14 changes: 7 additions & 7 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
- name: Build the image on Cloud Build
run: |
chmod +x ./k8s/cloud-build.sh
./k8s/cloud-build.sh docs
./k8s/cloud-build.sh docs ./Dockerfile ./docs/
- name: Deploy the image on Kubernetes
run: |
chmod +x ./k8s/deploy-image.sh
./k8s/deploy-image.sh gcr.io/$GCLOUD_PROJECT_ID/docs-image:${{ steps.short_sha.outputs.short_sha }} docs-deployment
# - name: Deploy the image on Kubernetes
# run: |
# chmod +x ./k8s/deploy-image.sh
# ./k8s/deploy-image.sh gcr.io/$GCLOUD_PROJECT_ID/docs-image:${{ steps.short_sha.outputs.short_sha }} docs-deployment

- name: Wait for rollout to complete
run: kubectl rollout status deployment/docs-deployment --timeout=10m
# - name: Wait for rollout to complete
# run: kubectl rollout status deployment/docs-deployment --timeout=10m
12 changes: 6 additions & 6 deletions .github/workflows/deploy-front-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ jobs:
chmod +x ./k8s/cloud-build.sh
./k8s/cloud-build.sh front ./front/Dockerfile ./
- name: Deploy the image on Kubernetes
run: |
chmod +x ./k8s/deploy-image.sh
./k8s/deploy-image.sh gcr.io/$GCLOUD_PROJECT_ID/front-image:${{ steps.short_sha.outputs.short_sha }} front-edge-deployment
# - name: Deploy the image on Kubernetes
# run: |
# chmod +x ./k8s/deploy-image.sh
# ./k8s/deploy-image.sh gcr.io/$GCLOUD_PROJECT_ID/front-image:${{ steps.short_sha.outputs.short_sha }} front-edge-deployment

- name: Wait for rollout to complete
run: kubectl rollout status deployment/front-edge-deployment --timeout=10m
# - name: Wait for rollout to complete
# run: kubectl rollout status deployment/front-edge-deployment --timeout=10m

0 comments on commit 199d648

Please sign in to comment.