From 8184a05251f8ac65511fb4ffaff3475eaef32e24 Mon Sep 17 00:00:00 2001 From: Robert Collins <rbtcollins@hp.com> Date: Fri, 5 Apr 2013 09:18:55 +1300 Subject: [PATCH] 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 --- doc/source/stackforge.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/source/stackforge.rst b/doc/source/stackforge.rst index f480c5b9c7..f20aa3396e 100644 --- a/doc/source/stackforge.rst +++ b/doc/source/stackforge.rst @@ -49,7 +49,7 @@ sure you have cloned the openstack-infra/config repository First you need to add your StackForge project to the master project list. Edit -``openstack-infra/config/modules/openstack_project/templates/review.projects.yaml.erb`` +``modules/openstack_project/templates/review.projects.yaml.erb`` and add a new section for your project at the end of the file. It should look something like:: @@ -64,7 +64,7 @@ history. Both of these are optional. Note that the current tools assume that the upstream repo will have a master branch. The next step is to add a Gerrit ACL config file. Edit -``openstack-infra/config/modules/openstack_project/files/gerrit/acls/stackforge/project-name.config`` +``modules/openstack_project/files/gerrit/acls/stackforge/project-name.config`` and make it look like:: [access "refs/heads/*"] @@ -104,7 +104,7 @@ and Zuul for the new StackForge project. If you are interested in using the standard python Jenkins jobs (docs, pep8, python 2.6 and 2.7 unittests, and coverage), edit -``openstack-infra/config/modules/openstack_project/files/jenkins_job_builder/config/projects.yaml`` +``modules/openstack_project/files/jenkins_job_builder/config/projects.yaml`` and add a new section for your project at the end of the file. It should look something like:: @@ -120,14 +120,14 @@ should look something like:: - gate-{name}-pylint List of jobs included to the ``python-jobs`` jobs group is located in -``openstack-infra/config/modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml``. +``modules/openstack_project/files/jenkins_job_builder/config/python-jobs.yaml``. If you aren't ready to run any gate tests yet, you don't need to edit ``projects.yaml``. Now that we have Jenkins jobs we need to tell Zuul to run them when appropriate. Edit -``openstack-infra/config/modules/openstack_project/files/zuul/layout.yaml`` +``modules/openstack_project/files/zuul/layout.yaml`` and add a new section for your project at the end of the file. It should look something like:: @@ -170,7 +170,7 @@ Configure StackForge Project to use GerritBot To have GerritBot send Gerrit events for your project to a Freenode IRC channel edit -``openstack-infra/config/modules/gerritbot/files/gerritbot_channel_config.yaml``. +``modules/gerritbot/files/gerritbot_channel_config.yaml``. If you want to configure GerritBot to leave alerts in a channel GerritBot has always joined just add your project to the project list for that channel::