Mobrovac has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/329482 )

Change subject: Scap: Depool and repool MobileApps during restarts
......................................................................

Scap: Depool and repool MobileApps during restarts

Bug: T144602
Change-Id: I1fc6579c9a924a7b33adcfbf6420ecc7a30bca1a
---
M scap/checks.yaml
M scap/environments/beta/checks.yaml
M scap/scap.cfg
3 files changed, 11 insertions(+), 0 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/services/mobileapps/deploy 
refs/changes/82/329482/1

diff --git a/scap/checks.yaml b/scap/checks.yaml
index 1eb7ca3..3a1c68c 100644
--- a/scap/checks.yaml
+++ b/scap/checks.yaml
@@ -3,3 +3,11 @@
     type: nrpe
     stage: restart_service
     command: check_endpoints_mobileapps
+  depool:
+    type: command
+    stage: promote
+    command: depool-mobileapps
+  repool:
+    type: command
+    stage: restart_service
+    command: pool-mobileapps
diff --git a/scap/environments/beta/checks.yaml 
b/scap/environments/beta/checks.yaml
index 29e81ba..3648dc1 100644
--- a/scap/environments/beta/checks.yaml
+++ b/scap/environments/beta/checks.yaml
@@ -1,2 +1,4 @@
 checks:
   endpoints: {}
+  depool: {}
+  repool: {}
diff --git a/scap/scap.cfg b/scap/scap.cfg
index fab46c93..a5f3cb4 100644
--- a/scap/scap.cfg
+++ b/scap/scap.cfg
@@ -6,6 +6,7 @@
 server_groups: canary, default
 canary_dsh_targets: target-canary
 dsh_targets: targets
+group_size: 2
 git_submodules: True
 service_name: mobileapps
 service_port: 8888

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1fc6579c9a924a7b33adcfbf6420ecc7a30bca1a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/mobileapps/deploy
Gerrit-Branch: master
Gerrit-Owner: 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