---
- job:
    name: containerized-tests
    project-type: pipeline
    sandbox: true
    concurrent: true
    properties:
      - github:
          url: https://github.com/ceph/ceph-csi
      - build-discarder:
          days-to-keep: 7
          artifact-days-to-keep: 7
    pipeline-scm:
      scm:
        - git:
            name: origin
            url: https://github.com/ceph/ceph-csi
            branches:
              - ci/centos
      script-path: containerized-tests.groovy
      lightweight-checkout: true
    triggers:
      - github-pull-request:
          status-context: ci/centos/containerized-tests
          trigger-phrase: '/(re)?test ((all)|(ci/centos/containerized-tests))'
          permit-all: true
          # TODO: set github-hooks to true when it is configured in GitHub
          github-hooks: false
          cron: 'H/5 * * * *'
          black-list-target-branches:
            - ci/centos
          admin-list:
            - nixpanic
          org-list:
            - ceph