Upload artifacts even in case of an error
We have added the ability to download artifacts even in case of errors.
We also added the PG_LOG_DIR
variable in the test_with_artifacts.sh
script (which is determined either using an environment variable or automatically in the reset_pg_log function) to be able to get the Postgres log in case it does not run after restart.
Example: https://gitlab.com/postgres-ai/postgresql-consulting/tests-and-benchmarks/-/pipelines/1131165239
Edited by Vitaliy Kukharik