diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-05-18 20:53:38 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-05-18 20:53:38 +0200 |
commit | 4cf902397688a607e403be70d2b3c31ad3d41f47 (patch) | |
tree | 45ba38e6c58382c05dffb0aa44fb419512f62109 /bin | |
parent | a94c545cca4145176fcf562d14deec2aadefec3e (diff) | |
download | jenkins.debian.net-4cf902397688a607e403be70d2b3c31ad3d41f47.tar.xz |
reproducible: temporarily only schedule packages for testing as dpkg 1.18.0 breaks our toolchain changes - this commit shall be reverted once we uploaded a properly patched dpkg to our repo
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_scheduler.py | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py index 75b123f6..13ac3fb7 100755 --- a/bin/reproducible_scheduler.py +++ b/bin/reproducible_scheduler.py @@ -238,7 +238,10 @@ def scheduler(): untested = {} for suite in SUITES: log.info('Requesting 444 untested packages in ' + suite + '...') - untested[suite] = scheduler_untested_packages(suite, 444) + if suite == 'testing': + untested[suite] = scheduler_untested_packages(suite, 444) + else: + untested[suite] = scheduler_untested_packages(suite, 0) total += len(untested[suite]) log.info('Received ' + str(len(untested[suite])) + ' untested packages in ' + suite + ' to schedule.') log.info('==============================================================') @@ -253,7 +256,10 @@ def scheduler(): many_new = 150 log.info('Requesting ' + str(many_new) + ' new versions in ' + suite + '...') for suite in SUITES: - new[suite] = scheduler_new_versions(suite, many_new) + if suite == 'testing': + new[suite] = scheduler_new_versions(suite, many_new) + else: + new[suite] = scheduler_new_versions(suite, 0) total += len(new[suite]) log.info('Received ' + str(len(new[suite])) + ' new packages in ' + suite + ' to schedule.') log.info('==============================================================') @@ -274,7 +280,10 @@ def scheduler(): else: suite_many_old = many_old_base # experimental is roughly one tenth of the size of the other suites log.info('Requesting ' + str(suite_many_old) + ' old packages in ' + suite + '...') - old[suite] = scheduler_old_versions(suite, suite_many_old) + if suite == 'testing': + old[suite] = scheduler_old_versions(suite, suite_many_old) + else + old[suite] = scheduler_old_versions(suite, 0) total += len(old[suite]) log.info('Received ' + str(len(old[suite])) + ' old packages in ' + suite + ' to schedule.') log.info('==============================================================') |