Ppchelko has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/395615 )
Change subject: [Config] Enable htmlCacheUpdate jobs for wiktionary
......................................................................
[Config] Enable htmlCacheUpdate jobs for wiktionary
Bug: T182023
Change-Id: I7e3ed8d46bccd3bf4c8767bbe3afe0830271696a
---
M scap/templates/config.yaml.j2
1 file changed, 16 insertions(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/services/change-propagation/jobqueue-deploy
refs/changes/15/395615/1
diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 5bd73bc..71e37c3 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -48,6 +48,22 @@
body: '{{globals.message}}'
agentOptions:
keepAlive: true
+# Temporary section - we are only enabling the htmlCacheUpdate for wiktionaries
+# Later this will be moved to the vars.yaml as all the other jobs.
+ htmlCacheUpdate:
+ topic: 'mediawiki.job.htmlCacheUpdate
+ match:
+ meta:
+ domain: '/.*\.wiktionary\.org$/'
+ exec:
+ method: post
+ uri: '<%= jobrunner_uri %>'
+ headers:
+ content-type: 'application/json'
+ body: '{{globals.message}}'
+ agentOptions:
+ keepAlive: true
+# End of temporary section
<%- endfor %>
<%- else %>
job:
--
To view, visit https://gerrit.wikimedia.org/r/395615
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7e3ed8d46bccd3bf4c8767bbe3afe0830271696a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/change-propagation/jobqueue-deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits