From bdac2e182c344debb220755ef0298bdad81f050c Mon Sep 17 00:00:00 2001 From: Mubangizi Allan Date: Fri, 24 Apr 2026 06:58:16 +0300 Subject: [PATCH] update staging app host server --- .github/workflows/staging.yml | 39 +++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 6b03f24..4134b3e 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -5,6 +5,7 @@ on: push: branches: - master + - ch-update-host-server workflow_dispatch: @@ -80,30 +81,32 @@ jobs: image: cranecloud/monitoring-api steps: + # --- RENU DEPLOYEMENT --- - name: Checkout code uses: actions/checkout@v2 - # - uses: azure/k8s-set-context@v1 - # with: - # kubeconfig: ${{ secrets.RENU_KUBECONFIG}} - - - name: Login (GCP) - uses: google-github-actions/auth@v0 + - uses: azure/k8s-set-context@v1 with: - credentials_json: ${{ secrets.CREDENTIALS_JSON }} + kubeconfig: ${{ secrets.RENU_KUBECONFIG}} - - name: Install (Gcloud) - uses: google-github-actions/setup-gcloud@v1 - with: - project_id: crane-cloud-274413 - install_components: "gke-gcloud-auth-plugin" + # --- GCP DEPLOYEMENT --- + # - name: Login (GCP) + # uses: google-github-actions/auth@v0 + # with: + # credentials_json: ${{ secrets.CREDENTIALS_JSON }} - - name: Login (Kubernetes Cluster) - uses: google-github-actions/get-gke-credentials@v1 - with: - cluster_name: staging-cluster - location: us-central1-a - project_id: crane-cloud-274413 + # - name: Install (Gcloud) + # uses: google-github-actions/setup-gcloud@v1 + # with: + # project_id: crane-cloud-274413 + # install_components: "gke-gcloud-auth-plugin" + + # - name: Login (Kubernetes Cluster) + # uses: google-github-actions/get-gke-credentials@v1 + # with: + # cluster_name: staging-cluster + # location: us-central1-a + # project_id: crane-cloud-274413 - name: Add Repo (cranecloud) run: |