From c1495cdca405462c61321d58f6b42c58a95641e1 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Fri, 7 Feb 2014 09:02:19 -0800 Subject: [PATCH] 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 --- doc/source/gerrit.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/gerrit.rst b/doc/source/gerrit.rst index 2bc92dcf05..f99b8dcdc2 100644 --- a/doc/source/gerrit.rst +++ b/doc/source/gerrit.rst @@ -414,7 +414,7 @@ To rename a project: sudo mv ~gerrit2/review_site/git/openstack/{OLD,NEW}.git sudo mv /var/lib/git/openstack/{OLD,NEW}.git -#. Move the git repository on git.openstack.org:: +#. Move the git repository on git{01-04}.openstack.org:: sudo mv /var/lib/git/openstack/{OLD,NEW}.git @@ -441,8 +441,8 @@ To rename a project: changing, gate jobs may fail due to outdated remote URLs. Clear the workspaces on persistent Jenkins slaves to mitigate this:: - ssh -t $h.slave.openstack.org 'sudo rm -rf ~jenkins/workspace/*PROJECT*' - + sudo salt '*.slave.openstack.org' cmd.run 'rm -rf ~jenkins/workspace/*PROJECT*' + #. Again, if this is an org move rather than a rename and the GitHub project has been created but is empty, trigger replication to populate it::