Rework the page so that all content that is now
in the infra-manual is removed and the page just explains
what StackForge is.
Replace links to stackforge with a link to the project creators
page.
Change-Id: I79902876d05f8fc540e18bd3f596ea1f0cdf0e30
The jobs suggested are covered by the python-jobs and python3-jobs
project templates, so use them for a simpler example.
Change-Id: I6300772874063c215190a4ec62010cb85951a8b0
Go through all of the layout and replace all check and gate jobs
that are 'noop' with a template. Also fix the reference in
stackforge.rst.
Change-Id: I4f7006a60484071fe6c738773ac76ac7ab544854
It turns out that we pass a lot of args around simply for the
purpose of doing mirror selection. This goes away if everything
gets a mirror.
This change should only be merged after the parent change has
propagated to all puppeted slaves and updated nodepool images.
Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
Change-Id: I4a721f6559d7160c8213268a8c1e35c667a67a4f
This change compltes the documentation about how to create a new IRC channel
for a new project.
Change-Id: I284a292d653a5eb464be2d43cccb459334227c94
Closes-Bug: #1349823
It turns out that while changes to Gerrit ACLs from the WebUI will
create "Git config" format files which look somewhat like
traditional INI files with hard-tab indentation and other
unpleasantness, Gerrit will interpret more traditional INI files as
ACLs just fine and merge them to refs/meta/config unaltered. Adjust
the examples to look like the sorts of INI files with which our
developers are more familiar, and apply some other helpful
normalization like alphabetizing the section and key orders,
removing redundant default values or other no-ops, et cetera.
Change-Id: I3b9dad7b7beb05427eb4011fa6dad2a6dd4cbe72
We need to make sure that jenkins will run jobs on bare-trusty before we
can migrate and projects to bare-trusty. So do the initial JJB prep now,
then we can do a project at a time.
Change-Id: I6e80567730bff8d387d8a5b87d7368ea3be6d3ab
A much awaited feature, this patch is the outcome of running:
find modules/openstack_project/files/gerrit/acls/ \
doc/source/stackforge.rst -type f -exec sed -i -e \
's/^\(.* \)label-Workflow .*\(group .*\)$/\0\n\1abandon = \2/' \
-e 's/.*exclusiveGroup.*Workflow.*/\0 abandon/' \
{} \;
Change-Id: I217a8689528d14c9143de5656db01549f263c3b4
Closes-Bug: #1248794
Project acls in the refs/tags/* stanza should specific the ptl
of a program/project as opposed to all the core reviewers. This
patch changes the stackforge acl example to reflect this.
Also this patch changes WIP to Workflow in the explanation below
which is more consistent with Gerrit 2.8 functionality.
Change-Id: If7df749b54d5ace8904ea1def900618a196aa265
Stackforge creation sometimes includes source repos with crufty
branches. Cleaning these branches in stackforge requires -infra
core intervention. Sanitising them prior to seeding the stackforge
repo is easier than cleaning them afterward.
Change-Id: I0d71c9e252913dc781632988df95cc79c626d2b4
The "noop" job is the new internal noop job, unlike gate-noop which
actually ran a job on a test worker. This should save some test
resources.
Update stackforge documentation to match.
Change-Id: I6fa6fdc923bb2b966015cd74a1ecbe4a8d86ffaf
We require channels to be registered and have the openstackinfra
account added to the access list before we'll add infra-managed
bots.
Moving this documentation to the beginning of the document and
giving them their own section in case we wish to have other
requirements in the future.
Also add link on stackforge.rst back to the IRC page.
Change-Id: Ic92f3935de19c4afef23f51257a189f2860796c2
Update the documentation for adding a new project to note that the infra team
prefers that you use 'new-project' as the topic name for the review.
Change-Id: I81d7da3a11f60d60683dfe01c1ae8dba444fd514
* doc/source/jjb.rst
* doc/source/stackforge.rst: Update examples to recommend
bare-precise nodes in new job configuration.
* modules/openstack_project/files/jenkins_job_builder/config/*.yaml:
Change the node label for all jobs opreviously using precise to use
bare-precise instead.
* modules/openstack_project/files/zuul/layout.yaml: Get rid of the
transitional matches for setting the single use parameter function
on specific job names and just set it on everything as a default.
Add patterns for jobs which need long-running slaves to apply a
reusable node parameter function instead.
* modules/openstack_project/files/zuul/openstack_functions.py: Add a
parameter function for reusable nodes which refrains from enabling
auto-offline behavior.
* modules/openstack_project/templates/nodepool/nodepool.yaml.erb:
Double the minimum ready bare-precise nodes to accommodate
additional load.
Change-Id: I2a90c5b120a50bb8033c891702185f054ee84d35
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
The actual jobs we have configured now look quite different to the
template folk are advised to use. I think this is more accurate.
Change-Id: I1d94737d8a448d78626633bdef670c4b084c2263
We have a cgit server now, which means we should replace
all references to github with references to git.openstack.org.
Change-Id: I68ad1ce514fb4326c7d9940b5a84999af5b58562
* doc/source/stackforge.rst: Add basic documentation for the RTFD
job template. Also remove references to pylint and pyflakes jobs
which are mostly phased out due to increased flake8 popularity.
Change-Id: I0a1461a6c766a85cfac49ffed1b44358aabb2bc1
Change-Id: I78ca586ce1451e3fa875482d310255b9638dc745
Reviewed-on: https://review.openstack.org/32930
Tested-by: Jenkins
Reviewed-by: Clark Boylan <clark.boylan@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: James E. Blair <corvus@inaugust.com>
* 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
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
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
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
* 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
* 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
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
* 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
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
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
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>
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