Hashar has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/366523 )
Change subject: Revert "Disable castor entirely" ...................................................................... Revert "Disable castor entirely" This reverts commit 9e5b5b85e3025f29f414a0ec404d401125e1fdcd. Next commit will migrate the service to a new instance. Bug: T171148 Change-Id: I7e0f38d322f6f6afad0e4d5988c2534f38db35b5 --- M jjb/castor.yaml 1 file changed, 39 insertions(+), 6 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/integration/config refs/changes/23/366523/1 diff --git a/jjb/castor.yaml b/jjb/castor.yaml index 514ebcb..bf0ba4d 100644 --- a/jjb/castor.yaml +++ b/jjb/castor.yaml @@ -1,18 +1,51 @@ # CASTOR - CAche STORage # -# Emptied due to T171148 +# Let us save package manager caches on a central instance and warm a cache +# when a job runs on a Nodepool disposable instance. +# + +# Entry point to save to the central cache - publisher: name: castor-save publishers: - - postbuildscript: - script-only-if-succeed: True - builders: - - shell: echo "Castor is disabled https://phabricator.wikimedia.org/T171148" + - postbuildscript: + script-only-if-succeeded: True + builders: + - trigger-builds: + - project: castor-save + # Pass ZUUL and others + current-parameters: True + # Pass: + # - job name to namespace the central cache + # - ssh connection which holds the slave IP to which castor + # will rsync from + predefined-parameters: | + TRIGGERED_JOB_NAME=$JOB_NAME + TRIGGERED_SSH_CONNECTION=$SSH_CONNECTION + # Must be blocking or the instance might be disposed + block: true + # Ignore any error + block-thresholds: + build-step-failure-threshold: 'never' + unstable-threshold: 'never' + failure-threshold: 'never' + +# Entry point to load cache from central cache +# +# Forge the namespace and rsync from central place. +# +# Transfer is done with rsync:// protocol fetching from the 'caches' rsync +# module which is read-only. +# - builder: name: castor-load builders: - - shell: echo "Castor is disabled https://phabricator.wikimedia.org/T171148" + - shell: + !include-raw: + - castor-define-namespace.bash + - castor-load-sync.bash + # Job triggered on the central repository instance # -- To view, visit https://gerrit.wikimedia.org/r/366523 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7e0f38d322f6f6afad0e4d5988c2534f38db35b5 Gerrit-PatchSet: 1 Gerrit-Project: integration/config Gerrit-Branch: master Gerrit-Owner: Hashar <has...@free.fr> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits