From 7f25ab1c42062ffacfb8731df9819be92016c1c4 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 16 Apr 2014 15:09:00 -0700 Subject: [PATCH] Create infra-manual project The idea is that it will be a three-part user's manual for the OpenStack project infrastructure: * Developer's User Manual * Core Reviewer's User Manual * Project Driver's User Manual It will contain information on how to work with git, git-review, gerrit, zuul, jenkins, etc., all targeting those three kinds of users. It should completely replace this document: https://wiki.openstack.org/wiki/GerritJenkinsGit And much of the content in: https://wiki.openstack.org/wiki/GerritWorkflow As well as these parts of the current infra docs: http://ci.openstack.org/stackforge.html http://ci.openstack.org/test-infra-requirements.html It will have its own core group that will include infra-core but can easily be expanded to anyone who understands the infrastructure and current practices well enough to review documentation changes (which is quite a lot of developers). Change-Id: I371cce0622c1ae99e9cdfa313b36ccf0bb256773 --- modules/gerritbot/files/gerritbot_channel_config.yaml | 1 + .../gerrit/acls/openstack-infra/infra-manual.config | 11 +++++++++++ .../files/jenkins_job_builder/config/projects.yaml | 8 ++++++++ modules/openstack_project/files/review.projects.yaml | 4 ++++ modules/openstack_project/files/zuul/layout.yaml | 6 ++++++ 5 files changed, 30 insertions(+) create mode 100644 modules/openstack_project/files/gerrit/acls/openstack-infra/infra-manual.config diff --git a/modules/gerritbot/files/gerritbot_channel_config.yaml b/modules/gerritbot/files/gerritbot_channel_config.yaml index 5a43fb017f..ffcf14496a 100644 --- a/modules/gerritbot/files/gerritbot_channel_config.yaml +++ b/modules/gerritbot/files/gerritbot_channel_config.yaml @@ -21,6 +21,7 @@ openstack-infra: - openstack-infra/gerritlib - openstack-infra/gitdm - openstack-infra/git-review + - openstack-infra/infra-manual - openstack-infra/jeepyb - openstack-infra/jenkins-job-builder - openstack-infra/lodgeit diff --git a/modules/openstack_project/files/gerrit/acls/openstack-infra/infra-manual.config b/modules/openstack_project/files/gerrit/acls/openstack-infra/infra-manual.config new file mode 100644 index 0000000000..e485eb560f --- /dev/null +++ b/modules/openstack_project/files/gerrit/acls/openstack-infra/infra-manual.config @@ -0,0 +1,11 @@ +[access "refs/heads/*"] + label-Code-Review = -2..+2 group infra-manual-core + label-Workflow = -1..+1 group infra-manual-core +[access "refs/tags/*"] + create = group infra-manual-ptl + pushSignedTag = group infra-manual-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 7de27d6e22..44be03d5f3 100644 --- a/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml +++ b/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml @@ -197,6 +197,14 @@ pipeline: periodic node: bare-precise +- project: + name: infra-manual + github-org: openstack-infra + node: bare-precise + + jobs: + - gate-{name}-docs + - project: name: sahara github-org: openstack diff --git a/modules/openstack_project/files/review.projects.yaml b/modules/openstack_project/files/review.projects.yaml index 758518d5d3..cec6294e3e 100644 --- a/modules/openstack_project/files/review.projects.yaml +++ b/modules/openstack_project/files/review.projects.yaml @@ -89,6 +89,10 @@ - project: openstack-infra/groups description: OpenStack Groups community portal upstream: git://github.com/mkissam/groups.git +- project: openstack-infra/infra-manual + group: openstack-ci + options: + - direct-release - project: openstack-infra/jeepyb group: openstack-ci upstream: git://github.com/emonty/gerritx.git diff --git a/modules/openstack_project/files/zuul/layout.yaml b/modules/openstack_project/files/zuul/layout.yaml index bcf1ce57eb..60d046e39c 100644 --- a/modules/openstack_project/files/zuul/layout.yaml +++ b/modules/openstack_project/files/zuul/layout.yaml @@ -2733,6 +2733,12 @@ projects: release: - groups-release-master + - name: openstack-infra/infra-manual + check: + - noop + gate: + - noop + - name: openstack-infra/jeepyb check: - gate-jeepyb-pep8