Skip to content

Commit bd871bc

Browse files
committed
fix(ci): use correct CLI command and run Node.js e2e tests on MRs
- Change `mon quickstart` to `mon local-install` (quickstart was renamed to local-install in the Node.js CLI) - Add merge_request_event rule to cli:node:full:dind job to catch failures before merge to main
1 parent f509de2 commit bd871bc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.gitlab-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,8 @@ cli:node:full:dind:
479479
PGAI_TAG=$PGAI_TAG
480480
EOF
481481
script:
482-
- echo "=== Testing quickstart (demo mode) ==="
483-
- node ./cli/dist/bin/postgres-ai.js mon quickstart --demo
482+
- echo "=== Testing local-install (demo mode) ==="
483+
- node ./cli/dist/bin/postgres-ai.js mon local-install --demo
484484
- sleep 10
485485
- node ./cli/dist/bin/postgres-ai.js mon status
486486
- echo ""
@@ -500,6 +500,7 @@ cli:node:full:dind:
500500
after_script:
501501
- docker ps -a || true
502502
rules:
503+
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
503504
- if: '$CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH =~ /^feature\//'
504505
allow_failure: false
505506

0 commit comments

Comments
 (0)