Skip to content

Commit

Permalink
jenkins: Re-add some tests
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <[email protected]>
  • Loading branch information
stgraber committed Oct 26, 2023
1 parent ff037c0 commit 8a415cd
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 0 deletions.
36 changes: 36 additions & 0 deletions jenkins/jobs/incus-test-cpu-vm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
- job:
name: "incus-test-cpu-vm"
concurrent: false
description: Run VM CPU hotplugging 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-cpu-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
36 changes: 36 additions & 0 deletions jenkins/jobs/incus-test-devlxd-vm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
- job:
name: "incus-test-devincus-vm"
concurrent: false
description: Run VM devincus 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-devincus-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
36 changes: 36 additions & 0 deletions jenkins/jobs/incus-test-interception.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
- job:
name: "incus-test-interception"
concurrent: false
description: Tests syscall interception with Incus
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-interception
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
54 changes: 54 additions & 0 deletions jenkins/jobs/incus-test-storage-buckets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
- job:
name: "incus-test-storage-buckets"
concurrent: false
description: Run storage buckets tests.
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=virtual jammy ga-22.04 default bin/test-incus-storage-buckets "${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
36 changes: 36 additions & 0 deletions jenkins/jobs/incus-test-usb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
- job:
name: "incus-test-usb"
concurrent: false
description: Tests USB passthrough for containers
node: master
project-type: freestyle

builders:
- shell: |-
cd /lxc-ci
exec /lxc-ci/bin/maas-run name=lantea jammy ga-22.04 default bin/test-incus-usb
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

0 comments on commit 8a415cd

Please sign in to comment.