# cf. https://salsa.debian.org/salsa-ci-team/pipeline/
---
include:
  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml

variables:
  SALSA_CI_DISABLE_APTLY: 0
  SALSA_CI_DISABLE_CROSSBUILD_ARM64: 1
  SALSA_CI_EXTRA_REPOSITORY: "deb http://incoming.debian.org/debian-buildd buildd-unstable main"

# the following overrides replace all rules defined in the upstream salsa-ci
# this means that disabling autopkgtest, reprotest and piuparts will require to
# remove the rules below

autopkgtest:
  # https://salsa.debian.org/salsa-ci-team/pipeline/issues/85
  rules:
    - if: $RELEASE == "unstable"

reprotest:
  # https://salsa.debian.org/salsa-ci-team/pipeline/issues/57
  rules:
    - if: $RELEASE == "unstable"

piuparts:
  # https://salsa.debian.org/salsa-ci-team/pipeline/issues/58
  rules:
    - if: $RELEASE == "unstable"
