Hashar has uploaded a new change for review.

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

Change subject: contint: rsync server to hold jobs caches
......................................................................

contint: rsync server to hold jobs caches

Bug: T116017
Change-Id: Ie374ba31ecd4d90aa82af11cd2b04f78367bc903
---
M manifests/role/ci.pp
1 file changed, 28 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/22/253322/1

diff --git a/manifests/role/ci.pp b/manifests/role/ci.pp
index 3b7bc22..fb429c4 100644
--- a/manifests/role/ci.pp
+++ b/manifests/role/ci.pp
@@ -436,6 +436,34 @@
 
 }
 
+# == Class role::ci::cache-rsync
+#
+# rsync server to store cache related material from CI jobs.
+class role::ci::cache-rsync {
+    requires_realm( 'labs' )
+
+    include role::labs::lvm::srv
+    include rsync::server
+
+    file { '/srv/caches':
+        ensure => directory,
+        owner  => 'root',
+        group  => 'root',
+        mode    => '0775',
+        require => Class['role::labs::lvm::srv'],
+    }
+
+    rsync::server::module { 'caches':
+        path      => '/srv/caches',
+        read_only => 'no',
+        require   => [
+            File['/srv/caches'],
+            Class['role::labs::lvm::srv'],
+        ],
+    }
+
+}
+
 # == Class role::ci::publisher::labs
 #
 # Intermediary rsync hosts in labs to let Jenkins slave publish their results

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie374ba31ecd4d90aa82af11cd2b04f78367bc903
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to