From ff8371a1a7d7730c8dac13bacd7563efe25adc7d Mon Sep 17 00:00:00 2001 From: Tom Fifield <tom@openstack.org> Date: Thu, 29 May 2014 10:11:24 +0800 Subject: [PATCH] Add separate project for training-guides The OpenStack Training Guides team has been sheltering under the loving arms of the openstack-manuals repo for the recent past. It's now time to move them out to further their independent work. This change adds a project: openstack/training-guides seeded with the training-guides subdirectory from openstack-manuals, and attempts to configure the jenkins/zuul jobs so that the existing docbook check, gate and post will also run on the new project. Change-Id: I1aed9efa8ca3fd106872cec248cd7c4964fa9adf --- .../gerrit/acls/openstack/training-guides.config | 11 +++++++++++ .../files/jenkins_job_builder/config/projects.yaml | 12 +++++++++++- modules/openstack_project/files/review.projects.yaml | 3 +++ modules/openstack_project/files/zuul/layout.yaml | 6 ++++++ 4 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 modules/openstack_project/files/gerrit/acls/openstack/training-guides.config diff --git a/modules/openstack_project/files/gerrit/acls/openstack/training-guides.config b/modules/openstack_project/files/gerrit/acls/openstack/training-guides.config new file mode 100644 index 0000000000..196f1e925a --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/openstack/training-guides.config @@ -0,0 +1,11 @@ +[access "refs/heads/*"] + label-Code-Review = -2..+2 group openstack-training-guides-core + label-Workflow = -1..+1 group openstack-training-guides-core + abandon = group openstack-training-guides-core +[access "refs/tags/*"] + pushSignedTag = group openstack-training-guides-ptl +[receive] + requireChangeId = true + requireContributorAgreement = true +[submit] + mergeContent = true diff --git a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml index a709dca7db..70b89dc134 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -20,6 +20,16 @@ jobs: - python-jobs +- project: + name: training-guides + github-org: openstack + node: bare-precise + + jobs: + - openstack-doc-jobs + - '{name}-tox-doc-{envlist}': + envlist: publishdocs + - project: name: fuel-specs github-org: stackforge @@ -2568,4 +2578,4 @@ tarball-site: tarballs.openstack.org jobs: - - python-jobs + - python-jobs \ No newline at end of file diff --git a/modules/openstack_project/files/review.projects.yaml b/modules/openstack_project/files/review.projects.yaml index f553f529f0..a8e4188e1b 100644 --- a/modules/openstack_project/files/review.projects.yaml +++ b/modules/openstack_project/files/review.projects.yaml @@ -420,6 +420,9 @@ - project: openstack/tempest options: - direct-release +- project: openstack/training-guides + description: Community created, open source training guides for OpenStack. + upstream: git://github.com/fifieldt/openstack-training-guides.git - project: openstack/tripleo-heat-templates group: tripleo description: Heat templates for deploying OpenStack diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index ab59e4f2e7..617dde1f8e 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -4968,3 +4968,9 @@ projects: - noop gate: - noop + + - name: openstack/training-guides + template: + - name: openstack-doc-gate + post: + - training-guides-tox-doc-publishdocs