Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Strokov <pstrokov@gitlab.com>2020-07-29 11:42:38 +0300
committerPavlo Strokov <pstrokov@gitlab.com>2020-07-29 11:42:38 +0300
commit36437f18b1808909de55268baf894390af6c1701 (patch)
tree2a0098afff779a5dd20db7d4596469c72841aa8c
parent1a1445409ddb85cf0754caa32a284128642d2576 (diff)
PgBouncer deployment with terraform
Terraform requires a new module to be installed: pgbouncer In order to install all required modules automatically the `terraform get` command added to main script. The command installs all missed dependencies recursively. Closes: https://gitlab.com/gitlab-org/gitaly/-/issues/2975
-rwxr-xr-x_support/terraform/create-demo-cluster2
1 files changed, 2 insertions, 0 deletions
diff --git a/_support/terraform/create-demo-cluster b/_support/terraform/create-demo-cluster
index 3f4ea6883..da352cb72 100755
--- a/_support/terraform/create-demo-cluster
+++ b/_support/terraform/create-demo-cluster
@@ -14,6 +14,8 @@ def main
run!(%w[gcloud auth application-default login])
end
+ run!(%w[terraform get])
+
unless terraform_initialized?
run!(%w[terraform init])
end