diff options
author | Toon Claes <toon@gitlab.com> | 2023-04-12 14:33:32 +0300 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2023-04-14 15:58:58 +0300 |
commit | 3583ade7eeb59d61332a8c6465afa9c0bbd3325f (patch) | |
tree | 1da4226bbbf9bf716870040900f6f3578041c436 /_support | |
parent | a0dbd18268dd8829f9a705daadf1b8928a3db3c3 (diff) |
ci: Build praefect config with envsubst
Instead of using Ruby, build the praefect config file with `envsubst`.
Diffstat (limited to '_support')
-rwxr-xr-x | _support/config.praefect.toml.ci-sql-test (renamed from _support/config.praefect.toml.ci-sql-test.erb) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_support/config.praefect.toml.ci-sql-test.erb b/_support/config.praefect.toml.ci-sql-test index fdd1081c1..5ac5a7963 100755 --- a/_support/config.praefect.toml.ci-sql-test.erb +++ b/_support/config.praefect.toml.ci-sql-test @@ -10,7 +10,7 @@ listen_addr = "127.0.0.1:2305" [database] # The following variables are defined in .gitlab-ci.yml. - host = '<%= ENV['PGHOST'] %>' - dbname = '<%= ENV['POSTGRES_DB'] %>' - user = '<%= ENV['PGUSER'] %>' + host = '${PGHOST}' + dbname = '${POSTGRES_DB}' + user = '${PGUSER}' sslmode = 'disable' |