mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
CI: fix annocheck and csmock runners
This commit is contained in:
@@ -14,6 +14,4 @@ test-main-commit-job-annocheck:
|
|||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
|
||||||
script:
|
script:
|
||||||
- /opt/build-rpm-script.sh > /dev/null 2>&1
|
- sudo /opt/run-annocheck.sh
|
||||||
- annocheck /var/lib/mock/rhel-9.0.0-candidate-x86_64/result/*.rpm --profile=el9
|
|
||||||
- annocheck /var/lib/mock/rhel-9.0.0-candidate-x86_64/result/*.rpm --profile=el8
|
|
||||||
|
|||||||
@@ -14,4 +14,10 @@ test-commit-job-csmock:
|
|||||||
when: never
|
when: never
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/ || $CI_PIPELINE_SOURCE == "merge_request_event"
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/ || $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
script:
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user