de24f25e58
This implements legacy-dsvm-nodepool-[distro]-src jobs as native jobs. This seems like the best home for them, as they are run by multiple externals such as glean and diskimage-builder. Previously the defaults were set such that with no arguments, the trusty test ran for nodepool-functional-py35. To facilitate better templating, this turns all builds off by default. The nodepool functional test is moved to a base template, and then nodepool-functional-py35 explicitly builds and boots Xenial now (trusty doesn't seem very useful). The check_devstack_plugin.sh script runs after devstack, so needs to source the stackrc file to pull in the variables about what images are paused or not. Additionally, the path for the script is fixed to nodepool so we can run the job from other projects. The redhat, ubuntu and suse legacy tests are re-implemented for their respective builds. This also highlighted that the opensuse test wasn't actually doing anything. This actually adds the configuration to build opensuse-423. Needed-By: https://review.openstack.org/543270 Needed-By: https://review.openstack.org/543328 Needed-By: https://review.openstack.org/543329 Needed-By: https://review.openstack.org/543330 Change-Id: I203d149a1d63ac8358e1c8b878d9c2bc0ba67c02
133 lines
3.6 KiB
YAML
133 lines
3.6 KiB
YAML
- job:
|
|
name: nodepool-functional-base
|
|
parent: devstack
|
|
pre-run: playbooks/nodepool-functional-base/pre.yaml
|
|
post-run: playbooks/nodepool-functional-base/post.yaml
|
|
timeout: 5400
|
|
required-projects:
|
|
- openstack-infra/nodepool
|
|
vars:
|
|
devstack_services:
|
|
horizon: false
|
|
ceilometer-acentral: false
|
|
ceilometer-acompute: false
|
|
ceilometer-alarm-evaluator: false
|
|
ceilometer-alarm-notifier: false
|
|
ceilometer-anotification: false
|
|
ceilometer-api: false
|
|
ceilometer-collector: false
|
|
cinder: false
|
|
c-bak: false
|
|
c-sch: false
|
|
c-api: false
|
|
c-vol: false
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
devstack_plugins:
|
|
nodepool: https://git.openstack.org/openstack-infra/nodepool
|
|
zuul_copy_output:
|
|
'/var/log/nodepool/builds': 'logs'
|
|
|
|
- job:
|
|
name: nodepool-functional-py35
|
|
parent: nodepool-functional-base
|
|
description: |
|
|
Run nodepool functional tests for py35
|
|
run: playbooks/nodepool-functional-py35/run.yaml
|
|
|
|
- job:
|
|
name: nodepool-functional-py35-src-base
|
|
parent: nodepool-functional-base
|
|
run: playbooks/nodepool-functional-py35-src/run.yaml
|
|
vars:
|
|
devstack_localrc:
|
|
LIBS_FROM_GIT: shade,glean,diskimage-builder
|
|
required-projects:
|
|
- openstack-infra/glean
|
|
- openstack-infra/nodepool
|
|
- openstack-infra/shade
|
|
- openstack/diskimage-builder
|
|
|
|
- job:
|
|
name: nodepool-functional-py35-src
|
|
parent: nodepool-functional-py35-src-base
|
|
vars:
|
|
devstack_localrc:
|
|
NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB: false
|
|
|
|
- job:
|
|
name: nodepool-zuul-functional
|
|
parent: tox
|
|
description: |
|
|
Test that zuul works with current nodepool sources.
|
|
|
|
This test runs the zuul project ``nodepool`` environment.
|
|
pre-run: playbooks/nodepool-zuul-functional/pre.yaml
|
|
required-projects:
|
|
- openstack-infra/nodepool
|
|
- openstack-infra/zuul
|
|
vars:
|
|
zuul_work_dir: "{{ zuul.projects['git.openstack.org/openstack-infra/zuul'].src_dir }}"
|
|
tox_envlist: nodepool
|
|
|
|
# Distro functional tests. This is used by projects such as
|
|
# diskimage-builder and glean as live-boot tests
|
|
- job:
|
|
name: nodepool-functional-py35-redhat-src
|
|
parent: nodepool-functional-py35-src-base
|
|
vars:
|
|
devstack_localrc:
|
|
NODEPOOL_PAUSE_CENTOS_7_DIB: false
|
|
NODEPOOL_PAUSE_FEDORA_26_DIB: false
|
|
|
|
- job:
|
|
name: nodepool-functional-py35-suse-src
|
|
parent: nodepool-functional-py35-src-base
|
|
vars:
|
|
devstack_localrc:
|
|
NODEPOOL_PAUSE_OPENSUSE_423_DIB: false
|
|
|
|
- job:
|
|
name: nodepool-functional-py35-ubuntu-src
|
|
parent: nodepool-functional-py35-src-base
|
|
vars:
|
|
devstack_localrc:
|
|
NODEPOOL_PAUSE_UBUNTU_XENIAL_DIB: false
|
|
NODEPOOL_PAUSE_UBUNTU_TRUSTY_DIB: false
|
|
|
|
- job:
|
|
name: nodepool-functional-py35-debian-src
|
|
parent: nodepool-functional-py35-src-base
|
|
vars:
|
|
devstack_localrc:
|
|
NODEPOOL_PAUSE_DEBIAN_JESSIE_DIB: false
|
|
|
|
- project:
|
|
check:
|
|
jobs:
|
|
- tox-cover
|
|
- tox-pep8
|
|
- tox-py35
|
|
- nodepool-functional-py35:
|
|
voting: false
|
|
- nodepool-functional-py35-src:
|
|
voting: false
|
|
- build-sphinx-docs:
|
|
vars:
|
|
sphinx_python: python3
|
|
gate:
|
|
jobs:
|
|
- tox-pep8
|
|
- tox-py35
|
|
- build-sphinx-docs:
|
|
vars:
|
|
sphinx_python: python3
|
|
post:
|
|
jobs:
|
|
- publish-openstack-sphinx-docs-infra-python3
|
|
experimental:
|
|
jobs:
|
|
- nodepool-zuul-functional
|