diff options
author | Buildbot system user <buildbot@medusa> | 2020-05-06 16:43:07 +0100 |
---|---|---|
committer | Buildbot system user <buildbot@medusa> | 2020-05-06 16:43:07 +0100 |
commit | 52259a90b0b19801f012ab42f02f6d5d64529a9b (patch) | |
tree | 06a88c7349ef24c58edcb5cc32206cbcd34e51a9 | |
parent | a8618f01d11d30cae3ffcac9cdb4d958c3da9c26 (diff) |
Tweak configuration
-rwxr-xr-x | master.cfg | 2 | ||||
-rwxr-xr-x | modulesetparser.py | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -65,7 +65,7 @@ c['builders'].extend(BuilderList(['allegra'])) c['www'] = { 'port': 8010, 'plugins': {'console_view': True}, - 'allowed_origins': ['http://medusa:8010', 'http://dronecode.duckdns.org:8010'], + 'allowed_origins': ['http://medusa:8010', 'http://medusa.local:8010', 'http://dronecode.duckdns.org:8010'], 'change_hook_dialects': {'poller' : True}, } diff --git a/modulesetparser.py b/modulesetparser.py index e98c37c..1b12924 100755 --- a/modulesetparser.py +++ b/modulesetparser.py @@ -187,6 +187,10 @@ def ChangeSourceList(): m = modules[i] b = m.find('branch') if b is not None: + # if a specific commit is specified, we don't need to poll + if b.get('tag', None): + continue + #print("%s %s %s" % (m.get('id'), m, b)) repo = get_repo(b) |