diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2023-10-19 09:05:25 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2023-10-19 09:05:25 +0000 |
commit | 03eb63af4017a92d930d06e0f312656d17be2395 (patch) | |
tree | 8d65efbc1c725d8c302ae378b8c3641b275a94ef /jjb | |
parent | 6cf5d8c90fad9135a5087a4134429006f173e532 (diff) | |
parent | 5af29c692653a6cf0004d0b60bf334ce310da0c9 (diff) |
Merge "Build XtestingCI VMs"
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/functest/xtesting-ci-vm.yaml | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/jjb/functest/xtesting-ci-vm.yaml b/jjb/functest/xtesting-ci-vm.yaml new file mode 100644 index 000000000..971f91a9b --- /dev/null +++ b/jjb/functest/xtesting-ci-vm.yaml @@ -0,0 +1,65 @@ +--- +- scm: + name: xtesting-ci-vm-scm + scm: + - git: + url: https://github.com/collivier/ansible-role-xtesting.git + git-config-name: + git-config-email: + +- builder: + name: xtesting-ci-vm-builder + builders: + - shell: | + DEBIAN_FRONTEND=noninteractive apt-get \ + -o DPkg::Lock::Timeout=300 install install python3-diskimage-builder + export ELEMENTS_PATH=$(pwd)/ansible-role-xtesting/elements + export DIB_DEBIAN_COMPONENTS=main,contrib,non-free + export DIB_DEV_USER_SHELL=/bin/bash + export DIB_OPENSSH_SERVER_HARDENING=0 + export DIB_DEV_USER_PASSWORD=xtesting + export DIB_DEV_USER_PWDLESS_SUDO=yes + export DIB_CLOUD_INIT_ALLOW_SSH_PWAUTH=Yes + export DIB_RELEASE=bookworm + export DIB_DEV_USER_USERNAME=xtesting + disk-image-create --image-size 20 -o xtesting.qcow2 debian vm devuser openssh-server xtestingci + +- trigger: + name: xtesting-ci-vm-trigger + triggers: + - timed: '@daily' + +- parameter: + name: xtesting-ci-vm-parameter + parameters: + - label: + name: node + default: 'xtesting' + +- job-template: + name: 'xtesting-ci-vm' + scm: + - xtesting-ci-vm-scm + triggers: + - xtesting-ci-vm-trigger + parameters: + - xtesting-ci-vm-parameter + builders: + - xtesting-ci-vm-builder + +- project: + name: 'xtesting-ci-vm' + jobs: + - 'xtesting-ci-vm' + +- view: + name: xtesting-ci-vm + view-type: list + columns: + - status + - weather + - job + - last-success + - last-failure + - last-duration + regex: ^xtesting-ci-vm.*$ |