]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
when the build is done, tell mita to destroy the node to ensure it gets a new one
authorAlfredo Deza <adeza@redhat.com>
Mon, 25 Jan 2016 14:11:37 +0000 (09:11 -0500)
committerAlfredo Deza <adeza@redhat.com>
Mon, 25 Jan 2016 20:32:32 +0000 (15:32 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-ansible-pull-requests/config/definitions/ceph-ansible-pull-requests.yml

index 08630b2a253c3aaa50c132bbac482d498b05e3ee..4006b9b27cf098e7f984b28d8e2287501c4b6365 100644 (file)
           !include-raw:
             - ../../../scripts/build_utils.sh
             - ../../build/build
+
+    publishers:
+      - github-notifier
+      - postbuildscript:
+          script-only-if-succeeded: False
+          script-only-if-failed: True
+          builders:
+            - shell: "curl -X POST https://mita.ceph.com/api/nodes/${NODE_NAME}/delete/"