From 6fa1f2f6d49615ce4862bf6b373e7efed5cf2c45 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Tue, 31 Oct 2017 12:13:07 +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: I95bf1ff5404a2eaca95b285769f0fbe9aed5d958 --- doc/source/conf.py | 4 +++- releasenotes/source/conf.py | 4 +++- tests/os_designate-overrides.yml | 4 +--- zuul.d/project.yaml | 27 +++++++++++++++++++++++++++ 4 files changed, 34 insertions(+), 5 deletions(-) create mode 100644 zuul.d/project.yaml diff --git a/doc/source/conf.py b/doc/source/conf.py index 02c4c40..9c31e6d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -70,7 +70,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 352074b..394e866 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/tests/os_designate-overrides.yml b/tests/os_designate-overrides.yml index c93c9e2..07f3b14 100644 --- a/tests/os_designate-overrides.yml +++ b/tests/os_designate-overrides.yml @@ -16,8 +16,6 @@ designate_venv_tag: "testing" designate_developer_mode: true -designate_git_install_branch: master -designate_requirements_git_install_branch: master designate_service_password: "secrete" designate_galera_address: "{{ hostvars[groups['galera_all'][0]]['ansible_host'] }}" designate_galera_database: designate @@ -57,7 +55,7 @@ tempest_run: yes tempest_plugins: - name: designate-tempest-plugin repo: https://git.openstack.org/openstack/designate-tempest-plugin - branch: master + branch: 0.2.0 tempest_test_whitelist: - designate_tempest_plugin.tests.scenario.v2.test_zones diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml new file mode 100644 index 0000000..fe78cbe --- /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-os_designate + check: + jobs: + - openstack-ansible-linters + - openstack-ansible-functional-centos-7 + - openstack-ansible-functional-ubuntu-xenial + gate: + jobs: + - openstack-ansible-linters + - openstack-ansible-functional-centos-7 + - openstack-ansible-functional-ubuntu-xenial