733 Commits

Author SHA1 Message Date
Jeremy Stanley
52abfa977f Clarify StackForge document audience and workflow.
* doc/source/stackforge.rst: Adjust the project onboarding sequence
to suggest requesting an initial group member last, since this seems
to be the simpler and less error-prone order. Also add a brief
subsection to the introduction describing the intended audience and
linking to prerequisite documentation for those who need some
additional education on OpenStack code review process and
convention.

Change-Id: I4a7cc6e56505a462c5596abe587c560bfa722f00
Reviewed-on: https://review.openstack.org/30564
Reviewed-by: slamet hendry <slamet.hendry@gmail.com>
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
2013-05-28 18:24:42 +00:00
Jeremy Stanley
7f2c8e5bf1 Switch jobs from Ubuntu Quantal to Precise slaves.
All jobs previously using a quantal node label are now using a
precise node label instead. Documentation has also been updated to
reflect the change in preferred release/image name.

Change-Id: I636416a9d9dc6714cd9751e2210882db2cbf786e
Reviewed-on: https://review.openstack.org/28861
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-05-13 16:57:34 +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
f1461cac89 Third-party testing document updates.
Change-Id: Idccf0b09008483b407b574dadce67845aed7daf0
Reviewed-on: https://review.openstack.org/26224
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
2013-04-05 20:43:50 +00:00
Robert Collins
8184a05251 Easier copy-paste filenames in the new project instructions.
Change-Id: Iea56a287526dffcc9d4bb241f90039d5c5dca15c
Reviewed-on: https://review.openstack.org/26135
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
2013-04-05 20:28:22 +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
Sergey Lukjanov
7467441ccf Improve stackforge doc - more info about jobs.
Change-Id: I28cccc53d01813591d2fdccc80a0587b69388c03
Reviewed-on: https://review.openstack.org/25215
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-27 00:01:13 +00:00
Jeremy Stanley
8a9cfde10a Stackforge documentation example corrections.
* doc/source/stackforge.rst: Lately we'd rather test on quantal
slaves than precise. Also, the python-jobs group includes some
tarball job templates, which will cause JJB to raise a keyerror
exception if tarball-site isn't set.

Change-Id: I282e1bf059210bf13c7c30de1fad0b1be43ae0a8
Reviewed-on: https://review.openstack.org/25172
Reviewed-by: Elizabeth Krumbach <lyz@princessleia.com>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-25 16:34:18 +00:00
Jeremy Stanley
c260d76408 Update and clarify StackForge documentation.
* doc/source/stackforge.rst: Release tagging seems to be a FAQ
amongst StackForge projects, so I've added core tag permissions to
the example. Setting the project active is unnecessary since that's
the default anyway. The acl-config parameter in project
configuration is no longer needed unless it differs from the normal
file location/name. Also added some further clarification and
explanations for the ACL example.

Change-Id: Id97d9fdf9e99e2948a83aea90c292d63b4c1e4d1
Reviewed-on: https://review.openstack.org/25005
Reviewed-by: Khai Do <zaro0508@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-21 20:57:30 +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
d3ba56112c Simplify and correct hiera install documentation
The documentation for hiera had the user add the repo and then remove it just
to install hiera, but that's now done in a previous step to use newer versions
of the puppet packages from the puppetlabs repos. The yaml file is also now
installed by puppet. Also collapsed all hiera documentation into the puppet
master section.

Change-Id: I00ab3cd12798295827ae25a623d246f7abf9a8df
Reviewed-on: https://review.openstack.org/20077
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
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
2013-01-24 22:03:29 +00:00
Elizabeth Krumbach
4c6da750a7 Add bootstrapping and puppet apply to puppet doc
Updated the puppet documentation to reference usage of puppetlabs repos and
basic instructions for bootstrapping the puppetmaster environment so that
puppet apply can be used to complete configuration.

Change-Id: I250e00c9bc128438378558e39f23109f9880386c
Reviewed-on: https://review.openstack.org/20048
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-19 00:23:24 +00:00
Clark Boylan
c74ac6ab8b Correct stackforge .gitreview docs.
The manage projects script adds a gitreview file for you if the new
projects does not have an upstream. Make it clear that you only need to
add the .gitreview file on projects with an existing upstream.

Also, fix a tiny typo in the Jenkins document.

Change-Id: I74c07d9cd952509bd9ddc883a833cb3e22b13b38
Reviewed-on: https://review.openstack.org/18570
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-01-17 20:23:27 +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
Hengqing Hu
ffab2f2884 Fix typo in planet module description
Change-Id: I8513c85407f863a345eb0b044088c84747ed7fe1
Reviewed-on: https://review.openstack.org/18759
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
2013-01-02 19:13: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
James E. Blair
e04970cc53 Remove merge jobs.
Zuul internally merges or cherry-picks changes before running jobs
and gerrit-git-prep now uses the output of that.  Therefore, merge
jobs are redundant.  However, some projects have no gate tests,
so create a noop job for those projects so Zuul has something to run.
As long as it doesn't actually do anything with a git repo, it can
be shared by all projects.

* Remove definitions of merge jobs in jjb.
* Add a new singleton 'gate-noop' job.
* Remove invocations of -merge jobs in zuul, replacing them
  with -noop jobs if they are the only jobs for a pipeline.
* Update new job documentation to mention gate-noop, and lack
  of need to update projects.yaml if not using python-jobs.

Change-Id: I56d3f0f99b2f05780fc82222854db4f1c8f68b57
Reviewed-on: https://review.openstack.org/18246
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-12-17 18:39:50 +00:00
James E. Blair
efe6a22aac Move puppetmaster git repo.
To /opt/config.

Change-Id: Iab489ba398522dfd8e36dedb92d4d3f8d78df642
Reviewed-on: https://review.openstack.org/18177
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
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:53:53 +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
Clark Boylan
104c4dfaf5 Add StackForge Documentation.
Add a page for StackForge that includes a blurb about what StackForge is
and is not, and how to add a StackForge project.

Change-Id: I474b626423952018eb23929d395ac038c082cd25
Reviewed-on: https://review.openstack.org/17411
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-12-03 22:54:04 +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
James E. Blair
95fc1ce4ca Add docs on how to add a new server.
Change-Id: I081b199f5ad985db03e91b880a444d5fdb301551
Reviewed-on: https://review.openstack.org/15433
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-11-07 22:13:32 +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
bc9319b5e9 Add devstack gate info.
Add a note about devstack gate and links to documentation for the
devstack gate under the jenkins documentation.

Also, note that the rackspace physical hardware integration test setup
is no longer in use.

Change-Id: I6038ce6c1e6920f4a912358395a5d8a3e5d4d532
Reviewed-on: https://review.openstack.org/14510
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-10-17 20:19:47 +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