]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-trigger: create script to notify shaman of triggered build
authorAlfredo Deza <adeza@redhat.com>
Wed, 4 Jan 2017 20:08:24 +0000 (15:08 -0500)
committerAlfredo Deza <adeza@redhat.com>
Fri, 6 Jan 2017 12:50:34 +0000 (07:50 -0500)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-dev-trigger/build/notify [new file with mode: 0644]

diff --git a/ceph-dev-trigger/build/notify b/ceph-dev-trigger/build/notify
new file mode 100644 (file)
index 0000000..cb1ed77
--- /dev/null
@@ -0,0 +1,9 @@
+#!/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"