Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 21 additions & 18 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
branches:
- master
- ch-update-host-server

workflow_dispatch:

Expand Down Expand Up @@ -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: |
Expand Down
Loading