diff --git a/.github/workflows/build-alerting-temporal.yml b/.github/workflows/build-alerting-temporal.yml deleted file mode 100644 index a33a9bbfe4bd..000000000000 --- a/.github/workflows/build-alerting-temporal.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Deploy Alerting Temporal - -on: - workflow_dispatch: - pull_request: - branches: - - aric-types_v4 - -concurrency: - group: deploy_alerting_temporal - cancel-in-progress: false - -env: - GCLOUD_PROJECT_ID: ${{ secrets.GCLOUD_PROJECT_ID }} - -jobs: - build-and-deploy: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Get short sha - id: short_sha - run: echo "short_sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT - - - name: "Authenticate with Google Cloud" - uses: "google-github-actions/auth@v1" - with: - credentials_json: "${{ secrets.GCLOUD_SA_KEY }}" - - - name: "Set up Cloud SDK" - uses: "google-github-actions/setup-gcloud@v1" - - - name: Install gke-gcloud-auth-plugin - run: | - gcloud components install gke-gcloud-auth-plugin - - - name: Setup kubectl - run: | - gcloud container clusters get-credentials dust-kube --region us-central1 - - - name: Build the image on Cloud Build - run: | - chmod +x ./k8s/cloud-build.sh - ./k8s/cloud-build.sh alerting-temporal ./alerting/temporal/Dockerfile ./alerting/temporal/ - - # - name: Deploy the image on Kubernetes - # run: | - # chmod +x ./k8s/deploy-image.sh - # ./k8s/deploy-image.sh gcr.io/$GCLOUD_PROJECT_ID/alerting-temporal-image:${{ steps.short_sha.outputs.short_sha }} alerting-temporal-deployment - - # - name: Wait for rollout to complete - # run: kubectl rollout status deployment/alerting-temporal-deployment --timeout=10m diff --git a/.github/workflows/deploy-blog.yml b/.github/workflows/deploy-blog.yml index 0f3c4de54c4a..24204932a9ea 100644 --- a/.github/workflows/deploy-blog.yml +++ b/.github/workflows/deploy-blog.yml @@ -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 diff --git a/.github/workflows/deploy-core.yml b/.github/workflows/deploy-core.yml index 2c62d70d91aa..4857a7d5911a 100644 --- a/.github/workflows/deploy-core.yml +++ b/.github/workflows/deploy-core.yml @@ -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 diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index dfe70a94e81c..485ae729647c 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -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 diff --git a/.github/workflows/deploy-front-edge.yml b/.github/workflows/deploy-front-edge.yml index 14404ca80d89..849b1c8b73e3 100644 --- a/.github/workflows/deploy-front-edge.yml +++ b/.github/workflows/deploy-front-edge.yml @@ -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