From: Maximilian Engelhardt Date: Thu, 10 Dec 2020 23:16:19 +0000 (+0100) Subject: debian/salsa-ci.yml: enable salsa-ci X-Git-Tag: archive/raspbian/4.14.1+11-gb0b734a8b3-1+rpi1^2~58 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0f2b7a0250af3f951ae3ba37fa181217187f62a5;p=xen.git debian/salsa-ci.yml: enable salsa-ci according to the manual at https://salsa.debian.org/salsa-ci-team/pipeline/-/blob/master/README.md If the pipeline is not yet enabled and configured in the gitlab web interface by default, this needs to be done manually as written in the manual. As of now the salsa-ci only supports gbp, so convert the debrebase repository to a gbp one. Also work around a problem with gbp export-orig replacing variables in .gitarchive-info which then causes problems as the repository and the generated .tar.gz don't match. Allow reprotest to fail for now as the build is currently not reproducible. Disable blhc as xen currently does not enable hardening when building the hypervisor so blhc outputs many errors. Signed-off-by: Maximilian Engelhardt Acked-by: Hans van Kranenburg --- diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml new file mode 100644 index 0000000000..a11d7ebef3 --- /dev/null +++ b/debian/salsa-ci.yml @@ -0,0 +1,28 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml + +extract-source: + before_script: + # convert into a gbp patches-unapplied branch using git-debrebase + - apt-get update + - apt-get --yes install git-debrebase + # git-debrebase needs git user setup + - git config user.email "salsa-ci@invalid.invalid" + - git config user.name "salsa-ci" + - git debrebase --force + - git debrebase convert-to-gbp + # work around gbp export-orig replacing variables in .gitarchive-info + - test -d .git/info || mkdir .git/info + - echo ".gitarchive-info -export-subst" >> .git/info/attributes + +reprotest: + allow_failure: true + +variables: + # disable shallow cloning of git repository. This is needed for git-debrebase + GIT_DEPTH: 0 + + # xen currently does not enable hardening when building the hypervisor so + # disable blhc. + SALSA_CI_DISABLE_BLHC: 1