move docker builds to netdisco-docker repo and use trigger chain from here

This commit is contained in:
Oliver Gorwits
2018-01-13 22:07:29 +00:00
parent 77c45cfc96
commit b5e564212e
15 changed files with 7 additions and 345 deletions

4
docker/hooks/post_push Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
for url in $(echo $BUILD_TRIGGERS | sed "s/,/ /g"); do
curl -sL -X POST -H "Content-Type: application/json" --data "{ \"build\": true, \"source_name\": \"$SOURCE_BRANCH\" }" $url
done