summaryrefslogtreecommitdiff
path: root/source/definitions_update.sh
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-08 11:17:22 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-08 11:17:22 +0100
commitd4fce543b3e229ec2cb596aa1a026efb1a807655 (patch)
tree6be283ce04a0ce2db04fbc02383a1513a977a94e /source/definitions_update.sh
parenta9b700a73fdf1cc90388c7789151e4d37552b82e (diff)
downloadorchestration-d4fce543b3e229ec2cb596aa1a026efb1a807655.tar.gz
Add HTTP POST interface, bottlerock
This is so that hooks running in the Trove sandbox can trigger buildbot
Diffstat (limited to 'source/definitions_update.sh')
-rw-r--r--source/definitions_update.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/definitions_update.sh b/source/definitions_update.sh
new file mode 100644
index 0000000..f77b175
--- /dev/null
+++ b/source/definitions_update.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+# this will go on the definitions post-receive hook
+set -e
+
+category=definitions
+
+IP=127.0.0.1
+port=9999
+user=orchestration
+passwd=orchestration
+
+buildbot sendchange -m "$IP":"$port" -a "$user":"$passwd" -W scriptbot -C "$category"