[MediaWiki-commits] [Gerrit] mediawiki...jobqueue-deploy[master]: [Config] Enable processing of the updateBetaFeaturesUserCoun...

2017-09-13 Thread Mobrovac (Code Review)
Mobrovac has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/377518 )

Change subject: [Config] Enable processing of the updateBetaFeaturesUserCounts 
job.
..


[Config] Enable processing of the updateBetaFeaturesUserCounts job.

The updateBetaFeaturesUserCounts job is perfect for the first test of
the new pipeline, so creacte a rule that will execute this job.

Bug: T175210
Change-Id: I67fff9685d2c3e742806ee28e7733c50c755343f
---
M scap/templates/config.yaml.j2
1 file changed, 9 insertions(+), 2 deletions(-)

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



diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 886edf7..057746e 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -32,8 +32,15 @@
   fetch.message.max.bytes: <%= kafka_max_bytes %>
 concurrency: <%= concurrency %>
 startup_delay: 6
-# no rules for first deployment
-templates: {}
+templates:
+  updateBetaFeaturesUserCounts:
+topic: 'mediawiki.job.updateBetaFeaturesUserCounts'
+exec:
+  method: post
+  uri: '<%= jobrunner_uri %>'
+  headers:
+content-type: 'application/json'
+  body: '{{globals.message}}'
 
 
 # Number of worker processes to spawn.

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I67fff9685d2c3e742806ee28e7733c50c755343f
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/services/change-propagation/jobqueue-deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko 
Gerrit-Reviewer: GWicke 
Gerrit-Reviewer: Mobrovac 

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


[MediaWiki-commits] [Gerrit] mediawiki...jobqueue-deploy[master]: [Config] Enable processing of the updateBetaFeaturesUserCoun...

2017-09-12 Thread Ppchelko (Code Review)
Ppchelko has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/377518 )

Change subject: [Config] Enable processing of the updateBetaFeaturesUserCounts 
job.
..

[Config] Enable processing of the updateBetaFeaturesUserCounts job.

The updateBetaFeaturesUserCounts job is perfect for the first test of
the new pipeline, so creacte a rule that will execute this job.

Bug: T175210
Change-Id: I67fff9685d2c3e742806ee28e7733c50c755343f
---
M scap/templates/config.yaml.j2
1 file changed, 7 insertions(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/services/change-propagation/jobqueue-deploy
 refs/changes/18/377518/1

diff --git a/scap/templates/config.yaml.j2 b/scap/templates/config.yaml.j2
index 8031b95..16a9800 100644
--- a/scap/templates/config.yaml.j2
+++ b/scap/templates/config.yaml.j2
@@ -32,7 +32,13 @@
 concurrency: <%= concurrency %>
 startup_delay: 6
 # no rules for first deployment
-templates: {}
+templates:
+  updateBetaFeaturesUserCounts:
+topic: 'mediawiki.job.updateBetaFeaturesUserCounts'
+exec:
+  method: post
+  uri: '<%= jobrunner_uri %>'
+  body: '{{message}}'
 
 
 # Number of worker processes to spawn.

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I67fff9685d2c3e742806ee28e7733c50c755343f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/change-propagation/jobqueue-deploy
Gerrit-Branch: master
Gerrit-Owner: Ppchelko 

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