Skip to content

Commit 294a75c

Browse files
authored
UPD: Update cd-workflow.yaml (#84)
1 parent 40798c8 commit 294a75c

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/cd-workflow.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,21 @@ jobs:
108108
service: ${{ secrets.GCP_CLOUD_RUN_SERVICE }}
109109
image: ${{ secrets.GCP_GAR_REPO }}/backstage-image:${{ github.sha }}
110110
region: ${{ secrets.GCP_REGION }}
111-
flags: >
112-
--allow-unauthenticated
111+
flags: '--port=7007 --add-cloudsql-instances=code-idp:europe-west10:backstage-pg'
113112
env_vars: |
113+
POSTGRES_HOST=/cloudsql/code-idp:europe-west10:backstage-pg
114+
POSTGRES_PORT=5432
115+
POSTGRES_USER=postgres
116+
POSTGRES_DB=postgres
114117
BASE_URL=https://backstage.foundations-software-engineering.com
118+
secrets: |
119+
POSTGRES_PASSWORD=postgres-password:latest
120+
GITHUB_TOKEN=github_token:latest
121+
GOOGLE_CLIENT_ID=google_client_id:latest
122+
GOOGLE_CLIENT_SECRET=google_client_secret:latest
123+
GITHUB_CLIENT_SECRET=github_client_secret:latest
124+
PROD_GITHUB_TOKEN=prod_github_token:latest
125+
PROD_GITHUB_CLIENT_SECRET=prod_github_client_secret:latest
126+
GITLAB_TOKEN=gitlab_token:latest
127+
TECHDOCS_GCS_CREDENTIALS=techdocs_gcs_credentials:latest
128+

0 commit comments

Comments
 (0)