Skip to content

Commit

Permalink
remove staging sql instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Laurin-Notemann committed Nov 27, 2024
1 parent 219beee commit db9f370
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/api-staging-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ jobs:
service: "api-springboot-staging"
image: "europe-west10-docker.pkg.dev/beer-pong-441815/api-beerpong/api-staging:${{ github.sha }}"
region: europe-west10
flags: "--port=8080 --add-cloudsql-instances=beer-pong-441815:europe-west10:beerpong-staging-db --no-cpu-throttling --min-instances 0 --max-instances 1 --allow-unauthenticated"
flags: "--port=8080 --add-cloudsql-instances=beer-pong-441815:europe-west10:api-beerpong-pg --no-cpu-throttling --min-instances 0 --max-instances 1 --allow-unauthenticated"
env_vars: |
POSTGRES_USER=postgres
POSTGRES_URL=jdbc:postgresql:///beerpong?cloudSqlInstance=beer-pong-441815:europe-west10:beerpong-staging-db&socketFactory=com.google.cloud.sql.postgres.SocketFactory
POSTGRES_URL=jdbc:postgresql:///beerpong-staging?cloudSqlInstance=beer-pong-441815:europe-west10:api-beerpong-pg&socketFactory=com.google.cloud.sql.postgres.SocketFactory
API_BASE_URL=https://beerpong.lb.staging.laurinnotemann.dev
secrets: |-
POSTGRES_PASSWORD=api-staging-postrgres-password:latest
POSTGRES_PASSWORD=api-pg-password:latest

0 comments on commit db9f370

Please sign in to comment.