Merge "Replace nodepool func jobs"
This commit is contained in:
commit
5e9b7ba514
@ -198,3 +198,156 @@
|
|||||||
nodeset: centos-7
|
nodeset: centos-7
|
||||||
vars:
|
vars:
|
||||||
dib_python: python2
|
dib_python: python2
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: dib-nodepool-functional-openstack-centos-7-src
|
||||||
|
description: |
|
||||||
|
Test building and booting a Centos 7 image with Nodepool and OpenStack
|
||||||
|
parent: nodepool-functional-openstack-src-base
|
||||||
|
vars:
|
||||||
|
nodepool_extra_packages:
|
||||||
|
- rpm
|
||||||
|
- yum-utils
|
||||||
|
nodepool_diskimage:
|
||||||
|
base_element: centos-minimal
|
||||||
|
release: '7'
|
||||||
|
mirror: "http://{{ zuul_site_mirror_fqdn }}/centos"
|
||||||
|
env-vars:
|
||||||
|
DIB_SIMPLE_INIT_NETWORKMANAGER: '1'
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: dib-nodepool-functional-openstack-fedora-29-src
|
||||||
|
description: |
|
||||||
|
Test building and booting a Fedora 29 image with Nodepool and OpenStack
|
||||||
|
parent: nodepool-functional-openstack-src-base
|
||||||
|
vars:
|
||||||
|
nodepool_extra_packages:
|
||||||
|
- rpm
|
||||||
|
- yum-utils
|
||||||
|
nodepool_diskimage:
|
||||||
|
base_element: fedora-minimal
|
||||||
|
release: '29'
|
||||||
|
env-vars:
|
||||||
|
DIB_SIMPLE_INIT_NETWORKMANAGER: '1'
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: dib-nodepool-functional-openstack-ubuntu-trusty-src
|
||||||
|
description: |
|
||||||
|
Test building and booting an Ubuntu trusty image with Nodepool
|
||||||
|
and OpenStack
|
||||||
|
parent: nodepool-functional-openstack-src-base
|
||||||
|
pre-run: playbooks/dib-nodepool/debootstrap.yaml
|
||||||
|
nodeset: ubuntu-xenial # Backported debootstrap only available for xenial
|
||||||
|
vars:
|
||||||
|
nodepool_extra_packages:
|
||||||
|
- debootstrap
|
||||||
|
nodepool_diskimage:
|
||||||
|
base_element: ubuntu-minimal
|
||||||
|
release: 'trusty'
|
||||||
|
mirror: "http://{{ zuul_site_mirror_fqdn }}/ubuntu"
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: dib-nodepool-functional-openstack-ubuntu-xenial-src
|
||||||
|
description: |
|
||||||
|
Test building and booting an Ubuntu xenial image with Nodepool
|
||||||
|
and OpenStack
|
||||||
|
parent: nodepool-functional-openstack-src-base
|
||||||
|
pre-run: playbooks/dib-nodepool/debootstrap.yaml
|
||||||
|
nodeset: ubuntu-xenial # Backported debootstrap only available for xenial
|
||||||
|
vars:
|
||||||
|
nodepool_extra_packages:
|
||||||
|
- debootstrap
|
||||||
|
nodepool_diskimage:
|
||||||
|
base_element: ubuntu-minimal
|
||||||
|
release: 'xenial'
|
||||||
|
mirror: "http://{{ zuul_site_mirror_fqdn }}/ubuntu"
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: dib-nodepool-functional-openstack-ubuntu-bionic-src
|
||||||
|
description: |
|
||||||
|
Test building and booting an Ubuntu bionic image with Nodepool
|
||||||
|
and OpenStack
|
||||||
|
parent: nodepool-functional-openstack-src-base
|
||||||
|
pre-run: playbooks/dib-nodepool/debootstrap.yaml
|
||||||
|
nodeset: ubuntu-xenial # Backported debootstrap only available for xenial
|
||||||
|
vars:
|
||||||
|
nodepool_extra_packages:
|
||||||
|
- debootstrap
|
||||||
|
nodepool_diskimage:
|
||||||
|
base_element: ubuntu-minimal
|
||||||
|
release: 'bionic'
|
||||||
|
mirror: "http://{{ zuul_site_mirror_fqdn }}/ubuntu"
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: dib-nodepool-functional-openstack-gentoo-src
|
||||||
|
description: |
|
||||||
|
Test building and booting a Gentoo image with Nodepool and OpenStack
|
||||||
|
parent: nodepool-functional-openstack-src-base
|
||||||
|
vars:
|
||||||
|
nodepool_diskimage:
|
||||||
|
base_element: gentoo
|
||||||
|
release: ''
|
||||||
|
env-vars:
|
||||||
|
GENTOO_PROFILE: 'default/linux/amd64/17.0/systemd'
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: dib-nodepool-functional-openstack-debian-stretch-src
|
||||||
|
description: |
|
||||||
|
Test building and booting a Debian stretch image with Nodepool
|
||||||
|
and OpenStack
|
||||||
|
parent: nodepool-functional-openstack-src-base
|
||||||
|
pre-run: playbooks/dib-nodepool/debootstrap.yaml
|
||||||
|
nodeset: ubuntu-xenial # Backported debootstrap only available for xenial
|
||||||
|
vars:
|
||||||
|
nodepool_extra_packages:
|
||||||
|
- debootstrap
|
||||||
|
nodepool_diskimage:
|
||||||
|
base_element: debian-minimal
|
||||||
|
release: 'stretch'
|
||||||
|
mirror: "http://{{ zuul_site_mirror_fqdn }}/debian"
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: dib-nodepool-functional-openstack-debian-buster-src
|
||||||
|
description: |
|
||||||
|
Test building and booting a Debian buster image with Nodepool
|
||||||
|
and OpenStack
|
||||||
|
parent: nodepool-functional-openstack-src-base
|
||||||
|
pre-run: playbooks/dib-nodepool/debootstrap.yaml
|
||||||
|
nodeset: ubuntu-xenial # Backported debootstrap only available for xenial
|
||||||
|
vars:
|
||||||
|
nodepool_extra_packages:
|
||||||
|
- debootstrap
|
||||||
|
nodepool_diskimage:
|
||||||
|
base_element: debian-minimal
|
||||||
|
release: 'buster'
|
||||||
|
mirror: "http://{{ zuul_site_mirror_fqdn }}/debian"
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: dib-nodepool-functional-openstack-opensuse-150-src
|
||||||
|
description: |
|
||||||
|
Test building and booting an openSUSE 15 image with Nodepool
|
||||||
|
and OpenStack
|
||||||
|
parent: nodepool-functional-openstack-src-base
|
||||||
|
nodeset: ubuntu-xenial # Bionic lacks zypper
|
||||||
|
vars:
|
||||||
|
nodepool_extra_packages:
|
||||||
|
- zypper
|
||||||
|
- gnupg2
|
||||||
|
nodepool_diskimage:
|
||||||
|
base_element: opensuse-minimal
|
||||||
|
release: '15.0'
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: dib-nodepool-functional-openstack-opensuse-tumbleweed-src
|
||||||
|
description: |
|
||||||
|
Test building and booting an openSUSE tumbleweed image with
|
||||||
|
Nodepool and OpenStack
|
||||||
|
parent: nodepool-functional-openstack-src-base
|
||||||
|
nodeset: ubuntu-xenial # Bionic lacks zypper
|
||||||
|
vars:
|
||||||
|
nodepool_extra_packages:
|
||||||
|
- zypper
|
||||||
|
- gnupg2
|
||||||
|
nodepool_diskimage:
|
||||||
|
base_element: opensuse-minimal
|
||||||
|
release: 'tumbleweed'
|
||||||
|
@ -10,8 +10,11 @@
|
|||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-pylint
|
- openstack-tox-pylint
|
||||||
- nodepool-functional-py35-redhat-src
|
- dib-nodepool-functional-openstack-centos-7-src
|
||||||
- nodepool-functional-py35-ubuntu-src
|
- dib-nodepool-functional-openstack-fedora-29-src
|
||||||
|
- dib-nodepool-functional-openstack-ubuntu-trusty-src
|
||||||
|
- dib-nodepool-functional-openstack-ubuntu-xenial-src
|
||||||
|
- dib-nodepool-functional-openstack-ubuntu-bionic-src
|
||||||
- dib-functests-centos7-python2
|
- dib-functests-centos7-python2
|
||||||
- dib-functests-centos7-python2-image
|
- dib-functests-centos7-python2-image
|
||||||
- dib-functests-centos7-python2-extras
|
- dib-functests-centos7-python2-extras
|
||||||
@ -29,15 +32,20 @@
|
|||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-pylint
|
- openstack-tox-pylint
|
||||||
- nodepool-functional-py35-redhat-src
|
- dib-nodepool-functional-openstack-centos-7-src
|
||||||
- nodepool-functional-py35-ubuntu-src
|
- dib-nodepool-functional-openstack-fedora-29-src
|
||||||
|
- dib-nodepool-functional-openstack-ubuntu-trusty-src
|
||||||
|
- dib-nodepool-functional-openstack-ubuntu-xenial-src
|
||||||
|
- dib-nodepool-functional-openstack-ubuntu-bionic-src
|
||||||
- dib-functests-trusty-python2
|
- dib-functests-trusty-python2
|
||||||
- dib-functests-xenial-python3
|
- dib-functests-xenial-python3
|
||||||
- dib-functests-centos7-python2
|
- dib-functests-centos7-python2
|
||||||
experimental:
|
experimental:
|
||||||
jobs:
|
jobs:
|
||||||
- nodepool-functional-py35-gentoo-src
|
- dib-nodepool-functional-openstack-gentoo-src
|
||||||
- nodepool-functional-py35-debian-src
|
- dib-nodepool-functional-openstack-debian-stretch-src
|
||||||
- nodepool-functional-py35-suse-src
|
- dib-nodepool-functional-openstack-debian-buster-src
|
||||||
|
- dib-nodepool-functional-openstack-opensuse-150-src
|
||||||
|
- dib-nodepool-functional-openstack-opensuse-tumbleweed-src
|
||||||
- octavia-v1-dsvm-scenario
|
- octavia-v1-dsvm-scenario
|
||||||
- octavia-v1-dsvm-py3x-scenario
|
- octavia-v1-dsvm-py3x-scenario
|
||||||
|
9
playbooks/dib-nodepool/debootstrap.yaml
Normal file
9
playbooks/dib-nodepool/debootstrap.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
- hosts: all
|
||||||
|
tasks:
|
||||||
|
# We need a fixed debootstrap
|
||||||
|
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=901977
|
||||||
|
- name: Install updated debootstrap repo
|
||||||
|
become: true
|
||||||
|
shell: |
|
||||||
|
add-apt-repository ppa:openstack-ci-core/debootstrap
|
||||||
|
apt-get update
|
Loading…
Reference in New Issue
Block a user