Skip to content

Commit 35636ff

Browse files
committed
fix(engine): backport of fixing direct URLs in tests
1 parent 5d0019b commit 35636ff

5 files changed

+10
-10
lines changed

test/1.synthetic.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ metaDir="$HOME/.dblab/engine/meta"
7474
# Copy the contents of configuration example
7575
mkdir -p "${configDir}"
7676

77-
curl https://gitlab.com/postgres-ai/database-lab/-/raw/"${CI_COMMIT_BRANCH:-master}"/configs/config.example.logical_generic.yml \
77+
curl https://gitlab.com/postgres-ai/database-lab/-/raw/"${CI_COMMIT_BRANCH:-master}"/engine/configs/config.example.logical_generic.yml \
7878
--output "${configDir}/server.yml"
7979

8080
# Edit the following options
@@ -136,7 +136,7 @@ check_dle_readiness || (echo "Database Lab Engine is not ready" && exit 1)
136136
### Step 3. Start cloning
137137

138138
# Install Database Lab client CLI
139-
curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/scripts/cli_install.sh | bash
139+
curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/engine/scripts/cli_install.sh | bash
140140
sudo mv ~/.dblab/dblab /usr/local/bin/dblab
141141

142142
dblab --version

test/2.logical_generic.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ metaDir="$HOME/.dblab/engine/meta"
8080
# Copy the contents of configuration example
8181
mkdir -p "${configDir}"
8282

83-
curl https://gitlab.com/postgres-ai/database-lab/-/raw/"${CI_COMMIT_BRANCH:-master}"/configs/config.example.logical_generic.yml \
83+
curl https://gitlab.com/postgres-ai/database-lab/-/raw/"${CI_COMMIT_BRANCH:-master}"/engine/configs/config.example.logical_generic.yml \
8484
--output "${configDir}/server.yml"
8585

8686
# Edit the following options
@@ -147,7 +147,7 @@ check_dle_readiness || (echo "Database Lab Engine is not ready" && exit 1)
147147
### Step 3. Start cloning
148148

149149
# Install Database Lab client CLI
150-
curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/scripts/cli_install.sh | bash
150+
curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/engine/scripts/cli_install.sh | bash
151151
sudo mv ~/.dblab/dblab /usr/local/bin/dblab
152152

153153
dblab --version

test/3.physical_walg.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ metaDir="$HOME/.dblab/engine/meta"
4040
# Copy the contents of configuration example
4141
mkdir -p "${configDir}"
4242

43-
curl https://gitlab.com/postgres-ai/database-lab/-/raw/"${CI_COMMIT_BRANCH:-master}"/configs/config.example.physical_walg.yml \
43+
curl https://gitlab.com/postgres-ai/database-lab/-/raw/"${CI_COMMIT_BRANCH:-master}"/engine/configs/config.example.physical_walg.yml \
4444
--output "${configDir}/server.yml"
4545

4646
# Edit the following options
@@ -156,7 +156,7 @@ check_dle_readiness || (echo "Database Lab Engine is not ready" && exit 1)
156156
### Step 3. Start cloning
157157

158158
# Install Database Lab client CLI
159-
curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/scripts/cli_install.sh | bash
159+
curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/engine/scripts/cli_install.sh | bash
160160
sudo mv ~/.dblab/dblab /usr/local/bin/dblab
161161

162162
dblab --version

test/4.physical_basebackup.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ metaDir="$HOME/.dblab/engine/meta"
9595
# Copy the contents of configuration example
9696
mkdir -p "${configDir}"
9797

98-
curl https://gitlab.com/postgres-ai/database-lab/-/raw/"${CI_COMMIT_BRANCH:-master}"/configs/config.example.physical_generic.yml \
98+
curl https://gitlab.com/postgres-ai/database-lab/-/raw/"${CI_COMMIT_BRANCH:-master}"/engine/configs/config.example.physical_generic.yml \
9999
--output "${configDir}/server.yml"
100100

101101
# Edit the following options
@@ -169,7 +169,7 @@ check_dle_readiness || (echo "Database Lab Engine is not ready" && exit 1)
169169
### Step 3. Start cloning
170170

171171
# Install Database Lab client CLI
172-
curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/scripts/cli_install.sh | bash
172+
curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/engine/scripts/cli_install.sh | bash
173173
sudo mv ~/.dblab/dblab /usr/local/bin/dblab
174174

175175
dblab --version

test/5.logical_rds.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ metaDir="$HOME/.dblab/engine/meta"
3636
# Copy the contents of configuration example
3737
mkdir -p "${configDir}"
3838

39-
curl https://gitlab.com/postgres-ai/database-lab/-/raw/"${CI_COMMIT_BRANCH:-master}"/configs/config.example.logical_rds_iam.yml \
39+
curl https://gitlab.com/postgres-ai/database-lab/-/raw/"${CI_COMMIT_BRANCH:-master}"/engine/configs/config.example.logical_rds_iam.yml \
4040
--output "${configDir}/server.yml"
4141

4242
# Edit the following options
@@ -109,7 +109,7 @@ check_dle_readiness || (echo "Database Lab Engine is not ready" && exit 1)
109109
### Step 3. Start cloning
110110

111111
# Install Database Lab client CLI
112-
curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/scripts/cli_install.sh | bash
112+
curl https://gitlab.com/postgres-ai/database-lab/-/raw/master/engine/scripts/cli_install.sh | bash
113113
sudo mv ~/.dblab/dblab /usr/local/bin/dblab
114114

115115
dblab --version

0 commit comments

Comments
 (0)