summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-20 09:03:56 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-20 09:03:56 +0200
commitd34550d42da7272f19c90abc8b96943ac76329a6 (patch)
tree7acd8a35a684cd81ffe4937c552eb166ccc35b52 /bin
parentfd58b8ffff235ebb4f2f6e47ca76193aa3259c5b (diff)
downloadjenkins.debian.net-d34550d42da7272f19c90abc8b96943ac76329a6.tar.xz
reproducible: armhf: only update sources db for unstable
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_scheduler.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index b72592d6..6ba29a46 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -172,8 +172,11 @@ def update_sources(suite):
sources = lzma.decompress(urlopen(remotefile).read()).decode('utf8')
log.debug('\tdownloaded')
for arch in ARCHS:
- log.info('Updating sources db for %s/%s...', suite, arch)
- update_sources_db(suite, arch, sources)
+ if arch == 'armhf' and suite != 'unstable':
+ continue
+ else:
+ log.info('Updating sources db for %s/%s...', suite, arch)
+ update_sources_db(suite, arch, sources)
def update_sources_db(suite, arch, sources):