summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2019-02-22 17:22:35 -0600
committerDylan Griffith <dyl.griffith@gmail.com>2019-02-22 17:26:43 -0600
commit2f599abab08fb262ce185b4f4edbd7eb930bd432 (patch)
tree11c3f84f15b07207a3f19de37337e502a7d710b4 /lib
parent459276846372d8309220a5667cb4389dcfc66281 (diff)
downloadgitlab-ce-2f599abab08fb262ce185b4f4edbd7eb930bd432.tar.gz
Allow configuring POSTGRES_VERSION in Auto DevOps
We set the default value to 9.6.2 since this was the previous default being used by `stable/postgresql --version=0.7.1` which is used in auto-deploy-app.
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml b/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
index 527a432d72d..328a5be6e4c 100644
--- a/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
+++ b/lib/gitlab/ci/templates/Auto-DevOps.gitlab-ci.yml
@@ -48,6 +48,7 @@ variables:
POSTGRES_PASSWORD: testing-password
POSTGRES_ENABLED: "true"
POSTGRES_DB: $CI_ENVIRONMENT_SLUG
+ POSTGRES_VERSION: 9.6.2
KUBERNETES_VERSION: 1.11.6
HELM_VERSION: 2.12.2
@@ -700,6 +701,7 @@ rollout 100%:
--set postgresql.postgresUser="$POSTGRES_USER" \
--set postgresql.postgresPassword="$POSTGRES_PASSWORD" \
--set postgresql.postgresDatabase="$POSTGRES_DB" \
+ --set postgresql.imageTag="$POSTGRES_VERSION" \
--set application.initializeCommand="$DB_INITIALIZE" \
--namespace="$KUBE_NAMESPACE" \
"$name" \