diff --git a/jenkins/jobs/incus-test-network-bridge-firewall.yaml b/jenkins/jobs/incus-test-network-bridge-firewall.yaml new file mode 100644 index 00000000..67d0633a --- /dev/null +++ b/jenkins/jobs/incus-test-network-bridge-firewall.yaml @@ -0,0 +1,36 @@ +- job: + name: "incus-test-network-bridge-firewall" + concurrent: false + description: Tests bridge firewall drivers + node: master + project-type: freestyle + + builders: + - shell: |- + cd /lxc-ci + exec /lxc-ci/bin/maas-run tags=virtual jammy ga-22.04 default bin/test-incus-network-bridge-firewall + + 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 diff --git a/jenkins/jobs/incus-test-network-ovn.yaml b/jenkins/jobs/incus-test-network-ovn.yaml new file mode 100644 index 00000000..fe284dd1 --- /dev/null +++ b/jenkins/jobs/incus-test-network-ovn.yaml @@ -0,0 +1,36 @@ +- job: + name: "incus-test-network-ovn" + concurrent: false + description: Tests OVN integration with Incus + node: master + project-type: freestyle + + builders: + - shell: |- + cd /lxc-ci + exec /lxc-ci/bin/maas-run tags=virtual focal ga-20.04 default bin/test-incus-network-ovn + + 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 diff --git a/jenkins/jobs/incus-test-network-routed.yaml b/jenkins/jobs/incus-test-network-routed.yaml new file mode 100644 index 00000000..cab2a454 --- /dev/null +++ b/jenkins/jobs/incus-test-network-routed.yaml @@ -0,0 +1,36 @@ +- job: + name: "incus-test-network-routed" + concurrent: false + description: Tests routed NIC integration with Incus + node: master + project-type: freestyle + + builders: + - shell: |- + cd /lxc-ci + exec /lxc-ci/bin/maas-run tags=physical jammy ga-22.04 default bin/test-incus-network-routed + + 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 diff --git a/jenkins/jobs/incus-test-network-sriov.yaml b/jenkins/jobs/incus-test-network-sriov.yaml new file mode 100644 index 00000000..ac4a26fc --- /dev/null +++ b/jenkins/jobs/incus-test-network-sriov.yaml @@ -0,0 +1,36 @@ +- job: + name: "incus-test-network-sriov" + concurrent: false + description: Tests SR-IOV for containers and VMs + node: master + project-type: freestyle + + builders: + - shell: |- + cd /lxc-ci + exec /lxc-ci/bin/maas-run name=lantea jammy ga-22.04 iommu bin/test-incus-network-sriov + + 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 diff --git a/jenkins/jobs/incus-test-network.yaml b/jenkins/jobs/incus-test-network.yaml new file mode 100644 index 00000000..735b07e4 --- /dev/null +++ b/jenkins/jobs/incus-test-network.yaml @@ -0,0 +1,36 @@ +- job: + name: "incus-test-network" + concurrent: false + description: Tests bridged, macvlan, physical and sriov NICs for containers and VMs + node: master + project-type: freestyle + + builders: + - shell: |- + cd /lxc-ci + exec /lxc-ci/bin/maas-run name=lantea jammy ga-22.04 iommu bin/test-incus-network + + 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 diff --git a/jenkins/jobs/incus-test-storage-disks-vm.yaml b/jenkins/jobs/incus-test-storage-disks-vm.yaml new file mode 100644 index 00000000..3d61bc79 --- /dev/null +++ b/jenkins/jobs/incus-test-storage-disks-vm.yaml @@ -0,0 +1,36 @@ +- job: + name: "incus-test-storage-disks-vm" + concurrent: false + description: Run VM storage disk tests on physical hardware. + node: master + project-type: freestyle + + builders: + - shell: |- + cd /lxc-ci + exec /lxc-ci/bin/maas-run tags=physical jammy ga-22.04 default bin/test-incus-storage-disks-vm + + 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 diff --git a/jenkins/jobs/incus-test-storage-vm.yaml b/jenkins/jobs/incus-test-storage-vm.yaml new file mode 100644 index 00000000..20451779 --- /dev/null +++ b/jenkins/jobs/incus-test-storage-vm.yaml @@ -0,0 +1,54 @@ +- job: + name: "incus-test-storage-vm" + concurrent: false + description: Run VM storage tests on physical hardware. + node: master + project-type: matrix + + axes: + - axis: + name: backend + type: user-defined + values: + - dir + - zfs + - btrfs + - lvm + - lvm-thin + + - axis: + name: restrict + type: slave + values: + - master + + builders: + - shell: |- + set -e + cd /lxc-ci + sudo -E /lxc-ci/bin/maas-run tags=physical jammy ga-22.04 default bin/test-incus-storage-vm "${backend}" + + properties: + - build-discarder: + num-to-keep: 30 + + - 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 diff --git a/jenkins/jobs/incus-test-storage-volumes-vm.yaml b/jenkins/jobs/incus-test-storage-volumes-vm.yaml new file mode 100644 index 00000000..29321bb5 --- /dev/null +++ b/jenkins/jobs/incus-test-storage-volumes-vm.yaml @@ -0,0 +1,54 @@ +- job: + name: "incus-test-storage-volumes-vm" + concurrent: false + description: Run VM storage volume tests on physical hardware. + node: master + project-type: matrix + + axes: + - axis: + name: backend + type: user-defined + values: + - dir + - zfs + - btrfs + - lvm + - lvm-thin + + - axis: + name: restrict + type: slave + values: + - master + + builders: + - shell: |- + set -e + cd /lxc-ci + sudo -E /lxc-ci/bin/maas-run tags=physical jammy ga-22.04 default bin/test-incus-storage-volumes-vm "${backend}" + + properties: + - build-discarder: + num-to-keep: 30 + + - 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