From 19abe6f860cf5a79dbd35e9bf93099165809f9f3 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Thu, 6 Apr 2017 14:23:17 -0700 Subject: [bin] Report OS-7 progress for Manhattan. --- bin/tw-mh-os7-report | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100755 bin/tw-mh-os7-report diff --git a/bin/tw-mh-os7-report b/bin/tw-mh-os7-report new file mode 100755 index 0000000..993a9b3 --- /dev/null +++ b/bin/tw-mh-os7-report @@ -0,0 +1,40 @@ +#!/bin/bash + +if [ ! hash osrpeort.pex 2>/dev/null ]; then + pushd . + cd "${HOME}/src/source" + ./pants binary src/python/twitter/corestorage/osreport + popd +fi + +ROLES=( +manhattan.prod.revenue +manhattan.prod.athena +manhattan.prod.zac.hourly +manhattan.prod.blobstore +manhattan.prod.zac.minutely.agents +manhattan.prod.zac.index +manhattan.prod.zac.frequent +manhattan.prod.roslin +manhattan.prod.starbuck +manhattan.prod.adama +manhattan.prod.jammer +manhattan.prod.redwing +manhattan.prod.baltar +manhattan.prod.tory +manhattan.prod.omega +manhattan.prod.zac.minutely.counters +manhattan.prod.zac.frequent.agents +manhattan.prod.cylon +manhattan.prod.hotdog +manhattan.prod.serina +manhattan.prod.davis +manhattan.prod.limiters +manhattan.prod.zac.minutely +manhattan.prod.zac.frequent.counters +manhattan.prod.foster +) + +for role in ${ROLES[@]}; do + osreport.pex report ${role} +done -- cgit 1.4.1