From 6dca2329ea67b645bfdbe79645692058dd136a5f Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Mon, 25 Jan 2016 09:11:37 -0500 Subject: [PATCH] when the build is done, tell mita to destroy the node to ensure it gets a new one Signed-off-by: Alfredo Deza --- .../config/definitions/ceph-ansible-pull-requests.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ceph-ansible-pull-requests/config/definitions/ceph-ansible-pull-requests.yml b/ceph-ansible-pull-requests/config/definitions/ceph-ansible-pull-requests.yml index 08630b2a2..4006b9b27 100644 --- a/ceph-ansible-pull-requests/config/definitions/ceph-ansible-pull-requests.yml +++ b/ceph-ansible-pull-requests/config/definitions/ceph-ansible-pull-requests.yml @@ -59,3 +59,11 @@ !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/" -- 2.47.3