]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-new-trigger: create a script to notify shaman of triggered builds 610/head
authorAlfredo Deza <adeza@redhat.com>
Fri, 6 Jan 2017 14:21:26 +0000 (09:21 -0500)
committerAlfredo Deza <adeza@redhat.com>
Fri, 6 Jan 2017 15:08:30 +0000 (10:08 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-dev-new-trigger/build/notify [new file with mode: 0644]

diff --git a/ceph-dev-new-trigger/build/notify b/ceph-dev-new-trigger/build/notify
new file mode 100644 (file)
index 0000000..39411b7
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash -ex
+
+# update shaman with the triggered build status. At this point there aren't any
+# architectures or distro information, so we just report this with the current
+# build information
+BRANCH=`branch_slash_filter ${GIT_BRANCH}`
+SHA1=${GIT_COMMIT}
+
+create_build_status "queued" "ceph"
+