summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/csmock.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/ci/csmock.yml')
-rw-r--r--.gitlab/ci/csmock.yml10
1 files changed, 8 insertions, 2 deletions
diff --git a/.gitlab/ci/csmock.yml b/.gitlab/ci/csmock.yml
index 72b53ed..a1cd985 100644
--- a/.gitlab/ci/csmock.yml
+++ b/.gitlab/ci/csmock.yml
@@ -3,7 +3,7 @@ test-commit-job-csmock:
- .dump_kernel_log
tags:
- libvirt
- - rhel7-csmock
+ - rhel9-csmock
stage: test
interruptible: true
allow_failure: true
@@ -14,4 +14,10 @@ test-commit-job-csmock:
when: never
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/ || $CI_PIPELINE_SOURCE == "merge_request_event"
script:
- - /opt/csmock-run-script.sh
+ - sudo /opt/run-csmock.sh
+ artifacts:
+ # Upload artifacts when a crash makes the job fail.
+ when: always
+ paths:
+ - cryptsetup-csmock-results.tar.xz
+ - cryptsetup-csmock-results