Skip to content

Commit

Permalink
update redis & sql to include a customizeable port (#652)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmyMi authored Jun 1, 2022
1 parent 5be4371 commit 3e7697a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cloudbuild-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ steps:
- --set-env-vars=ASPNETCORE_ENVIRONMENT=$_ASPNETCORE_ENVIRONMENT
- --set-env-vars=Elasticsearch__User=webapi
- --set-env-vars=ConnectionStringsOverride__DefaultConnection__UserId=api
- --set-env-vars=ConnectionStringsOverride__DefaultConnection__Port=$_SQL_PORT
- --set-env-vars=GoogleCloudPlatform__Storage__OosImages__BucketName=$_BUCKET
- --set-env-vars=Redis__Server=$_REDIS_HOST
- --set-env-vars=Redis__Port=$_REDIS_PORT
- --set-secrets=ConnectionStringsOverride__DefaultConnection__Password=$_DB_PASS,Elasticsearch__Password=$_ES_PASSWORD,Redis__Password=$_REDIS_PASS
- --no-use-http2
# Clean old versions except previous Cloud Run
Expand Down
1 change: 1 addition & 0 deletions cloudbuild-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ steps:
- --set-env-vars=ASPNETCORE_ENVIRONMENT=$_ASPNETCORE_ENVIRONMENT
- --set-env-vars=Email__AddressFrom=$_SENDER_EMAIL
- --set-env-vars=ConnectionStringsOverride__DefaultConnection__UserId=oos
- --set-env-vars=ConnectionStringsOverride__DefaultConnection__Port=$_SQL_PORT
- --set-secrets=ConnectionStringsOverride__DefaultConnection__Password=$_DB_PASS,Email__SendGridKey=$_SENDGRID_KEY
# Disable http2 because prod will be http1.1 for now
- --no-use-http2
Expand Down

0 comments on commit 3e7697a

Please sign in to comment.