Skip to content

Commit

Permalink
UPD: add port and use correct pg host
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurin-Notemann committed May 21, 2024
1 parent 41a415c commit ab950d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cd-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,14 @@ jobs:
service: 'backstage-deployment'
image: 'europe-west10-docker.pkg.dev/code-idp/backstage-deploy/backstage-image:${{ github.sha }}'
region: europe-west10
flags: '--port=7007'
env_vars: |
key=value
POSTGRES_HOST=code-idp:europe-west10-backstage-pg
POSTGRES_HOST=34.32.39.175
POSTGRES_PORT=5432
POSTGRES_USER=postgres
BASE_URL=https://example.com
BASE_URL=backstage.foundations-software-engineering.com
secrets: |-
POSTGRES_PASSWORD=postgres-password:latest
# GITHUB_TOKEN=GITHUB_TOKEN
#GOOGLE_CLIENT_ID=aslkdjf
#GOOGLE_CLIENT_SECRET=fkajsdlf
GITHUB_TOKEN=github_token:latest
GOOGLE_CLIENT_ID=google_client_id:latest
GOOGLE_CLIENT_SECRET=google_client_secret:latest
6 changes: 1 addition & 5 deletions app-config.docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ auth:
# see https://backstage.io/docs/auth/ to learn about auth providers
environment: development
providers:
github:
development:
clientId: ${GITHUB_CLIENT_ID}
clientSecret: ${GITHUB_CLIENT_SECRET}
google:
development:
clientId: ${GOOGLE_CLIENT_ID}
clientSecret: ${GOOGLE_CLIENT_SECRET}
clientSecret: ${GOOGLE_CLIENT_SECRET}

0 comments on commit ab950d1

Please sign in to comment.