summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/annocheck.yml
blob: 5b3a715b35509e1d8bcc39e70916f3360b063c43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
test-main-commit-job-annocheck:
  extends:
    - .dump_kernel_log
  tags:
    - libvirt
    - rhel9-annocheck
  stage: test
  interruptible: true
  allow_failure: true
  variables:
    RUN_SSH_PLUGIN_TEST: "1"
  rules:
    - if: $CI_PROJECT_PATH != "cryptsetup/cryptsetup"
      when: never
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /v2\..\.x$/
  script:
    - /opt/build-rpm-script.sh > /dev/null 2>&1
    - 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