From f8a3364a216043eb774bd68384a6792283aea742 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Wed, 6 Dec 2017 16:06:43 -0500 Subject: [PATCH] ceph-volume-ansible-prs set the status with github-status when failure Signed-off-by: Alfredo Deza --- ceph-volume-ansible-prs/build/teardown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ceph-volume-ansible-prs/build/teardown b/ceph-volume-ansible-prs/build/teardown index 44c8db49..1d1f7dd1 100644 --- a/ceph-volume-ansible-prs/build/teardown +++ b/ceph-volume-ansible-prs/build/teardown @@ -2,6 +2,12 @@ # There has to be a better way to do this than this script which just looks # for every Vagrantfile in scenarios and then just destroys whatever is left. +# the following two methods exist in scripts/build_utils.sh +pkgs=( "github-status" ) +install_python_packages "pkgs[@]" + +GITHUB_STATUS_STATE="failure" $VENV/github-status create + cd $WORKSPACE/src/ceph-volume/tests/functional scenarios=$(find . | grep Vagrantfile | xargs dirname) -- 2.39.5