Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/75500


Change subject: replicate Gerrit repos to Jenkins slave gallium
......................................................................

replicate Gerrit repos to Jenkins slave gallium

gallium already has replicated repository under /var/lib/git which is a
different device than /srv/ where the jobs are doing the clone
operation.

/var/lib/git is hardcoded in too many place to let us do a migration so
to play it safe I am requesting to have a second replication setup under
/srv/ssd/gerrit just like lanthanum.

Once all jobs and scripts have been updated to use /srv/ssd/gerrit
instead of /var/lib/git, the replication 'inside-wmf' can be deleted.

Change-Id: I7428331e06ebeb08bb8ac3188ec745fa265ddf99
---
M manifests/role/gerrit.pp
1 file changed, 12 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/00/75500/1

diff --git a/manifests/role/gerrit.pp b/manifests/role/gerrit.pp
index 4cc82ff..89d3d40 100644
--- a/manifests/role/gerrit.pp
+++ b/manifests/role/gerrit.pp
@@ -27,16 +27,28 @@
                        ssl_cert_key => 'gerrit.wikimedia.org',
                        replication  => {
                                # If adding a new entry, remember to add the 
fingerprint to gerrit2's known_hosts
+
+                               # FIXME remove it when all Jenkins jobs have 
been migrated to the new
+                               # directory /srv/ssd/gerrit defined in 
'jenkins-gallium'
                                'inside-wmf'             => {
                                        'url'                  => 
'[email protected]:/var/lib/git/${name}.git',
                                        'threads'              => '4',
                                        'mirror'               => 'true',
+                               },
+                               # Start of Jenkins slaves
+                               # All entries should have the same target 
directory '/srv/ssd/gerrit'
+                               # since it is referenced in Jenkins jobs.
+                               'jenkins-gallium' => {
+                                       'url'     => 
'[email protected]:/srv/ssd/gerrit/${name}.git',
+                                       'threads' => '4',
+                                       'mirror'  => 'true',
                                },
                                'jenkins-lanthanum' => {
                                        'url'     => 
'[email protected]:/srv/ssd/gerrit/${name}.git',
                                        'threads' => '4',
                                        'mirror'  => 'true',
                                },
+                               # End of Jenkins slaves
                                'gitblit'                => {
                                        'url'                   => 
'[email protected]:/var/lib/git/${name}.git',
                                        'threads'               => '4',

-- 
To view, visit https://gerrit.wikimedia.org/r/75500
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7428331e06ebeb08bb8ac3188ec745fa265ddf99
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to