summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Holland <william.holland@codethink.co.uk>2015-09-21 09:56:32 +0100
committerWill Holland <william.holland@codethink.co.uk>2015-09-21 11:27:10 +0100
commit9138cf49f6a03f4e33be3e1d406d25d4c3a62881 (patch)
tree908572c185a42a376f5dd960f91f2c777033722b
parent7cb28170bc0cbd4fa14466521fcc564eeaf44b1a (diff)
downloadorchestration-9138cf49f6a03f4e33be3e1d406d25d4c3a62881.tar.gz
Pass ref of repo if not definitions
-rw-r--r--source/bottlerock.py2
-rw-r--r--source/orch_config.py3
2 files changed, 3 insertions, 2 deletions
diff --git a/source/bottlerock.py b/source/bottlerock.py
index f0aa9ed..093c7b8 100644
--- a/source/bottlerock.py
+++ b/source/bottlerock.py
@@ -80,7 +80,7 @@ def repo_update():
force = {"ref":"force"}
return sendchange('definitions_update',force)
else:
- properties = {'repo_name':repo_name}
+ properties = {'repo_name':repo_name,'ref':ref}
return sendchange('repo_update',properties)
@post('/force_build')
diff --git a/source/orch_config.py b/source/orch_config.py
index f760e45..d138990 100644
--- a/source/orch_config.py
+++ b/source/orch_config.py
@@ -42,7 +42,8 @@ columns = [
Column( name = "1. Integration",
category = "repo_update",
trigger = 'firehose_trigger.sh',
- properties = [('repo_name','no repo name given')]),
+ properties = [('repo_name','no repo name given'),
+ ('ref','no ref given')]),
Column( name = "2. Build",
category = "definitions_update",
trigger = 'builders_trigger.sh',