openstack-ansible-tests/zuul.d/jobs.yaml
Logan V 4a795e649f Add systemd roles to required projects
Change-Id: I776e34f55237376620d3a107bb363426af0ca2ee
2018-03-19 21:48:50 -05:00

199 lines
7.7 KiB
YAML

---
# Copyright 2017, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
- job:
name: openstack-ansible-linters
parent: openstack-tox-linters
description: |
Run lint tests for an OpenStack-Ansible project.
Uses tox with the ``linters`` environment.
required-projects:
- name: openstack/ansible-hardening
- name: openstack/ansible-role-systemd_mount
- name: openstack/ansible-role-systemd_networkd
- name: openstack/ansible-role-systemd_service
- name: openstack/openstack-ansible-apt_package_pinning
- name: openstack/openstack-ansible-ceph_client
- name: openstack/openstack-ansible-galera_client
- name: openstack/openstack-ansible-galera_server
- name: openstack/openstack-ansible-haproxy_server
- name: openstack/openstack-ansible-lxc_container_create
- name: openstack/openstack-ansible-lxc_hosts
- name: openstack/openstack-ansible-memcached_server
- name: openstack/openstack-ansible-openstack_hosts
- name: openstack/openstack-ansible-openstack_openrc
- name: openstack/openstack-ansible-ops
- name: openstack/openstack-ansible-os_aodh
- name: openstack/openstack-ansible-os_barbican
- name: openstack/openstack-ansible-os_ceilometer
- name: openstack/openstack-ansible-os_cinder
- name: openstack/openstack-ansible-os_designate
- name: openstack/openstack-ansible-os_glance
- name: openstack/openstack-ansible-os_gnocchi
- name: openstack/openstack-ansible-os_heat
- name: openstack/openstack-ansible-os_keystone
- name: openstack/openstack-ansible-os_magnum
- name: openstack/openstack-ansible-os_neutron
- name: openstack/openstack-ansible-os_nova
- name: openstack/openstack-ansible-os_octavia
- name: openstack/openstack-ansible-os_swift
- name: openstack/openstack-ansible-os_tempest
- name: openstack/openstack-ansible-os_trove
- name: openstack/openstack-ansible-pip_install
- name: openstack/openstack-ansible-plugins
- name: openstack/openstack-ansible-rabbitmq_server
- name: openstack/openstack-ansible-repo_build
- name: openstack/openstack-ansible-repo_server
- name: openstack/openstack-ansible-rsyslog_client
- name: openstack/openstack-ansible-rsyslog_server
- name: openstack/openstack-ansible-tests
- name: openstack/requirements
timeout: 600 # 5 mins
- job:
name: openstack-ansible-functional
parent: base
description: |
Run functional tests for an OpenStack-Ansible project.
Uses tox with the ``functional`` environment by default,
but the environment name can be changed through the use
of the ``tox_env`` variable.
required-projects:
- name: openstack/ansible-hardening
- name: openstack/ansible-role-systemd_mount
- name: openstack/ansible-role-systemd_networkd
- name: openstack/ansible-role-systemd_service
- name: openstack/openstack-ansible-apt_package_pinning
- name: openstack/openstack-ansible-ceph_client
- name: openstack/openstack-ansible-galera_client
- name: openstack/openstack-ansible-galera_server
- name: openstack/openstack-ansible-haproxy_server
- name: openstack/openstack-ansible-lxc_container_create
- name: openstack/openstack-ansible-lxc_hosts
- name: openstack/openstack-ansible-memcached_server
- name: openstack/openstack-ansible-openstack_hosts
- name: openstack/openstack-ansible-openstack_openrc
- name: openstack/openstack-ansible-ops
- name: openstack/openstack-ansible-os_aodh
- name: openstack/openstack-ansible-os_barbican
- name: openstack/openstack-ansible-os_ceilometer
- name: openstack/openstack-ansible-os_cinder
- name: openstack/openstack-ansible-os_designate
- name: openstack/openstack-ansible-os_glance
- name: openstack/openstack-ansible-os_heat
- name: openstack/openstack-ansible-os_keystone
- name: openstack/openstack-ansible-os_magnum
- name: openstack/openstack-ansible-os_neutron
- name: openstack/openstack-ansible-os_nova
- name: openstack/openstack-ansible-os_octavia
- name: openstack/openstack-ansible-os_swift
- name: openstack/openstack-ansible-os_tempest
- name: openstack/openstack-ansible-os_trove
- name: openstack/openstack-ansible-pip_install
- name: openstack/openstack-ansible-plugins
- name: openstack/openstack-ansible-rabbitmq_server
- name: openstack/openstack-ansible-repo_build
- name: openstack/openstack-ansible-repo_server
- name: openstack/openstack-ansible-rsyslog_client
- name: openstack/openstack-ansible-rsyslog_server
- name: openstack/openstack-ansible-tests
- name: openstack/requirements
irrelevant-files:
- ^\.git.*
- ^.*\.(example|md|rst)$
- ^deploy-guide/.*
- ^doc/.*
- ^releasenotes/.*
- ^setup\.(cfg|py)$
- ^tox.ini$
- ^Vagrantfile
timeout: 5400 # 90 mins
run: zuul.d/playbooks/run.yml
post-run: zuul.d/playbooks/post.yml
vars:
tox_env: functional
- job:
name: openstack-ansible-upgrade
parent: openstack-ansible-functional
description: |
Run upgrade tests for an OpenStack-Ansible project.
Uses tox with the ``upgrade`` environment.
vars:
tox_env: upgrade
- job:
name: openstack-ansible-functional-ubuntu-xenial
parent: openstack-ansible-functional
nodeset: ubuntu-xenial
- job:
name: openstack-ansible-upgrade-ubuntu-xenial
parent: openstack-ansible-upgrade
nodeset: ubuntu-xenial
- job:
name: openstack-ansible-upgrade-ubuntu-xenial-nv
parent: openstack-ansible-upgrade-ubuntu-xenial
voting: false
- job:
name: openstack-ansible-functional-opensuse-423
parent: openstack-ansible-functional
nodeset: opensuse-423
- job:
name: openstack-ansible-functional-opensuse-423-nv
parent: openstack-ansible-functional-opensuse-423
voting: false
- job:
name: openstack-ansible-functional-centos-7
parent: openstack-ansible-functional
nodeset: centos-7
- job:
name: openstack-ansible-functional-centos-7-nv
parent: openstack-ansible-functional-centos-7
voting: false
- job:
name: openstack-ansible-cross-repo-functional
parent: openstack-ansible-functional
description: |
Run functional tests for an OpenStack-Ansible project.
Uses tox with the ``functional`` environment by default,
but the environment name can be changed through the use
of the ``tox_env`` variable. The OpenStack-Ansible repo
to execute the tests from must be specified in the
``osa_test_repo`` variable.
nodeset: ubuntu-xenial
- job:
name: openstack-ansible-integrated-deploy-aio
parent: openstack-ansible-deploy-aio
voting: false
required-projects:
- openstack/openstack-ansible
description: |
Run AIO tests for an OpenStack-Ansible project.
This uses the integrated repository openstack-ansible
on Ubuntu Xenial with the scenario ``deploy`` ``aio``.
Any project can then use
the ``openstack-ansible-integrated-deploy-aio`` job in
whatever pipeline is appropriate.
vars:
osa_test_repo: "openstack/openstack-ansible"