summaryrefslogtreecommitdiffstats
path: root/.gitlab/ci/csmock.yml
blob: 72b53ed32c838046a7e01de7473f6dacdaa24cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
test-commit-job-csmock:
  extends:
    - .dump_kernel_log
  tags:
    - libvirt
    - rhel7-csmock
  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$/ || $CI_PIPELINE_SOURCE == "merge_request_event"
  script:
    - /opt/csmock-run-script.sh