Skip to content

Commit

Permalink
chore: update variables consumed in the app
Browse files Browse the repository at this point in the history
  • Loading branch information
saladgg committed Feb 7, 2024
1 parent c6590b4 commit 904f8f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
14 changes: 7 additions & 7 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
steps:
# Build the container image
# Build the container image.
- id: "build image"
name: "gcr.io/cloud-builders/docker"
args:
Expand All @@ -10,7 +10,7 @@ steps:
".",
]

# Push the container image to Container Registry
# Push the container image to Container Registry.
- id: "push image"
name: "gcr.io/cloud-builders/docker"
args:
Expand All @@ -19,7 +19,7 @@ steps:
"${_IMAGE_NAME}:$COMMIT_SHA"
]

# Apply the latest migrations
# Apply the latest migrations.
- id: "apply migrations"
name: "gcr.io/google-appengine/exec-wrapper"
args:
Expand Down Expand Up @@ -71,7 +71,7 @@ steps:
"--", "python", "/app/manage.py", "compress"
]

# Get credentials for the cluster
# Get credentials for the cluster.
- id: "get credentials for the cluster"
name: "gcr.io/cloud-builders/kubectl"
env:
Expand Down Expand Up @@ -113,11 +113,11 @@ steps:
- --set
- secret_manager.file_name=${_SETTINGS_NAME}
- --set
- django.env.django_settings_module=${_K8TS_DJANGO_SETTINGS_MODULE}
- django.env.django_settings_module=${_DJANGO_SETTINGS_MODULE}
- --set
- django.env.postgres_host=${_K8TS_PG_HOST}
- django.env.postgres_host=${_PG_BOUNCER_HOST}
- --set
- django.env.postgres_port=${_K8TS_PG_PORT}
- django.env.postgres_port=${_PG_BOUNCER_PORT}
- --set
- ingress.networking.domain=${_DOMAIN_NAME}
- --set
Expand Down
1 change: 0 additions & 1 deletion deploy/templates/03_django/01_confimap_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ spec:
--from-literal=POSTGRES_PORT="${K8TS_POSTGRES_PORT}" \
--from-literal=POSTGRES_PASSWORD="$POSTGRES_PASSWORD" \
--from-literal=POSTGRES_USER="$POSTGRES_USER" \
--from-literal=PUB_SUB_TOPIC="$PUB_SUB_TOPIC" \
--from-literal=SENTRY_DSN="$SENTRY_DSN" \
--from-literal=SENTRY_ENVIRONMENT="$SENTRY_ENVIRONMENT" \
--from-literal=USE_DOCKER="$USE_DOCKER" \
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ passenv =
POSTGRES_PASSWORD
POSTGRES_PORT
POSTGRES_USER
PUB_SUB_TOPIC
TEST_POSTGRES_DB
TEST_POSTGRES_HOST
TEST_POSTGRES_PASSWORD
Expand Down

0 comments on commit 904f8f2

Please sign in to comment.