File tree Expand file tree Collapse file tree 6 files changed +6
-14
lines changed Expand file tree Collapse file tree 6 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -293,12 +293,8 @@ retrieval:
293
293
# Limit defines how many snapshots should be hold.
294
294
limit : 4
295
295
296
- # Set environment variables here. See https://www.postgresql.org/docs/current/libpq-envars.html
296
+ # Passes custom environment variables to the promotion Docker container.
297
297
envs :
298
- PGUSER : " postgres"
299
- PGPASSWORD : " postgres"
300
- PGHOST : " source.hostname"
301
- PGPORT : 5432
302
298
303
299
cloning :
304
300
# Host that will be specified in database connection info for all clones
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ metaDir="$HOME/.dblab/engine/meta"
74
74
# Copy the contents of configuration example
75
75
mkdir -p " ${configDir} "
76
76
77
- curl https://gitlab.com/postgres-ai/database-lab/-/raw/" ${CI_COMMIT_BRANCH :- master} " /engine/configs/config.example.logical_generic.yml \
77
+ curl https://gitlab.com/postgres-ai/database-lab/-/raw/" ${TAG :- master} " /engine/configs/config.example.logical_generic.yml \
78
78
--output " ${configDir} /server.yml"
79
79
80
80
# Edit the following options
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ metaDir="$HOME/.dblab/engine/meta"
84
84
mkdir -p " ${configDir} "
85
85
mkdir -p " ${metaDir} "
86
86
87
- curl https://gitlab.com/postgres-ai/database-lab/-/raw/" ${CI_COMMIT_BRANCH :- master} " /engine/configs/config.example.logical_generic.yml \
87
+ curl https://gitlab.com/postgres-ai/database-lab/-/raw/" ${TAG :- master} " /engine/configs/config.example.logical_generic.yml \
88
88
--output " ${configDir} /server.yml"
89
89
90
90
# Edit the following options
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ metaDir="$HOME/.dblab/engine/meta"
40
40
# Copy the contents of configuration example
41
41
mkdir -p " ${configDir} "
42
42
43
- curl https://gitlab.com/postgres-ai/database-lab/-/raw/" ${CI_COMMIT_BRANCH :- master} " /engine/configs/config.example.physical_walg.yml \
43
+ curl https://gitlab.com/postgres-ai/database-lab/-/raw/" ${TAG :- master} " /engine/configs/config.example.physical_walg.yml \
44
44
--output " ${configDir} /server.yml"
45
45
46
46
# Edit the following options
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ metaDir="$HOME/.dblab/engine/meta"
98
98
# Copy the contents of configuration example
99
99
mkdir -p " ${configDir} "
100
100
101
- curl https://gitlab.com/postgres-ai/database-lab/-/raw/" ${CI_COMMIT_BRANCH :- master} " /engine/configs/config.example.physical_generic.yml \
101
+ curl https://gitlab.com/postgres-ai/database-lab/-/raw/" ${TAG :- master} " /engine/configs/config.example.physical_generic.yml \
102
102
--output " ${configDir} /server.yml"
103
103
104
104
# Edit the following options
@@ -115,10 +115,6 @@ yq eval -i '
115
115
.retrieval.spec.physicalRestore.options.envs.PGPASSWORD = strenv(SOURCE_PASSWORD) |
116
116
.retrieval.spec.physicalRestore.options.envs.PGHOST = strenv(SOURCE_HOST) |
117
117
.retrieval.spec.physicalRestore.options.envs.PGPORT = env(SOURCE_PORT) |
118
- .retrieval.spec.physicalSnapshot.options.envs.PGUSER = strenv(SOURCE_USERNAME) |
119
- .retrieval.spec.physicalSnapshot.options.envs.PGPASSWORD = strenv(SOURCE_PASSWORD) |
120
- .retrieval.spec.physicalSnapshot.options.envs.PGHOST = strenv(SOURCE_HOST) |
121
- .retrieval.spec.physicalSnapshot.options.envs.PGPORT = env(SOURCE_PORT) |
122
118
.retrieval.spec.physicalRestore.options.customTool.command = "pg_basebackup -X stream -D " + strenv(DLE_TEST_MOUNT_DIR) + "/" + strenv(DLE_TEST_POOL_NAME) + "/data"
123
119
' " ${configDir} /server.yml"
124
120
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ metaDir="$HOME/.dblab/engine/meta"
36
36
# Copy the contents of configuration example
37
37
mkdir -p " ${configDir} "
38
38
39
- curl https://gitlab.com/postgres-ai/database-lab/-/raw/" ${CI_COMMIT_BRANCH :- master} " /engine/configs/config.example.logical_rds_iam.yml \
39
+ curl https://gitlab.com/postgres-ai/database-lab/-/raw/" ${TAG :- master} " /engine/configs/config.example.logical_rds_iam.yml \
40
40
--output " ${configDir} /server.yml"
41
41
42
42
# Edit the following options
You can’t perform that action at this time.
0 commit comments