Skip to content

Commit

Permalink
Increase download timeout to 3h, set warnOnFailure and flunkOnFailure…
Browse files Browse the repository at this point in the history
… explicitly
  • Loading branch information
barthalion committed Oct 19, 2021
1 parent fb18a0d commit 04aafd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion master/buildbot/flathub_master.py
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ def run(self):

command = ['./flathub-download.sh', config.upstream_sources_path]
else:
command = ['timeout', '1h', 'flatpak-builder', '--download-only', '--no-shallow-clone', '--allow-missing-runtimes',
command = ['timeout', '3h', 'flatpak-builder', '--download-only', '--no-shallow-clone', '--allow-missing-runtimes',
'--state-dir=' + config.upstream_sources_path,
config.upstream_sources_path + '/.builddir', util.Interpolate('%(prop:flathub_manifest)s')]

Expand Down Expand Up @@ -1518,6 +1518,8 @@ def create_build_app_factory():
hideStepIf=hide_on_success),
steps.Trigger(name='Download sources',
haltOnFailure=False,
warnOnFailure=True,
flunkOnFailure=False,
schedulerNames=['download-sources'],
updateSourceStamp=True,
waitForFinish=True,
Expand Down

0 comments on commit 04aafd1

Please sign in to comment.