Jean-Philippe Evrard 80dfbe783d Temporarily use tempest master for all builds and fix configs
A fix [1] was introduced in openstack-ansible to use tempest from
the master branch in the AIO, but respecting the installation
from PyPI everywhere else. This allowed users to chose
the appropriate behaviour for their use cases.

This patch [1] also made sure we didn't have anything else to do
when the patch would land on stable branches, as this would
automatically get disabled.

However, as of today, there is still no new version of tempest,
and our stable/rocky branch has been cut. Therefore the fix that
was in place is useless and another approach needs to be
taken.

We will move to use tempest master for master and stable/rocky
branch until the fix that caused this series of patch to
happen is released [2] for tempest on PyPI.

A temporary workaround was also added to ensure ceph can still
be built, by freezing the ceph-ansible role sha.

The checksum fill option, was useful a long time ago, but at this point
its just some lovely technical debt that we carry around like an old
dirty security blanket. This change sets us free from the sins of our
past.

We seem to have a lot of jobs that timeout but seem to be very
close to completing, so let's bump the timeout by 20 minutes.

To make up for it, we drop most of our non-voting jobs because
they are taking up resources and always failing.  This should
decrease the amount of resources we're consuming.

Also, instances are failing to launch when jobs hit any nodepool
VMs inside OVH.

[1]: abe0b22c76
[2]: 7d2b636a30 (diff-5c9acbc10dc9d27b47985cd74ab100f6)

Change-Id: I42e0cefb28184964a50f66b18d8eba6d2a04eca7
Closes-Bug: 1786095
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-08-18 09:42:18 -04:00

276 lines
7.3 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-deploy-aio
parent: base
description: |
Run functional tests for an OpenStack-Ansible project.
Uses the gate-check-commit.sh script, running a default
aio deploy.
run: zuul.d/playbooks/run.yml
post-run: zuul.d/playbooks/post.yml
timeout: 8400
irrelevant-files:
- ^\.git.*
- ^.*\.(example|md|rst)$
- ^deploy-guide/.*
- ^doc/.*
- ^releasenotes/.*
- ^setup\.(cfg|py)$
- ^tox.ini$
- ^Vagrantfile
vars:
action: deploy
scenario: aio_lxc
install_method: source
# Ensuring overrides work
- job:
name: openstack-ansible-varstest-aio_lxc-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
vars:
action: varstest
# Experimental job for checking our AIO can deploy with
# a different ansible version
- job:
name: openstack-ansible-deploy_with_ansible_devel-aio-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
branches: ^(devel|master)$
required-projects:
- name: github.com/ansible/ansible
override-checkout: devel
vars:
ansible_package: "file://{{ ansible_user_dir }}/src/github.com/ansible/ansible"
# Experimental job for checking our AIO can deploy with
# a different ansible version
- job:
name: openstack-ansible-deploy_with_ansible_next-aio-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
branches: ^(devel|master)$
required-projects:
- name: github.com/ansible/ansible
override-checkout: stable-2.6
vars:
ansible_package: "file://{{ ansible_user_dir }}/src/github.com/ansible/ansible"
# ubuntu
- job:
name: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
parent: openstack-ansible-deploy-aio
nodeset: ubuntu-xenial
- job:
name: openstack-ansible-deploy-aio_distro_lxc-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
voting: false
vars:
install_method: distro
- job:
name: openstack-ansible-deploy-ceph-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
vars:
action: deploy
scenario: ceph
- job:
name: openstack-ansible-deploy-aio_metal-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
vars:
action: deploy
scenario: aio_metal
- job:
name: openstack-ansible-upgrade-aio_lxc-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
timeout: 10800
vars:
action: upgrade
scenario: aio_lxc
- job:
name: openstack-ansible-deploy-aio_nspawn-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
voting: false
vars:
scenario: aio_nspawn
- job:
name: openstack-ansible-upgrade-ceph-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
timeout: 10800
vars:
action: upgrade
scenario: ceph
- job:
name: openstack-ansible-deploy-octavia-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
vars:
action: deploy
scenario: octavia
- job:
name: openstack-ansible-deploy-translations-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
vars:
action: deploy
scenario: translations
- job:
name: openstack-ansible-deploy-congress-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
voting: false
vars:
action: deploy
scenario: congress
- job:
name: openstack-ansible-deploy-aio_basekit-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
voting: true
vars:
action: deploy
scenario: aio_basekit
- job:
name: openstack-ansible-deploy-aio_distro_basekit-ubuntu-xenial
parent: openstack-ansible-deploy-aio_basekit-ubuntu-xenial
vars:
install_method: distro
# centos
- job:
name: openstack-ansible-deploy-aio_lxc-centos-7
parent: openstack-ansible-deploy-aio
nodeset: centos-7
voting: false
- job:
name: openstack-ansible-deploy-aio_distro_lxc-centos-7
parent: openstack-ansible-deploy-aio_lxc-centos-7
vars:
install_method: distro
- job:
name: openstack-ansible-deploy-aio_basekit-centos-7
parent: openstack-ansible-deploy-aio_lxc-centos-7
vars:
action: deploy
scenario: aio_basekit
- job:
name: openstack-ansible-deploy-aio_distro_basekit-centos-7
parent: openstack-ansible-deploy-aio_basekit-centos-7
vars:
install_method: distro
- job:
name: openstack-ansible-deploy-ceph-centos-7
parent: openstack-ansible-deploy-aio_lxc-centos-7
vars:
action: deploy
scenario: ceph
- job:
name: openstack-ansible-upgrade-aio_lxc-centos-7
parent: openstack-ansible-deploy-aio_lxc-centos-7
timeout: 10800
vars:
action: upgrade
scenario: aio_lxc
- job:
name: openstack-ansible-deploy-aio_metal-centos-7
parent: openstack-ansible-deploy-aio_lxc-centos-7
voting: false
vars:
actio: deploy
scenario: aio_metal
- job:
name: openstack-ansible-deploy-aio_nspawn-centos-7
parent: openstack-ansible-deploy-aio_lxc-centos-7
vars:
scenario: aio_nspawn
- job:
name: openstack-ansible-upgrade-ceph-centos-7
parent: openstack-ansible-deploy-aio_lxc-centos-7
timeout: 10800
vars:
action: upgrade
scenario: ceph
# opensuse
- job:
name: openstack-ansible-deploy-aio_lxc-opensuse-423
parent: openstack-ansible-deploy-aio
nodeset: opensuse-423
voting: false
- job:
name: openstack-ansible-deploy-aio_distro_lxc-opensuse-423
parent: openstack-ansible-deploy-aio_lxc-opensuse-423
voting: true
vars:
install_method: distro
- job:
name: openstack-ansible-deploy-aio_basekit-opensuse-423
parent: openstack-ansible-deploy-aio_lxc-opensuse-423
voting: true
vars:
action: deploy
scenario: aio_basekit
- job:
name: openstack-ansible-deploy-aio_distro_basekit-opensuse-423
parent: openstack-ansible-deploy-aio_basekit-opensuse-423
vars:
install_method: distro
- job:
name: openstack-ansible-deploy-ceph-opensuse-423
parent: openstack-ansible-deploy-aio_lxc-opensuse-423
vars:
action: deploy
scenario: ceph
- job:
name: openstack-ansible-upgrade-aio_lxc-opensuse-423
parent: openstack-ansible-deploy-aio_lxc-opensuse-423
timeout: 10800
vars:
action: upgrade
scenario: aio_lxc
- job:
name: openstack-ansible-deploy-aio_metal-opensuse-423
parent: openstack-ansible-deploy-aio_lxc-opensuse-423
voting: true
vars:
action: deploy
scenario: aio_metal
- job:
name: openstack-ansible-deploy-aio_nspawn-opensuse-423
parent: openstack-ansible-deploy-aio_lxc-opensuse-423
vars:
scenario: aio_nspawn