Do not attempt to collect artifacts in CHECK_ONLY mode; support the 'workload_pgbench' option for 'psql-test'
Before running the test, we do some preliminary checks, in case of an error, the error
function has been collecting artifacts, but this does not need to be done for CHECK_ONLY
mode.
This change adds a condition to the error
function that checks whether the script is running with the 'CHECK_ONLY
' variable, and does not start collecting artifacts.
Fixed: https://gitlab.com/postgres-ai/postgresql-consulting/tests-and-benchmarks/-/jobs/5920963346
Additionally:
- Update .gitlab-ci.yml (to support the 'workload_pgbench' option for 'psql-test')
Edited by Vitaliy Kukharik