#160 Reuse previous scratch-build
Opened by lecris. Modified
lecris/zuul-distro-jobs reuse-job  into  master

Download 160.patch

This change uses an external cache server to keep track of the last running koji task-id and it tries to reuse whenever it has one. In order to clean up the cache, the user would have to amend the PR commit.

Depends-on: https://pagure.io/zuul-distro-jobs/pull-request/159

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/3944eed77d2d4376a60eeb0573656a1f

5 new commits added

  • Cache the task_id between runs
  • Do nothing if task_id was not yet defined
  • Do not cancel the task if it timedout
  • Add fedpkg-build-cleanup role
  • Return the koji task_id early

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/7629c287ee044bf08d26a92684114d2e

rebased onto dcec763f38089b3fd3c15109aa281aaf374e0722

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/57721b6c3fb74efa8ba81559e1821a4c

Metadata