From: Alfredo Deza Date: Wed, 6 Dec 2017 21:06:43 +0000 (-0500) Subject: ceph-volume-ansible-prs set the status with github-status when failure X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f8a3364a216043eb774bd68384a6792283aea742;p=ceph-build.git ceph-volume-ansible-prs set the status with github-status when failure Signed-off-by: Alfredo Deza --- 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)