b4d772b9fd
Do not run devstack and its siblings if only rst files, releasenotes, or files in doc directory change. This is the minimal set of irrelevant files shared by most projects already. Needed-By: Ie8504ba3d5d46f6338a228ed2d248ba6363e37ae Change-Id: Id0095763eb91592c2fd1a913526883987df704bd
165 lines
5.0 KiB
YAML
165 lines
5.0 KiB
YAML
- nodeset:
|
|
name: openstack-single-node
|
|
nodes:
|
|
- name: controller
|
|
label: ubuntu-xenial
|
|
groups:
|
|
- name: tempest
|
|
nodes:
|
|
- controller
|
|
|
|
- nodeset:
|
|
name: openstack-two-node
|
|
nodes:
|
|
- name: controller
|
|
label: ubuntu-xenial
|
|
- name: compute1
|
|
label: ubuntu-xenial
|
|
groups:
|
|
- name: tempest
|
|
nodes:
|
|
- controller
|
|
- name: compute
|
|
nodes:
|
|
- controller
|
|
- compute1
|
|
- name: subnode
|
|
nodes:
|
|
- compute1
|
|
|
|
- job:
|
|
name: devstack
|
|
parent: multinode
|
|
description: Base devstack job
|
|
nodeset: openstack-single-node
|
|
required-projects:
|
|
- openstack-dev/devstack
|
|
- openstack/cinder
|
|
- openstack/glance
|
|
- openstack/keystone
|
|
- openstack/neutron
|
|
- openstack/nova
|
|
- openstack/requirements
|
|
- openstack/swift
|
|
roles:
|
|
- zuul: openstack-infra/devstack-gate
|
|
- zuul: openstack-infra/openstack-zuul-jobs
|
|
timeout: 7200
|
|
vars:
|
|
test_matrix_configs: ['neutron', 'tlsproxy']
|
|
devstack_localrc:
|
|
DATABASE_PASSWORD: secretdatabase
|
|
RABBIT_PASSWORD: secretrabbit
|
|
ADMIN_PASSWORD: secretadmin
|
|
SERVICE_PASSWORD: secretservice
|
|
NETWORK_GATEWAY: 10.1.0.1
|
|
Q_USE_DEBUG_COMMAND: true
|
|
FIXED_RANGE: 10.1.0.0/20
|
|
IPV4_ADDRS_SAFE_TO_USE: 10.1.0.0/20
|
|
FLOATING_RANGE: 172.24.5.0/24
|
|
PUBLIC_NETWORK_GATEWAY: 172.24.5.1
|
|
FLOATING_HOST_PREFIX: 172.24.4
|
|
FLOATING_HOST_MASK: 23
|
|
SWIFT_REPLICAS: 1
|
|
SWIFT_START_ALL_SERVICES: false
|
|
SWIFT_HASH: 1234123412341234
|
|
LOGFILE: /opt/stack/logs/devstacklog.txt
|
|
LOG_COLOR: false
|
|
VERBOSE: true
|
|
NOVNC_FROM_PACKAGE: true
|
|
ERROR_ON_CLONE: true
|
|
# Gate jobs can't deal with nested virt. Disable it.
|
|
LIBVIRT_TYPE: qemu
|
|
# NOTE(dims): etcd 3.x is not available in debian/ubuntu
|
|
# etc. As a stop gap measure, devstack uses wget to download
|
|
# from the location below for all the CI jobs.
|
|
ETCD_DOWNLOAD_URL: http://tarballs.openstack.org/etcd/
|
|
devstack_services:
|
|
horizon: false
|
|
tempest: false
|
|
pre-run: playbooks/pre.yaml
|
|
run: playbooks/devstack.yaml
|
|
post-run: playbooks/post.yaml
|
|
irrelevant-files:
|
|
# Documentation related
|
|
- ^.*\.rst$
|
|
- ^api-ref/.*$
|
|
- ^doc/.*$
|
|
- ^releasenotes/.*$
|
|
# Translations
|
|
- ^.*/locale/.*po$
|
|
|
|
- job:
|
|
name: devstack-multinode
|
|
parent: devstack
|
|
description: Base devstack multinode job
|
|
nodeset: openstack-two-node
|
|
# NOTE(andreaf) The multinode job is useful to see the setup of different
|
|
# services on different nodes, however the subnode configuration is not
|
|
# ready yet. Until then this job should stay non-voting.
|
|
voting: false
|
|
|
|
- job:
|
|
name: devstack-tox-base
|
|
parent: devstack
|
|
description: |
|
|
Base job for devstack-based functional tests that use tox.
|
|
|
|
This job is not intended to be run directly. It's just here
|
|
for organizational purposes for devstack-tox-functional and
|
|
devstack-tox-functional-consumer.
|
|
post-run: playbooks/tox/post.yaml
|
|
vars:
|
|
tox_envlist: functional
|
|
tox_install_siblings: false
|
|
|
|
- job:
|
|
name: devstack-tox-functional
|
|
parent: devstack-tox-base
|
|
description: |
|
|
Base job for devstack-based functional tests that use tox.
|
|
|
|
Runs devstack, then runs the tox ``functional`` environment,
|
|
then collects tox/testr build output like normal tox jobs.
|
|
|
|
Turns off tox sibling installation. Projects may be involved
|
|
in the devstack deployment and so may be in the required-projects
|
|
list, but may not want to test against master of the other
|
|
projects in their tox env. Child jobs can set tox_install_siblings
|
|
to True to re-enable sibling processing.
|
|
run: playbooks/tox/run-both.yaml
|
|
|
|
- job:
|
|
name: devstack-tox-functional-consumer
|
|
parent: devstack
|
|
description: |
|
|
Base job for devstack-based functional tests for projects that
|
|
consume the devstack cloud.
|
|
|
|
This base job should only be used by projects that are not involved
|
|
in the devstack deployment step, but are instead projects that are using
|
|
devstack to get a cloud against which they can test things.
|
|
|
|
Runs devstack in pre-run, then runs the tox ``functional`` environment,
|
|
then collects tox/testr build output like normal tox jobs.
|
|
|
|
Turns off tox sibling installation. Projects may be involved
|
|
in the devstack deployment and so may be in the required-projects
|
|
list, but may not want to test against master of the other
|
|
projects in their tox env. Child jobs can set tox_install_siblings
|
|
to True to re-enable sibling processing.
|
|
pre-run:
|
|
- playbooks/devstack.yaml
|
|
- playbooks/tox/pre.yaml
|
|
run: playbooks/tox/run.yaml
|
|
|
|
- project:
|
|
name: openstack-dev/devstack
|
|
check:
|
|
jobs:
|
|
- devstack
|
|
- devstack-multinode
|
|
gate:
|
|
jobs:
|
|
- devstack
|