Separate the 'deploy' and 'test' jobs; Show progress of TEST_RUNS execution
- Separate the "pgbench-deploy" and "pgbench-test" jobs
- Show progress of TEST_RUNS execution for "pgbench-test" in CI/CD
Issue: https://gitlab.com/postgres-ai/ace/-/issues/16
Changes
- The
test_with_artifacts.sh
script is now executed via an SSH command instead of ansible (after the server is deployed), this allows we to see the progress of the test execution.. The deployment has been placed in the "dedicated-deploy" job. - Preliminary JSON checks are included in the "verify" task for both types of tests (shared and dedicated).
Screen_Recording_2024-01-30_at_21.00.25
Example
- dedicated-env: https://gitlab.com/postgres-ai/postgresql-consulting/tests-and-benchmarks/-/pipelines/1159424921
- shared-env: https://gitlab.com/postgres-ai/postgresql-consulting/tests-and-benchmarks/-/pipelines/1159448954
Attention (the changes are not backward compatible). The jobs have been renamed!
For both environments
verify
Dedicated environment:
dedicated-deploy
dedicated-test
dedicated-artifacts
dedicated-cleanup
Shared environment:
shared-test
Edited by Vitaliy Kukharik