From 54c49f9240acd32cbb0150103c6a4191dc70c394 Mon Sep 17 00:00:00 2001 From: Brian Ketelsen Date: Thu, 25 Apr 2024 13:10:36 -0400 Subject: [PATCH] feat: add fedora 40 to jenkins matrix --- jenkins/jobs/image-fedora.yaml | 114 ++++++++++++++++----------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/jenkins/jobs/image-fedora.yaml b/jenkins/jobs/image-fedora.yaml index 4b329d08..56939431 100644 --- a/jenkins/jobs/image-fedora.yaml +++ b/jenkins/jobs/image-fedora.yaml @@ -6,79 +6,79 @@ project-type: matrix axes: - - axis: - name: architecture - type: slave - values: - - amd64 - - arm64 + - axis: + name: architecture + type: slave + values: + - amd64 + - arm64 - - axis: - name: release - type: user-defined - values: - - 38 - - 39 + - axis: + name: release + type: user-defined + values: + - 38 + - 39 + - 40 - - axis: - name: variant - type: user-defined - values: - - default - - cloud + - axis: + name: variant + type: user-defined + values: + - default + - cloud builders: - - shell: |- - cd /lxc-ci - INCUS_ARCHITECTURE="${architecture}" + - shell: |- + cd /lxc-ci + INCUS_ARCHITECTURE="${architecture}" - ARCH=${architecture} - [ "${ARCH}" = "amd64" ] && ARCH="x86_64" - [ "${ARCH}" = "arm64" ] && ARCH="aarch64" + ARCH=${architecture} + [ "${ARCH}" = "amd64" ] && ARCH="x86_64" + [ "${ARCH}" = "arm64" ] && ARCH="aarch64" - TYPE="container" - if [ "${architecture}" = "amd64" ] || [ "${architecture}" = "arm64" ]; then - TYPE="container,vm" - fi + TYPE="container" + if [ "${architecture}" = "amd64" ] || [ "${architecture}" = "arm64" ]; then + TYPE="container,vm" + fi - exec sudo /lxc-ci/bin/build-distro /lxc-ci/images/fedora.yaml \ - ${INCUS_ARCHITECTURE} ${TYPE} 1800 ${WORKSPACE} \ - -o image.architecture=${ARCH} -o image.release=${release} \ - -o image.variant=${variant} + exec sudo /lxc-ci/bin/build-distro /lxc-ci/images/fedora.yaml \ + ${INCUS_ARCHITECTURE} ${TYPE} 1800 ${WORKSPACE} \ + -o image.architecture=${ARCH} -o image.release=${release} \ + -o image.variant=${variant} properties: - - build-discarder: - num-to-keep: 3 + - build-discarder: + num-to-keep: 3 - - raw: - !include: ../includes/webhook.yaml.inc + - raw: !include: ../includes/webhook.yaml.inc publishers: - - archive: - artifacts: "*.qcow2,*.tar.xz,*.squashfs,image.yaml,serial" - only-if-success: true + - archive: + artifacts: "*.qcow2,*.tar.xz,*.squashfs,image.yaml,serial" + only-if-success: true - - workspace-cleanup: - fail-build: false + - workspace-cleanup: + fail-build: false - - trigger-parameterized-builds: - - project: - - test-image - predefined-parameters: |- - image=${JOB_NAME} - build=${BUILD_URL} - condition: SUCCESS + - trigger-parameterized-builds: + - project: + - test-image + predefined-parameters: |- + image=${JOB_NAME} + build=${BUILD_URL} + condition: SUCCESS - - naginator: - rerun-unstable-builds: true - rerun-matrix-part: true - max-failed-builds: 3 - progressive-delay-increment: 300 - progressive-delay-maximum: 900 + - naginator: + rerun-unstable-builds: true + rerun-matrix-part: true + max-failed-builds: 3 + progressive-delay-increment: 300 + progressive-delay-maximum: 900 triggers: - - timed: '@daily' + - timed: "@daily" wrappers: - - ansicolor: - colormap: css + - ansicolor: + colormap: css