summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBuildbot system user <buildbot@medusa>2020-05-06 16:43:07 +0100
committerBuildbot system user <buildbot@medusa>2020-05-06 16:43:07 +0100
commit52259a90b0b19801f012ab42f02f6d5d64529a9b (patch)
tree06a88c7349ef24c58edcb5cc32206cbcd34e51a9
parenta8618f01d11d30cae3ffcac9cdb4d958c3da9c26 (diff)
Tweak configuration
-rwxr-xr-xmaster.cfg2
-rwxr-xr-xmodulesetparser.py4
2 files changed, 5 insertions, 1 deletions
diff --git a/master.cfg b/master.cfg
index f65fc2f..59df583 100755
--- a/master.cfg
+++ b/master.cfg
@@ -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)