40 Commits

Author SHA1 Message Date
Jenkins
e19f9ed7c3 Merge "Update gerrit project rename instructions" 2014-02-14 05:30:50 +00:00
Jeremy Stanley
a01a33a174 No longer grant third-party voting initially
* doc/source/gerrit.rst: Update documentation to reflect that the
External Testing Tools group has been replaced by two new groups
named Third-Party CI and Voting Third-Party CI. New third-party
continuous integration testing service accounts are initially added
to the first group, which allows them to apply verify votes only on
the openstack-dev/sandbox project. Once they have managed to confirm
some stability, they are moved to the second group, which is also
included by the first, so that they may apply verify votes on any
project.

* .../gerrit/acls/openstack-dev/sandbox.config: Apply verify voting
permissions for Third-Party CI group members, and correct review
activity permissions to use the Registered Users group instead of
the long-defunct openstack-cla group.

Change-Id: Ief3fef44df986d868af148787b3c456a98484091
2014-02-07 22:00:28 +00:00
James E. Blair
c1495cdca4 Update gerrit project rename instructions
We have a git farm now rather than a single git server.

And we can remove workspaces with salt.

Change-Id: If7395db9e3809e6589ce07ceef30e1d942362efe
2014-02-07 09:05:27 -08:00
Monty Taylor
bc794da31e Split config from projects list
The projects list is a common list for devs to interact with. The config
in the list is not, but the config in the list means the file needs to
be in an erb template.

Split the two concerns, similar to zuul. Put the config in a config file
and the project data in a yaml file.

Change-Id: I708b8655b4b1ce377f3b7369e987418c1d72d977
2014-01-28 09:32:09 -08:00
Jeremy Stanley
5fc2dacd00 Flush Gerrit caches after fixing E-mail dupes
* doc/source/gerrit.rst: In the section on clearing duplicate E-mail
addresses, note that a cache flush is needed for immediate effect.

Change-Id: I436dfc85f86683ffe90c099f449466db02844a18
2013-10-22 14:54:53 +00:00
Jenkins
744bfd1417 Merge "Adding a Gerrit third-party testing account" 2013-10-12 20:47:58 +00:00
Jeremy Stanley
7bae8b8f8d Adding a Gerrit third-party testing account
* doc/source/gerrit.rst: Quick documentation added for the method by
which a Gerrit administrator can create the sort of account needed
for third-party testing.

Change-Id: Ia7ec399027ad664a43d6084f988ed84ff572ac00
2013-10-12 19:41:27 +00:00
Robert Collins
6df6213bf8 Document bootstrapping of Gerrit ACLs.
The prior documentation was incomplete and inconsistent. This works (tested in
an IRC session with clarkb's help).

Change-Id: Ic1d5a51176ccba8b922bcf084d11c0bb0c6ac06a
2013-10-02 10:04:27 +13:00
Jenkins
a3871ba0cd Merge "Document push key acceptance." 2013-09-23 21:43:36 +00:00
Jenkins
b5a7cf8378 Merge "Explain API projects a little." 2013-09-23 21:43:28 +00:00
Robert Collins
28e1a2cc3d Document push key acceptance.
Gerrit replication calls out to ssh which requires host keys to be
accepted in the relevant user account. Document this to ease initial
deployment.

Change-Id: I03b8f1c39a4562cc480b3ef612cb3306b1445814
2013-09-23 17:27:22 -04:00
Robert Collins
713468b6d1 Explain API projects a little.
I was thoroughly confused, and suspect others without direct
experience may be too.

Change-Id: I9003eeaefc7734ef360ff893cec8c828fd51f254
2013-09-23 17:27:22 -04:00
Robert Collins
1ac5997a82 Gerrit docs improvements - user and groups.
The user and group docs were a bit opaque, and the needed groups for
the project creator account were not well documented.

Change-Id: Iee6d3ea6dd34a687205412174f78cd44e756c953
2013-09-23 17:25:32 -04:00
Robert Collins
1ba7d02a0e Make gerrit DB setup match actual practice.
sudo su - mysql is the actual mechanism used by -infra folk.

Change-Id: I209f0e9e2cb3f4dd7ad012f39b6e6551c05c5e0e
2013-09-23 17:25:32 -04:00
Jenkins
3735479bf0 Merge "Gerrit sysadmin tips for account repairs/renaming" 2013-09-06 00:10:29 +00:00
Jeremy Stanley
ae0c06c1a8 Preserve change creation time on project renames
* doc/source/gerrit.rst: When renaming projects in the changes
table, set created_on to itself so that it won't get updated to the
current time. This column is a timestamp datatype in MySQL and has
the "on update" property set, probably for no good reason but it's
how Gerrit's installer sets the schema.

Change-Id: I5b99d2869e55ab0f8b036fd08f248f406aff41bb
2013-09-05 01:36:43 +00:00
Jeremy Stanley
31bfd240e0 Gerrit sysadmin tips for account repairs/renaming
* doc/source/gerrit.rst: Add sections to the document about
resetting Gerrit SSH usernames and cleaning up duplicate preferred
E-mail addresses. Also a section demonstrating the dreaded account
merge process for posterity, even though we do not offer to perform
this for our users.

Change-Id: I43883ef9558abbdf5051aa617def36d1fc158100
2013-09-04 20:40:22 +00:00
Elizabeth Krumbach Joseph
9f24ee0df1 Update references to GerritJenkinsGit wiki
We've moved the GerritJenkinsGithub wiki page to instead be
at GerritJenkinsGit, update references to it in our configs.

Change-Id: I88d8140a0e5f6e4051ca78415e0152c9cdcb86f6
2013-08-30 10:58:30 -07:00
Monty Taylor
258abe1a23 Use cgit server instead of github for everything
We have a cgit server now, which means we should replace
all references to github with references to git.openstack.org.

Change-Id: I68ad1ce514fb4326c7d9940b5a84999af5b58562
2013-08-19 10:19:47 -07:00
Monty Taylor
e58b852907 Include instructions for deleting lock file
The zuul lock file needs to be removed as well.

Change-Id: Ice16e07c142026c4df45f21ffae80e6a506dfcdd
2013-08-17 21:56:20 -04:00
James E. Blair
8ba40aff55 Update project rename instructions
We use a thing called Zuul now.

Change-Id: Ie1a81003c37fa598897e31eef84bb8384498a9f8
2013-08-17 21:09:53 -04:00
Jeremy Stanley
d9da9e7835 Release Managers replaces openstack-release.
* doc/source/gerrit.rst: Update documentation to indicate that the
Release Managers group in Gerrit has supplanted the old
openstack-release group.

Change-Id: Id4ac08583ec3723289a1ebffbd1bbed1e591b760
Reviewed-on: https://review.openstack.org/34462
Reviewed-by: Elizabeth Krumbach Joseph <lyz@princessleia.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-07-02 16:54:15 +00:00
James E. Blair
9ed2be3098 Refactor project infrastructure docs.
The goal is to re-orient the documentation as an introduction for new
contributors and a reference for all contributors.

Change-Id: I8702a5ace908c7618a6451bbfef7fc79b07429ff
Reviewed-on: https://review.openstack.org/30515
Reviewed-by: Elizabeth Krumbach Joseph <lyz@princessleia.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2013-05-30 17:27:07 +00:00
Jay Pipes
05aaa0b956 Add gate job configuration for Chef cookbooks
This commit adds the Jenkins job builders and gate
configuration for the Chef cookbooks. Only the
cookbook-openstack-common repo is changed from a
NOOP gate to the lint + unit gate at this time, as
that cookbook is the first that will be going into
the Stackforge repo.

Change-Id: I999a990f15829730495ab0891e4d38f1a5795d60
Reviewed-on: https://review.openstack.org/28640
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-05-09 23:16:08 +00:00
Jeremy Stanley
0dd9f42cd3 Update CI docs for -drivers to -milestone rename.
Change-Id: I6df3c4f6dac6337ab87cabd05dbd94766ad7ef1d
Reviewed-on: https://review.openstack.org/25425
Reviewed-by: Anita Kuno <akuno@lavabit.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-31 13:15:33 +00:00
James E. Blair
d68cb0bcbf Replace acl_config with acl-config in docs.
Change-Id: I8f7c8b0800da37a7e9b97e75571a03ac14214374
Reviewed-on: https://review.openstack.org/23823
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-03-07 22:12:00 +00:00
Jeremy Stanley
6b95efed50 Update Gerrit docs for CLA and group changes.
* doc/source/gerrit.rst: Changes to the CLA process and group
management have removed the need for Launchpad synchronization.

* doc/source/stackforge.rst: Rewrite the core group section to refer
to new Gerrit-specific workflow instead of the old Launchpad method.

* doc/source/systems.rst: Remove recommendation for adding core
groups to Launchpad since those are a Gerrit-only concept now (bugs
and drivers groups remain relevant to LP however).

Change-Id: I2532b93a43821848bb48d12fcaf3f1b0b07dd207
Reviewed-on: https://review.openstack.org/17868
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-03 18:09:22 +00:00
Elizabeth Krumbach
4df9996990 Docs update: puppet does mysql install for gerrit
Change-Id: If88889554913f8f8dbd91d4455e0a91926e8bd5f
Reviewed-on: https://review.openstack.org/19313
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: shengjie min
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-01-09 17:43:07 +00:00
Monty Taylor
bca812d090 Simplify tarball and pypi publishing
Only publish distinct tarballs to tarballs.o.o for tags.
Use tarballs from tarballs.o.o when uploading to pypi instead of rebuilding.
Publish $project-$branch.tar.gz tarballs for every commit.

Change-Id: Ifd2c3b8c9734875ffb15528f84409f44e2f842da
Reviewed-on: https://review.openstack.org/18797
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-01-08 02:16:57 +00:00
Jeremy Stanley
ed0f043a0e Hint for updating a git remote origin URL.
* doc/source/gerrit.rst: When renaming and moving projects, provide
recommended syntax developers can use to update the git remote
origin URL in their existing working copies.

Change-Id: I98bf235a95c28a0637171be172774babdf739f7b
Reviewed-on: https://review.openstack.org/18252
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-12-17 21:08:11 +00:00
Monty Taylor
74460853d1 Rename CI to Infra in MANY MANY places.
Change-Id: I409bd50ae374e0288531f07cfeea34856c5f8067
Reviewed-on: https://review.openstack.org/17319
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: James E. Blair <corvus@inaugust.com>
2012-12-16 17:30:47 +00:00
Paul Belanger
407a159acb Documentation updates for gerrit
I managed to success setup an internal gerrit server following theses
instructions. I've included my notes for the process.

Change-Id: I18d06ca3e3030efc5f6b2f0dd697b289b89c38d4
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-on: https://review.openstack.org/16785
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2012-12-03 17:58:59 +00:00
Jeremy Stanley
5301a77462 Update project renaming procedures.
* doc/source/gerrit.rst: Update project renaming procedures to take
the new project management automation into account and to cover some
caveats specific to org moves. Also correct a few typos and
omissions along the way.

Change-Id: Ia3e20f73ac21232ceda65aa8f299c514b2da7a39
Reviewed-on: https://review.openstack.org/17325
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2012-12-03 17:44:45 +00:00
Monty Taylor
52db16762b Consume jeepyb.
Instead of keeping many of these files directly in the tree, use them
from the out-of-tree jeepyb project, which makes them easier to consume
for other people who are not us.

Change-Id: Id704f2e17dd80709ef63cbbf2c5475a08a835f91
Reviewed-on: https://review.openstack.org/16777
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-11-30 18:02:30 +00:00
Clark Boylan
c494817c68 Cleanup manage_project.py documentation.
Move line that was breaking ordered list ordering and add sections about
setting the upstream for a project in the projects.yaml file. Also
replace tabs in ACL config with 8 spaces. Remove refs/* Administrator
ownership. Put ACL sections in alphabetical order.

Change-Id: Ib843379f80822ec0f03730e315e747978a7c1ee6
Reviewed-on: https://review.openstack.org/16115
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2012-11-16 20:37:11 +00:00
Monty Taylor
d76f051d22 Attempt to more fully manage project creation.
Manage project creation via yaml files. Also,
Modify the manage_projects scripts to configure Gerrit project ACLs.
This change expects the project yaml to exist. The change will clone the
project for the localhost Gerrit install. It will then checkout the
meta/config ref, copy the ACL config file into the repo, commit, and
push to the origin. The ACL config location should be specified in the
projects.yaml file with the acl_config key.

For this to work the ACLs will need to be copied by Puppet from Puppet
to the Gerrit host. Add the file resource to do this as well.

Change-Id: I15a1ec13b381dce3c115c01c21f404ab79e72cc4
Reviewed-on: https://review.openstack.org/15352
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-11-14 01:18:23 +00:00
Monty Taylor
49a29d9428 Reverse the close-pull logic.
We have a huge list of projects with all of them listing "close-pull" as an
option. Turns out we want to close pull requests for all of them - so instead,
let's only indicate 'has-pull-requests' if there is ever a project for whom
we do not want to close pull requests.

Change-Id: I4db31d324b7f260ea24f538ac5f5fc8e1feca75d
Reviewed-on: https://review.openstack.org/15626
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-11-10 23:04:27 +00:00
Jeremy Stanley
ccb8425bf4 Normalize IRC server name references.
Freenode recommends relying on chat.freenode.net as their round-robin
server name:

    http://freenode.net/irc_servers.shtml

Based on a discussion with their admins, the regional round-robin
entries are not regularly groomed (leading to earlier connectivity
issues for meetbot). This change aligns all IRC server names used in
OpenStack Puppet configuration with that recommendation.

Change-Id: Id34c27427c3af741589a287802164bf7ffa9a6ea
Reviewed-on: https://review.openstack.org/15277
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-11-05 17:48:23 +00:00
Clark Boylan
f40847dd78 Kill trailing whitespace.
Killed trailing whitespace in the puppet repo files using
`sed -r 's/\s+$//'`. Skip binary files and html templates for lodgeit
and mailman.

Change-Id: Ib43493161d8f0e8fae1426b22fb1737832ca14cd
Reviewed-on: https://review.openstack.org/12969
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-10-05 23:27:31 +00:00
Clark Boylan
607b2db8c7 Use Jenkins Job Builder to config ci-docs job.
The existing ci-docs job is a one off job that was configured by hand.
Define the ci-docs job as a Jenkins Job Builder job using the existing
project-docs utilities.

To make the existing utilities work within the puppet repo the doc files
have been moved to doc/source, setup.cfg added to build docs in the new
dir, setup.py builds openstack-ci-puppet (instead of nova), tox now has
a venv virtualenv, and the .gitignore has been updated appropriately.

Change-Id: Ic0f291af181b4ef8eff62c5ec7cf3ccfa5b79800
Reviewed-on: https://review.openstack.org/13729
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-09-27 16:50:32 +00:00