diff options
Diffstat (limited to 'source/bottlerock.py')
-rw-r--r-- | source/bottlerock.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/bottlerock.py b/source/bottlerock.py index 2a92c56..fd49f57 100644 --- a/source/bottlerock.py +++ b/source/bottlerock.py @@ -87,6 +87,12 @@ def deploy_complete(): status=400, body="400: An artefact name is required") return call_trigger('deploy_complete',artefact) + testing_sha = request.forms.get("testing_sha") + if not testing_sha: + return HTTPResponse( + status=400, + body="400: A testing SHA is required") + return call_trigger('deploy_complete',artefact,testing_sha) if __name__ == '__main__': run(host='0.0.0.0', port=8080, debug=True) |