diff options
author | Will Holland <william.holland@codethink.co.uk> | 2015-09-14 14:22:03 +0100 |
---|---|---|
committer | Will Holland <william.holland@codethink.co.uk> | 2015-09-14 14:22:03 +0100 |
commit | b99caeaf1c2cc0ef11261336521fc2aa45f14e92 (patch) | |
tree | a4b44d8af306104c20ef3e4f5efb8144718dde45 | |
parent | beb04bb988af41dd449e42edabb6938bf6a007af (diff) | |
download | orchestration-b99caeaf1c2cc0ef11261336521fc2aa45f14e92.tar.gz |
Trigger testing when test repo changes
-rw-r--r-- | source/bottlerock.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/bottlerock.py b/source/bottlerock.py index 147368e..858cf6c 100644 --- a/source/bottlerock.py +++ b/source/bottlerock.py @@ -7,6 +7,7 @@ from bottle import post, request, run, HTTPResponse LOGFILE = '../orch.log' DEFINITIONS = 'ssh://git@cu010-trove.codethink.com/baserock/baserock/definitions' +TEST_REPO = 'ssh://git@cu010-trove.codethink.com/cu010-trove/br6/ciat-tester' trigger_names = [ 'repo_update', @@ -45,6 +46,8 @@ def repo_update(): body="400: A repo_name is required") elif repo_name == DEFINITIONS: return call_trigger('definitions_update') + elif repo_name == TEST_REPO: + return call_trigger('deploy_complete') else: return call_trigger('repo_update',repo_name) |