File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 push :
66 branches :
77 - master
8+ - deploy/gcp
89
910 workflow_dispatch :
1011
@@ -76,16 +77,38 @@ jobs:
7677
7778 runs-on : ubuntu-latest
7879 env :
79- namespace : cranecloud-microservice
80+ namespace : cranecloud
8081 image : cranecloud/monitoring-api
8182
8283 steps :
8384 - name : Checkout code
8485 uses : actions/checkout@v2
8586
86- - uses : azure/k8s-set-context@v1
87+ # - uses: azure/k8s-set-context@v1
88+ # with:
89+ # kubeconfig: ${{ secrets.RENU_KUBECONFIG}}
90+
91+ - name : Login (GCP)
92+ uses : google-github-actions/auth@v0
93+ with :
94+ credentials_json : ${{ secrets.CREDENTIALS_JSON }}
95+
96+ - name : Install (Gcloud)
97+ uses : google-github-actions/setup-gcloud@v1
98+ with :
99+ project_id : crane-cloud-274413
100+ install_components : " gke-gcloud-auth-plugin"
101+
102+ - name : Login (Kubernetes Cluster)
103+ uses : google-github-actions/get-gke-credentials@v1
87104 with :
88- kubeconfig : ${{ secrets.RENU_KUBECONFIG}}
105+ cluster_name : staging-cluster
106+ location : us-central1-a
107+ project_id : crane-cloud-274413
108+
109+ # - name: Add Repo (cranecloud)
110+ # run: |
111+ # helm repo add cranecloud https://crane-cloud.github.io/helm-charts/
89112
90113 - name : Helm Release
91114 run : |
You can’t perform that action at this time.
0 commit comments