File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -164,12 +164,6 @@ if [[ $(dblab snapshot list | jq length) -eq 0 ]] ; then
164164 echo " No snapshot found" && exit 1
165165fi
166166
167- dblab snapshot delete " $( dblab snapshot list | jq -r .[0].id) "
168-
169- if [[ $( dblab snapshot list | jq length) -ne 0 ]] ; then
170- echo " Snapshot has not been deleted" && exit 1
171- fi
172-
173167dblab snapshot create
174168
175169if [[ $( dblab snapshot list | jq length) -eq 0 ]] ; then
@@ -285,6 +279,18 @@ dblab snapshot list
285279
286280dblab switch main
287281
282+ dblab clone create \
283+ --username alice \
284+ --password secret_password_123 \
285+ --branch 001-branch \
286+ --id branchclone003 || (echo " Failed to create a clone on branch" && exit 1)
287+
288+ dblab commit --clone-id branchclone003 --message branchclone001 || (echo " Failed to create a snapshot" && exit 1)
289+
290+ dblab snapshot delete " $( dblab snapshot list | jq -r .[0].id) " || (echo " Failed to delete a snapshot" && exit 1)
291+
292+ dblab clone destroy branchclone003 || (echo " Failed to destroy clone" && exit 1)
293+
288294dblab branch --delete 001-branch || (echo " Failed to delete data branch" && exit 1)
289295
290296dblab branch
Original file line number Diff line number Diff line change @@ -67,8 +67,9 @@ e2e-ce-ui-test:
6767 - apt install -y curl libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
6868 - npm install -g wait-on
6969 - npm install -g pnpm
70+ - pnpm config set verify-store-integrity false
7071 # TODO: Set up caching.
71- # - pnpm config set store-dir /builds/postgres-ai/database-lab/.pnpm-store/
72+ # - pnpm config set store-dir /builds/postgres-ai/database-lab/.pnpm-store/
7273 script :
7374 - pnpm --dir ui/ --filter @postgres.ai/ce install
7475 - pnpm --dir ui/ --filter @postgres.ai/ce build
You can’t perform that action at this time.
0 commit comments