-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jenkins: Re-add network and storage tests
Signed-off-by: Stéphane Graber <[email protected]>
- Loading branch information
Showing
8 changed files
with
324 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |