]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-volume-ansible-prs set the status with github-status when failure 921/head
authorAlfredo Deza <adeza@redhat.com>
Wed, 6 Dec 2017 21:06:43 +0000 (16:06 -0500)
committerAlfredo Deza <adeza@redhat.com>
Wed, 6 Dec 2017 22:13:03 +0000 (17:13 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-volume-ansible-prs/build/teardown

index 44c8db4994f77aeaa92dce7e3a0179d7ebdaf778..1d1f7dd1225252665600431d805db5d27d0f826f 100644 (file)
@@ -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)