Ppchelko has uploaded a new change for review.

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

Change subject: Added separate rules to process transcludes-derived events
......................................................................

Added separate rules to process transcludes-derived events

Bug: T145804
Change-Id: Iaa4d9225204f0d59c3a50da697bcb5f60881b4fc
---
M scap/templates/config.yaml.j2
1 file changed, 17 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/services/change-propagation/deploy 
refs/changes/02/311602/1

diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 6eb84b6..7662df3 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -112,6 +112,10 @@
                         headers:
                           cache-control: no-cache
 
+                    summary_rerender_transcludes:
+                      <<: *summary_rerender_spec
+                      topic: change-prop.transcludes.resource-change
+
                     definition_rerender:
                       topic: resource_change
                       match:
@@ -131,6 +135,10 @@
                         headers:
                           cache-control: no-cache
 
+                    definition_rerender_transcludes:
+                      <<: *definition_rerender_spec
+                      topic: change-prop.transcludes.resource-change
+
                     mobile_rerender:
                       topic: resource_change
                       match:
@@ -147,7 +155,11 @@
                         headers:
                           cache-control: no-cache
 
-                    purge_varnish:
+                    mobile_rerender_transcludes:
+                      <<: *mobile_rerender_spec
+                      topic: change-prop.transcludes.resource-change
+
+                    purge_varnish: &purge_varnish_spec
                       topic: resource_change
                       match:
                         meta:
@@ -161,6 +173,10 @@
                           - meta:
                               uri: 
'//{{message.meta.domain}}/api/rest_v1/{{match.meta.uri.title}}'
 
+                    purge_varnish_transcludes:
+                      <<: *purge_varnish_spec
+                      topic: change-prop.transcludes.resource-change
+
                     # RESTBase update jobs
                     mw_purge:
                       topic: resource_change

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaa4d9225204f0d59c3a50da697bcb5f60881b4fc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/change-propagation/deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko <ppche...@wikimedia.org>

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

Reply via email to