From 6370fe9d3a265b2ec5b4c1d227a49458a5eb48c2 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Sun, 22 Oct 2017 08:06:01 +0000 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: Idaab33d3794841d6142faba54aa194995dd47d6b --- doc/source/conf.py | 4 +++- releasenotes/source/conf.py | 4 +++- run_tests.sh | 2 +- zuul.d/project.yaml | 27 +++++++++++++++++++++++++++ 4 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 zuul.d/project.yaml diff --git a/doc/source/conf.py b/doc/source/conf.py index 2bed75a..96b0be8 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -67,7 +67,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 = 'http://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 d8f47e6..d8effd5 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -65,7 +65,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 = 'http://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/run_tests.sh b/run_tests.sh index 8f87c45..0da3d1d 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -52,7 +52,7 @@ git_clone_repo() { if [[ "$(basename ${WORKING_DIR})" == "openstack-ansible-tests" ]]; then ln -s ${WORKING_DIR} ${WORKING_DIR}/tests/common else - git clone -b stable/ocata \ + git clone -b stable/newton \ https://git.openstack.org/openstack/openstack-ansible-tests \ tests/common fi diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml new file mode 100644 index 0000000..45ac3d4 --- /dev/null +++ b/zuul.d/project.yaml @@ -0,0 +1,27 @@ +--- +# 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-memcached_server + check: + jobs: + - openstack-ansible-linters + - openstack-ansible-functional-ubuntu-trusty + - openstack-ansible-functional-ubuntu-xenial + gate: + jobs: + - openstack-ansible-linters + - openstack-ansible-functional-ubuntu-trusty + - openstack-ansible-functional-ubuntu-xenial