Skip to content
Snippets Groups Projects

Expose test artifacts to the Gitlab CI interface

Merged ale requested to merge test-artifacts into master
+ 6
6
@@ -38,11 +38,16 @@ variables:
CREATE_ENV_VARS: ""
TEST_DIR: ""
tags: [ai3]
# Some artifacts may be missing, depending on the specific job.
artifacts:
when: on_failure
when: always
expire_in: 1 week
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_SLUG}_${CI_COMMIT_SHORT_SHA}"
reports:
dotenv: deploy.env
junit: pytest.xml
paths:
- ".vmine_group_review*"
- "${BUILD_DIR}/ansible.log"
- "${BUILD_DIR}/logs"
@@ -72,11 +77,6 @@ full_test_review:
FLOATUP_ARGS: "--state-file .vmine_group_review_$CI_MERGE_REQUEST_ID --ttl 6h --env deploy.env --dashboard-url https://vm.investici.org"
TEST_DIR: "test/full.ref"
allow_failure: true
artifacts:
when: always
reports:
dotenv: deploy.env
paths: ['.vmine_group_review*']
environment:
name: review/$CI_COMMIT_REF_SLUG
url: $VMINE_GROUP_URL
Loading