metalsmith/.zuul.yaml
Lucas Alvares Gomes 940d2cfa07 Explicitly set jobs to ML2/OVS
Devstack is changing the Neutron default to OVN backend. This patch is
to make sure Ironic (and related projects) gate will not get broken by
this change as currently OVN doesn't support baremetal nodes.

Change-Id: Ib4e1624ef03f4dc73db435bb12bdd9f687dd3c02
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2020-09-01 16:35:15 +01:00

195 lines
6.0 KiB
YAML

- job:
name: metalsmith-integration-base
description: |
Base job for devstack-based metalsmith jobs.
parent: devstack-minimal
pre-run: playbooks/integration/pre.yaml
post-run: playbooks/integration/post.yaml
run: playbooks/integration/run.yaml
irrelevant-files:
- ^.*\.rst$
- ^api-ref/.*$
- ^doc/.*$
- ^lower-constraints.txt$
- ^install-guide/.*$
- ^ironic/tests/.*$
- ^metalsmith/test/.*$
- ^releasenotes/.*$
- ^setup.cfg$
- ^test-requirements.txt$
- ^tools/.*$
- ^tox.ini$
timeout: 5400
required-projects:
- openstack/keystone
- openstack/neutron
- openstack/glance
- openstack/swift
- openstack/ironic
- openstack/ironic-python-agent-builder
- openstack/metalsmith
vars:
ironic_bm_logs: /opt/stack/logs/ironic-bm-logs
devstack_services:
dstat: true
etcd3: true
mysql: true
rabbit: true
tls-proxy: true
# Keystone services
key: true
# Glance services
g-api: true
g-reg: true
# Nova services
n-api: false
n-api-meta: false
n-cauth: false
n-cond: false
n-cpu: false
n-novnc: false
n-obj: false
n-sch: false
placement-api: false
# Neutron services
q-agt: true
q-dhcp: true
q-l3: true
q-meta: true
q-metering: true
q-svc: true
# OVN services
ovn-controller: false
ovn-northd: false
ovs-vswitchd: false
ovsdb-server: false
q-ovn-metadata-agent: false
# Swift services
s-account: true
s-container: true
s-object: true
s-proxy: true
# Cinder services
c-api: false
c-bak: false
c-sch: false
c-vol: false
cinder: false
# Ceilometer services
ceilometer-acentral: False
ceilometer-acompute: False
ceilometer-alarm-evaluator: False
ceilometer-alarm-notifier: False
ceilometer-anotification: False
ceilometer-api: False
ceilometer-collector: False
# Services we don't need.
horizon: false
tempest: false
devstack_plugins:
ironic: https://opendev.org/openstack/ironic
devstack_localrc:
Q_AGENT: openvswitch
Q_ML2_TENANT_NETWORK_TYPE: vxlan
Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch
IRONIC_BAREMETAL_BASIC_OPS: true
IRONIC_BUILD_DEPLOY_RAMDISK: false
IRONIC_DEFAULT_DEPLOY_INTERFACE: direct
IRONIC_DEPLOY_DRIVER: ipmi
IRONIC_RAMDISK_TYPE: tinyipa
IRONIC_VM_COUNT: 1
IRONIC_VM_LOG_DIR: /opt/stack/logs/ironic-bm-logs
IRONIC_VM_SPECS_CPU: 2
IRONIC_VM_SPECS_DISK: 10
IRONIC_VM_SPECS_RAM: 1024
LIBVIRT_STORAGE_POOL_PATH: /opt/libvirt/images
SWIFT_ENABLE_TEMPURLS: true
SWIFT_HASH: 54bd5642300c4b45-846f8636a70a07d2
SWIFT_START_ALL_SERVICES: false
SWIFT_TEMPURL_KEY: 54bd5642300c4b45846f8636a70a07d2
centos_glance_initramds_image: test-centos-initramfs
centos_glance_kernel_image: test-centos-kernel
centos_glance_root_image: test-centos-partition
centos_glance_whole_disk_image: test-centos-wholedisk
metalsmith_root_size: 9
metalsmith_python: python3
- job:
name: metalsmith-integration-glance-localboot-centos7
description: |
Integration job using Glance as image source and CentOS7 with local boot.
parent: metalsmith-integration-base
timeout: 7200
pre-run: playbooks/integration/centos-image.yaml
vars:
devstack_localrc:
# NOTE(dtantsur): we need to use streaming, otherwise the image won't
# fit in RAM.
IRONIC_AGENT_IMAGE_DOWNLOAD_SOURCE: http
devstack_services:
# Since we're using streaming, try non-swift backends.
s-account: false
s-container: false
s-object: false
s-proxy: false
configure_instance_user: metalsmith
metalsmith_netboot: false
metalsmith_precreate_port: false
metalsmith_partition_image: test-centos-partition
metalsmith_whole_disk_image: test-centos-wholedisk
metalsmith_swap_size: 1024
metalsmith_traits: [CUSTOM_GOLD]
- job:
name: metalsmith-integration-glance-netboot-cirros-iscsi
description: |
Integration job using Glance as image source and CirrOS with netboot.
parent: metalsmith-integration-base
vars:
devstack_localrc:
IRONIC_DEFAULT_DEPLOY_INTERFACE: iscsi
metalsmith_netboot: true
metalsmith_precreate_port: true
- job:
name: metalsmith-integration-glance-netboot-cirros-direct
description: |
Integration job using Glance as image source and direct deploy.
parent: metalsmith-integration-base
run: playbooks/integration/run.yaml
vars:
metalsmith_netboot: true
metalsmith_precreate_port: false
- job:
name: metalsmith-integration-http-netboot-cirros-direct
description: |
Integration job using HTTP as image source and direct deploy.
parent: metalsmith-integration-base
run: playbooks/integration/run.yaml
vars:
metalsmith_netboot: true
metalsmith_precreate_port: true
metalsmith_use_http: true
- project:
templates:
- check-requirements
- openstack-python3-victoria-jobs
- openstack-lower-constraints-jobs
- openstack-cover-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- metalsmith-integration-glance-localboot-centos7
- metalsmith-integration-glance-netboot-cirros-iscsi
- metalsmith-integration-glance-netboot-cirros-direct
- metalsmith-integration-http-netboot-cirros-direct
gate:
jobs:
- metalsmith-integration-glance-localboot-centos7
- metalsmith-integration-glance-netboot-cirros-iscsi
- metalsmith-integration-glance-netboot-cirros-direct
- metalsmith-integration-http-netboot-cirros-direct