From f8a44c1dc2af33a8d65527526a920675b9ab7a23 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Tue, 24 Mar 2015 10:23:19 -0400 Subject: [PATCH] Add os-testr repo This commit adds a new repo, os-testr. The intent of this repo is to provide tooling to interact and use testr. Right now it contains 2 pieces subunit-trace, which has become the de-facto output filter for running tests, and ostestr which is a testr wrapper similar to the pretty_tox.sh scripts which are currently used everywhere but expands on that functionality. Change-Id: I994b1271b69741161d1ce165eda4ae32d529bdc4 Depends-On: Idbd6251546809f6ea7a651be9e758619fddd4e7f --- gerrit/acls/openstack/os-testr.config | 14 ++++++++++++++ gerrit/projects.yaml | 3 +++ jenkins/jobs/projects.yaml | 11 +++++++++++ zuul/layout.yaml | 8 ++++++++ 4 files changed, 36 insertions(+) create mode 100644 gerrit/acls/openstack/os-testr.config diff --git a/gerrit/acls/openstack/os-testr.config b/gerrit/acls/openstack/os-testr.config new file mode 100644 index 0000000000..2fcc59ce3b --- /dev/null +++ b/gerrit/acls/openstack/os-testr.config @@ -0,0 +1,14 @@ +[access "refs/heads/*"] +abandon = group os-testr-core +label-Code-Review = -2..+2 group os-testr-core +label-Workflow = -1..+1 group os-testr-core + +[access "refs/tags/*"] +pushSignedTag = group os-testr-release + +[receive] +requireChangeId = true +requireContributorAgreement = true + +[submit] +mergeContent = true diff --git a/gerrit/projects.yaml b/gerrit/projects.yaml index 08452e2fb1..ced9157452 100755 --- a/gerrit/projects.yaml +++ b/gerrit/projects.yaml @@ -902,6 +902,9 @@ - project: openstack/os-refresh-config description: Restart services and coordinate data migration on Heat config changes. acl-config: /home/gerrit2/acls/openstack/os-apply-config.config +- project: openstack/os-testr + description: OpenStack tooling for interacting with testr + upstream: https://github.com/mtreinish/os-testr.git - project: openstack/oslo-incubator groups: - oslo diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index cd90a00207..18516f4baa 100755 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -1620,6 +1620,17 @@ - python-jobs - pypi-jobs +- project: + name: os-testr + node: 'bare-trusty' + tarball-site: tarballs.openstack.org + doc-publisher-site: docs.openstack.org + + jobs: + - python-jobs + - pypi-jobs + - openstack-publish-jobs + - project: name: ossa node: 'bare-precise || bare-trusty' diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 5762be5ff8..982b0bbc20 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -2801,6 +2801,14 @@ projects: post: - os-refresh-config-branch-tarball + - name: openstack/os-testr + template: + - name: merge-check + - name: publish-to-pypi + - name: check-requirements + - name: python-jobs + - name: openstack-server-publish-jobs + - name: openstack/ossa template: - name: merge-check