From c7771d6090b921c8db199d6bf8e98e23114aba0e Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Thu, 15 Mar 2018 13:00:29 +0000 Subject: [PATCH] Import python_venv_build ansible role In OpenStack-Ansible python venvs are built, packaged and consumed at run-time. Currently this uses the same code across multiple roles. This role will be used by OpenStack-Ansible to replace the duplicated code in every OSA role but could also be used by any other project who may wish to. An individual core group is added, but the general OSA core group would have core capabilities as a back-stop. Needed-By: https://review.openstack.org/553393 Change-Id: Ide616a0e3427cd908bd530535c3840c073b787b2 --- .../ansible-role-python_venv_build.config | 15 +++++++++++++++ gerrit/projects.yaml | 6 ++++++ gerritbot/channels.yaml | 1 + zuul/main.yaml | 1 + 4 files changed, 23 insertions(+) create mode 100644 gerrit/acls/openstack/ansible-role-python_venv_build.config diff --git a/gerrit/acls/openstack/ansible-role-python_venv_build.config b/gerrit/acls/openstack/ansible-role-python_venv_build.config new file mode 100644 index 0000000000..db113934ad --- /dev/null +++ b/gerrit/acls/openstack/ansible-role-python_venv_build.config @@ -0,0 +1,15 @@ +[access "refs/heads/*"] +abandon = group ansible-role-python_venv_build-core +abandon = group openstack-ansible-core +create = group openstack-ansible-release +label-Code-Review = -2..+2 group ansible-role-python_venv_build-core +label-Code-Review = -2..+2 group openstack-ansible-core +label-Workflow = -1..+1 group ansible-role-python_venv_build-core +label-Workflow = -1..+1 group openstack-ansible-core + +[receive] +requireChangeId = true +requireContributorAgreement = true + +[submit] +mergeContent = true diff --git a/gerrit/projects.yaml b/gerrit/projects.yaml index ccd9015b49..75bf58dabc 100755 --- a/gerrit/projects.yaml +++ b/gerrit/projects.yaml @@ -949,6 +949,12 @@ description: Ansible role to manage Nginx - project: openstack/ansible-role-nodepool description: Ansible role to manage Nodepool +- project: openstack/ansible-role-python_venv_build + description: Ansible role to manage the building of python venvs + upstream: https://github.com/odyssey4me/ansible-python_venv_build + groups: + - openstack-ansible + docimpact-group: openstack-ansible - project: openstack/ansible-role-redhat-subscription description: Ansible role to configure Red Hat Subscription Management - project: openstack/ansible-role-shade diff --git a/gerritbot/channels.yaml b/gerritbot/channels.yaml index e4e1264b61..f992e7dccf 100755 --- a/gerritbot/channels.yaml +++ b/gerritbot/channels.yaml @@ -155,6 +155,7 @@ openstack-ansible: # Then alphabetical order - openstack/ansible-config_template - openstack/ansible-hardening + - openstack/ansible-role-python_venv_build - openstack/ansible-role-systemd_mount - openstack/ansible-role-systemd_networkd - openstack/ansible-role-systemd_service diff --git a/zuul/main.yaml b/zuul/main.yaml index 770f913d6a..73e3f78a84 100644 --- a/zuul/main.yaml +++ b/zuul/main.yaml @@ -224,6 +224,7 @@ - openstack/ansible-role-logrotate - openstack/ansible-role-nginx - openstack/ansible-role-nodepool + - openstack/ansible-role-python_venv_build - openstack/ansible-role-redhat-subscription - openstack/ansible-role-shade - openstack/ansible-role-ssh