@@ -128,29 +128,29 @@ cli:node:full:dind:
128128 - npm --prefix cli install --no-audit --no-fund
129129 script :
130130 - echo "=== Testing quickstart (demo mode) ==="
131- - node ./cli/dist/bin/postgres-ai.js quickstart --demo
131+ - node ./cli/dist/bin/postgres-ai.js mon quickstart --demo
132132 - sleep 10
133- - node ./cli/dist/bin/postgres-ai.js status
133+ - node ./cli/dist/bin/postgres-ai.js mon status
134134 - echo ""
135135 - echo "=== Testing install command ==="
136- - node ./cli/dist/bin/postgres-ai.js install
136+ - node ./cli/dist/bin/postgres-ai.js mon install
137137 - echo ""
138138 - echo "=== Testing update command ==="
139- - node ./cli/dist/bin/postgres-ai.js update || true
139+ - node ./cli/dist/bin/postgres-ai.js mon update || true
140140 - echo ""
141141 - echo "=== Testing shell command ==="
142- - echo "SELECT 1;" | node ./cli/dist/bin/postgres-ai.js shell target-db || true
142+ - echo "SELECT 1;" | node ./cli/dist/bin/postgres-ai.js mon shell target-db || true
143143 - echo ""
144144 - echo "=== Testing complete workflow ==="
145- - node ./cli/dist/bin/postgres-ai.js add-instance "postgresql://monitor:monitor_pass@target-db:5432/target_database" demo-test
146- - node ./cli/dist/bin/postgres-ai.js list-instances
147- - node ./cli/dist/bin/postgres-ai.js test-instance demo-test || true
148- - node ./cli/dist/bin/postgres-ai.js health --wait 120
149- - node ./cli/dist/bin/postgres-ai.js show-grafana-credentials
145+ - node ./cli/dist/bin/postgres-ai.js mon add-instance "postgresql://monitor:monitor_pass@target-db:5432/target_database" demo-test
146+ - node ./cli/dist/bin/postgres-ai.js mon list-instances
147+ - node ./cli/dist/bin/postgres-ai.js mon test-instance demo-test || true
148+ - node ./cli/dist/bin/postgres-ai.js mon health --wait 120
149+ - node ./cli/dist/bin/postgres-ai.js mon show-grafana-credentials
150150 - echo ""
151151 - echo "=== Cleanup ==="
152- - node ./cli/dist/bin/postgres-ai.js stop
153- - node ./cli/dist/bin/postgres-ai.js clean || true
152+ - node ./cli/dist/bin/postgres-ai.js mon stop
153+ - node ./cli/dist/bin/postgres-ai.js mon clean || true
154154 after_script :
155155 - docker ps -a || true
156156 rules :
0 commit comments