From b057efe2c55633e487db16802ffedf66d5d351f9 Mon Sep 17 00:00:00 2001 From: kaiokassiano Date: Tue, 5 Dec 2017 12:12:37 -0300 Subject: [PATCH] Initial OSA zuul v3 role jobs This patch implements an initial set of jobs intended to match the current job execution method. It does not intend to improve how the jobs are executed - only to replicate what is currently in openstack-infra/openstack-zuul-jobs and provide the platform to iterate on. Change-Id: I653f7b73ded5a2648c2d519136e261d0ea81c1c1 --- doc/source/conf.py | 4 +++- releasenotes/source/conf.py | 4 +++- vars/ubuntu-16.04.yml | 1 + zuul.d/project.yaml | 25 +++++++++++++++++++++++++ 4 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 zuul.d/project.yaml diff --git a/doc/source/conf.py b/doc/source/conf.py index c67b90c..dc4c605 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -69,7 +69,9 @@ target_name = 'openstack-ansible-' + role_name title = 'OpenStack-Ansible Documentation: ' + role_name + 'role' # The link to the browsable source code (for the left hand menu) -oslosphinx_cgit_link = 'https://git.openstack.org/cgit/openstack/' + target_name +oslosphinx_cgit_link = ( + "https://git.openstack.org/cgit/openstack/{}".format(target_name) +) # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index fd7367f..078d25b 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -63,7 +63,9 @@ target_name = 'openstack-ansible-' + role_name title = 'OpenStack-Ansible Release Notes: ' + role_name + 'role' # The link to the browsable source code (for the left hand menu) -oslosphinx_cgit_link = 'https://git.openstack.org/cgit/openstack/' + target_name +oslosphinx_cgit_link = ( + "https://git.openstack.org/cgit/openstack/{}".format(target_name) +) # Release notes do not need a version number in the title, they # cover multiple releases. diff --git a/vars/ubuntu-16.04.yml b/vars/ubuntu-16.04.yml index ebee525..3921abb 100644 --- a/vars/ubuntu-16.04.yml +++ b/vars/ubuntu-16.04.yml @@ -22,5 +22,6 @@ cache_timeout: 600 ## Common apt packages monasca_agent_distro_packages: + - git - pkg-config - libvirt-dev diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml new file mode 100644 index 0000000..5d6e09b --- /dev/null +++ b/zuul.d/project.yaml @@ -0,0 +1,25 @@ +--- +# 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. + +- project: + name: openstack/openstack-ansible-os_monasca-agent + check: + jobs: + - openstack-ansible-linters + - openstack-ansible-functional-ubuntu-xenial + gate: + jobs: + - openstack-ansible-linters + - openstack-ansible-functional-ubuntu-xenial