![Michael Johnson](/assets/img/avatar_default.png)
This patch adds a new tox environment and gate job that checks requirements.txt for missing or extra requirements. Change-Id: Id8c44821455644576cf055cccaa38c9ab2f49ec6
194 lines
5.5 KiB
YAML
194 lines
5.5 KiB
YAML
- job:
|
|
name: publish-openstack-octavia-amphora-image
|
|
parent: publish-openstack-artifacts
|
|
run: playbooks/image-build/run.yaml
|
|
post-run: playbooks/image-build/post.yaml
|
|
required-projects:
|
|
- openstack/diskimage-builder
|
|
- openstack/octavia
|
|
- openstack/octavia-lib
|
|
|
|
- job:
|
|
name: publish-openstack-octavia-amphora-image-bionic
|
|
parent: publish-openstack-octavia-amphora-image
|
|
description: |
|
|
Publish Ubuntu Bionic (18.04) based amphora image to tarballs.o.o.
|
|
vars:
|
|
amphora_os: ubuntu
|
|
amphora_os_release: bionic
|
|
|
|
- job:
|
|
name: publish-openstack-octavia-amphora-image-centos8
|
|
parent: publish-openstack-octavia-amphora-image
|
|
description: |
|
|
Publish CentOS 8 based amphora image to tarballs.o.o.
|
|
vars:
|
|
amphora_os: centos
|
|
amphora_os_release: 8
|
|
|
|
- job:
|
|
name: octavia-grenade
|
|
parent: grenade
|
|
nodeset: octavia-single-node-ubuntu-bionic
|
|
required-projects:
|
|
- opendev.org/openstack/grenade
|
|
- opendev.org/openstack/octavia
|
|
- opendev.org/openstack/octavia-lib
|
|
- opendev.org/openstack/octavia-tempest-plugin
|
|
- opendev.org/openstack/python-octaviaclient
|
|
vars:
|
|
devstack_localrc:
|
|
DIB_LOCAL_ELEMENTS: openstack-ci-mirrors
|
|
LIBVIRT_TYPE: kvm
|
|
LIBVIRT_CPU_MODE: host-passthrough
|
|
devstack_local_conf:
|
|
test-config:
|
|
"$TEMPEST_CONFIG":
|
|
load_balancer:
|
|
check_interval: 1
|
|
check_timeout: 180
|
|
devstack_plugins:
|
|
octavia: https://opendev.org/openstack/octavia.git
|
|
devstack_services:
|
|
s-account: false
|
|
s-container: false
|
|
s-object: false
|
|
s-proxy: false
|
|
c-api: false
|
|
c-bak: false
|
|
c-vol: false
|
|
cinder: false
|
|
octavia: true
|
|
o-api: true
|
|
o-cw: true
|
|
o-hm: true
|
|
o-hk: true
|
|
tempest_plugins:
|
|
- octavia-tempest-plugin
|
|
tempest_test_regex: ^octavia_tempest_plugin.*\[.*\bsmoke\b.*\]
|
|
tox_envlist: all
|
|
zuul_copy_output:
|
|
'/var/log/dib-build/': 'logs'
|
|
'/var/log/octavia-tenant-traffic.log': 'logs'
|
|
'/var/log/octavia-amphora.log': 'logs'
|
|
|
|
- job:
|
|
name: octavia-grenade-ffu
|
|
parent: octavia-grenade
|
|
vars:
|
|
grenade_from_branch: stable/stein
|
|
|
|
- job:
|
|
name: octavia-v2-dsvm-scenario-amphora-v2
|
|
parent: octavia-v2-dsvm-scenario
|
|
vars:
|
|
devstack_localrc:
|
|
OCTAVIA_ENABLE_AMPHORAV2_JOBBOARD: True
|
|
devstack_local_conf:
|
|
post-config:
|
|
$OCTAVIA_CONF:
|
|
api_settings:
|
|
default_provider_driver: amphorav2
|
|
enabled_provider_drivers: amphorav2:The v2 amphora driver.
|
|
task_flow:
|
|
jobboard_expiration_time: 100
|
|
test-config:
|
|
"$TEMPEST_CONFIG":
|
|
load_balancer:
|
|
enabled_provider_drivers: amphorav2:The v2 amphora driver.
|
|
provider: amphorav2
|
|
|
|
- job:
|
|
name: octavia-v2-dsvm-scenario-amphora-v2-no-jobboard
|
|
parent: octavia-v2-dsvm-scenario-amphora-v2
|
|
vars:
|
|
devstack_localrc:
|
|
OCTAVIA_ENABLE_AMPHORAV2_JOBBOARD: False
|
|
|
|
- project-template:
|
|
name: octavia-tox-tips
|
|
check:
|
|
jobs:
|
|
- octavia-tox-py37-tips
|
|
- octavia-tox-functional-py37-tips
|
|
|
|
- job:
|
|
name: octavia-tox-py37-tips
|
|
parent: openstack-tox-py37
|
|
description: |
|
|
Run tox python 3.7 unit tests against master of related libraries.
|
|
vars:
|
|
tox_install_siblings: true
|
|
zuul_work_dir: src/opendev.org/openstack/octavia
|
|
required-projects:
|
|
- openstack/octavia-lib
|
|
- openstack/octavia
|
|
|
|
- job:
|
|
name: octavia-tox-functional-py37-tips
|
|
parent: openstack-tox-functional-py37
|
|
description: |
|
|
Run tox python 3.7 functional against master of related libraries.
|
|
vars:
|
|
tox_install_siblings: true
|
|
zuul_work_dir: src/opendev.org/openstack/octavia
|
|
required-projects:
|
|
- openstack/octavia-lib
|
|
- openstack/octavia
|
|
|
|
- job:
|
|
name: octavia-amphora-image-build
|
|
parent: base
|
|
description: |
|
|
Builds the amphora image using the released diskimage-builder version,
|
|
not Git master. This job does not publish the image.
|
|
run: playbooks/image-build/run.yaml
|
|
required-projects:
|
|
- openstack/octavia
|
|
- openstack/octavia-lib
|
|
vars:
|
|
amphora_os: ubuntu
|
|
amphora_os_release: bionic
|
|
|
|
- job:
|
|
name: octavia-amphora-image-build-live-bionic
|
|
parent: octavia-amphora-image-build
|
|
description: |
|
|
Builds an Ubuntu Bionic amphora image using diskimage-builder from Git
|
|
master. This job does not publish the image.
|
|
required-projects:
|
|
- openstack/diskimage-builder
|
|
|
|
- job:
|
|
name: octavia-amphora-image-build-live-centos8
|
|
parent: octavia-amphora-image-build
|
|
description: |
|
|
Builds a CentOS 8 amphora image using diskimage-builder from Git
|
|
master. This job does not publish the image.
|
|
required-projects:
|
|
- openstack/diskimage-builder
|
|
vars:
|
|
amphora_os: centos
|
|
amphora_os_release: 8
|
|
|
|
- job:
|
|
name: octavia-v2-dsvm-scenario-nftables
|
|
parent: octavia-v2-dsvm-scenario
|
|
vars:
|
|
devstack_localrc:
|
|
OCTAVIA_AMP_USE_NFTABLES: True
|
|
|
|
- job:
|
|
name: openstack-tox-pip-check-reqs
|
|
parent: openstack-tox
|
|
description: |
|
|
Run pip-missing-reqs and pip-extra-reqs tests to check for missing or
|
|
extra requirements.txt entries.
|
|
|
|
Uses tox with the ``pip-missing-reqs`` and ``pip-extra-reqs``
|
|
environments.
|
|
required-projects:
|
|
- openstack/octavia
|
|
vars:
|
|
tox_envlist: pip-missing-reqs,pip-extra-reqs
|