Mobrovac has submitted this change and it was merged. ( 
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(-)

Approvals:
  Mobrovac: Verified; Looks good to me, approved



diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 5bd73bc..ae464d9 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -49,6 +49,22 @@
                   agentOptions:
                     keepAlive: true
 <%- endfor %>
+# 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
 <%- else %>
               job:
                 topic: '/^mediawiki\.job\..*/'

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7e3ed8d46bccd3bf4c8767bbe3afe0830271696a
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/services/change-propagation/jobqueue-deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko <ppche...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: Mobrovac <mobro...@wikimedia.org>

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

Reply via email to