diff options
-rw-r--r-- | source/bottlerock.py | 7 | ||||
-rw-r--r-- | source/orch_config.py | 1 |
2 files changed, 7 insertions, 1 deletions
diff --git a/source/bottlerock.py b/source/bottlerock.py index 093c7b8..b6eb4fa 100644 --- a/source/bottlerock.py +++ b/source/bottlerock.py @@ -75,7 +75,12 @@ def repo_update(): for change in changes: ref = change['ref'] if repo_name == DEFINITIONS: - return sendchange('definitions_update',ref) + if ref == orch_config.definitions_base_ref: + # if baseref changes trigger firehose + properties = {'repo_name':repo_name,'ref':ref} + return sendchange('repo_update',properties) + else: + return sendchange('definitions_update',ref) elif repo_name == TEST_REPO: force = {"ref":"force"} return sendchange('definitions_update',force) diff --git a/source/orch_config.py b/source/orch_config.py index d138990..2ad6443 100644 --- a/source/orch_config.py +++ b/source/orch_config.py @@ -70,3 +70,4 @@ build_timeout = 1800 deploy_timeout = 1800 web_user = "codething" web_user_password = "password" +definitions_base_ref = "cu010-trove/br6/genivi-demo-platform" |