From 8823cbb26783e9e73d961726a959ab3ce20d4ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Fri, 20 Oct 2023 14:30:59 -0400 Subject: [PATCH] jenkins: Re-introduce incus-test-docker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- jenkins/jobs/incus-test-docker.yaml | 60 +++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 jenkins/jobs/incus-test-docker.yaml diff --git a/jenkins/jobs/incus-test-docker.yaml b/jenkins/jobs/incus-test-docker.yaml new file mode 100644 index 00000000..4cdc55c8 --- /dev/null +++ b/jenkins/jobs/incus-test-docker.yaml @@ -0,0 +1,60 @@ +- job: + name: "incus-test-docker" + concurrent: false + description: Tests current upstream Docker with latest stable Incus. + node: master + project-type: matrix + + axes: + - axis: + name: mode + type: user-defined + values: + - privileged + - unprivileged + + - axis: + name: arch + type: slave + values: + - amd64 + + - axis: + name: restrict + type: slave + values: + - vm + + builders: + - shell: |- + cd /lxc-ci + if [ "${mode}" = "privileged" ]; then + exec sudo /lxc-ci/bin/test-incus-docker -c security.privileged=true + else + exec sudo /lxc-ci/bin/test-incus-docker -c security.privileged=false + fi + + properties: + - build-discarder: + num-to-keep: 3 + + - raw: + !include: ../includes/webhook.yaml.inc + + publishers: + - workspace-cleanup: + fail-build: false + + - naginator: + rerun-unstable-builds: true + rerun-matrix-part: true + max-failed-builds: 3 + progressive-delay-increment: 300 + progressive-delay-maximum: 900 + + triggers: + - timed: '@daily' + + wrappers: + - ansicolor: + colormap: css