2017-10-02 10:05:17 -05:00
|
|
|
- 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
|
2017-12-01 17:36:38 +00:00
|
|
|
- name: subnode
|
|
|
|
nodes:
|
|
|
|
- compute1
|
2017-10-02 10:05:17 -05:00
|
|
|
|
|
|
|
- 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
|
2017-10-20 14:21:33 +11:00
|
|
|
roles:
|
2017-12-01 17:36:38 +00:00
|
|
|
- zuul: openstack-infra/devstack-gate
|
2017-10-20 14:21:33 +11:00
|
|
|
- zuul: openstack-infra/openstack-zuul-jobs
|
2017-10-02 10:05:17 -05:00
|
|
|
timeout: 7200
|
|
|
|
vars:
|
2017-12-01 17:36:38 +00:00
|
|
|
test_matrix_configs: ['neutron', 'tlsproxy']
|
2017-10-02 10:05:17 -05:00
|
|
|
devstack_localrc:
|
|
|
|
DATABASE_PASSWORD: secretdatabase
|
|
|
|
RABBIT_PASSWORD: secretrabbit
|
|
|
|
ADMIN_PASSWORD: secretadmin
|
|
|
|
SERVICE_PASSWORD: secretservice
|
|
|
|
NETWORK_GATEWAY: 10.1.0.1
|
2017-10-28 10:23:58 -07:00
|
|
|
Q_USE_DEBUG_COMMAND: true
|
2017-10-02 10:05:17 -05:00
|
|
|
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
|
2017-10-28 10:23:58 -07:00
|
|
|
SWIFT_START_ALL_SERVICES: false
|
2017-12-01 17:36:38 +00:00
|
|
|
SWIFT_HASH: 1234123412341234
|
2017-10-02 10:05:17 -05:00
|
|
|
LOGFILE: /opt/stack/logs/devstacklog.txt
|
2017-10-28 10:23:58 -07:00
|
|
|
LOG_COLOR: false
|
|
|
|
VERBOSE: true
|
|
|
|
NOVNC_FROM_PACKAGE: true
|
|
|
|
ERROR_ON_CLONE: true
|
2017-10-21 18:04:49 +02:00
|
|
|
# Gate jobs can't deal with nested virt. Disable it.
|
|
|
|
LIBVIRT_TYPE: qemu
|
2017-10-02 10:05:17 -05:00
|
|
|
# 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.
|
2017-10-28 10:23:58 -07:00
|
|
|
ETCD_DOWNLOAD_URL: http://tarballs.openstack.org/etcd/
|
2017-10-02 10:05:17 -05:00
|
|
|
devstack_services:
|
2017-10-28 10:23:58 -07:00
|
|
|
horizon: false
|
|
|
|
tempest: false
|
|
|
|
pre-run: playbooks/pre.yaml
|
|
|
|
run: playbooks/devstack.yaml
|
|
|
|
post-run: playbooks/post.yaml
|
2017-12-23 20:17:33 +01:00
|
|
|
irrelevant-files:
|
|
|
|
# Documentation related
|
|
|
|
- ^.*\.rst$
|
|
|
|
- ^api-ref/.*$
|
|
|
|
- ^doc/.*$
|
|
|
|
- ^releasenotes/.*$
|
|
|
|
# Translations
|
|
|
|
- ^.*/locale/.*po$
|
2017-10-02 10:05:17 -05:00
|
|
|
|
2017-12-01 17:36:38 +00:00
|
|
|
- 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
|
2017-10-02 10:05:17 -05:00
|
|
|
|
2017-12-06 09:07:47 -06:00
|
|
|
- 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
|
|
|
|
|
2017-10-02 10:05:17 -05:00
|
|
|
- project:
|
|
|
|
name: openstack-dev/devstack
|
|
|
|
check:
|
|
|
|
jobs:
|
2017-10-15 16:23:57 -07:00
|
|
|
- devstack
|
2017-12-01 17:36:38 +00:00
|
|
|
- devstack-multinode
|
2017-12-06 09:11:07 -06:00
|
|
|
gate:
|
|
|
|
jobs:
|
|
|
|
- devstack
|