Skip to content

Commit 4c8f8b0

Browse files
Merge branch 'main' into staging
2 parents 13a2999 + efa3e21 commit 4c8f8b0

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/cd-staging.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ jobs:
3131
secret/data/github_actions_deployment_secrets GH_PAT | GH_PAT ;
3232
secret/data/github_actions_deployment_secrets GKE_CLUSTER | GKE_CLUSTER ;
3333
secret/data/github_actions_deployment_secrets GKE_ZONE | GKE_ZONE ;
34-
- name: Setup Google Cloud CLI
34+
35+
- name: Setup Google Cloud CLI
3536
uses: google-github-actions/setup-gcloud@v0.2.1
3637
with:
3738
service_account_key: ${{ steps.import_secrets.outputs.GCP_SA_KEY }}
@@ -86,9 +87,11 @@ jobs:
8687
- staging.backend.dados.rio
8788
secretName: staging-backend-dados-rio-tls
8889
EOF
90+
8991
- name: Deploy using Helm
9092
run: |
9193
helm upgrade --install staging-backend charts/basedosdados-api/. -n staging-backend-dados-rio -f values.yaml --wait
94+
9295
deploy-staging:
9396
runs-on: ubuntu-latest
9497
if: ${{ github.event.workflow_run.conclusion == 'success' }}
@@ -113,7 +116,8 @@ jobs:
113116
secret/data/gcp_credentials/basedosdados-dev GH_ACTIONS_SA | GCP_SA ;
114117
secret/data/gcp_credentials/basedosdados-dev GKE_CLUSTER_NAME | GKE_CLUSTER_NAME ;
115118
secret/data/gcp_credentials/basedosdados-dev GKE_CLUSTER_ZONE | GKE_CLUSTER_ZONE ;
116-
- name: Setup Google Cloud CLI
119+
120+
- name: Setup Google Cloud CLI
117121
uses: google-github-actions/setup-gcloud@v0.2.1
118122
with:
119123
service_account_key: ${{ steps.import_secrets.outputs.GCP_SA }}
@@ -168,6 +172,7 @@ jobs:
168172
- staging.api.basedosdados.org
169173
secretName: staging-api-basedosdados-org-tls
170174
EOF
171-
- name: Deploy using Helm
175+
176+
- name: Deploy using Helm
172177
run: |
173178
helm upgrade --install api-staging charts/basedosdados-api/. -n website -f values.yaml --wait

0 commit comments

Comments
 (0)