mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-04 11:20:00 +08:00
Transition module build to failed if PDC wasn't updated
This allows resume... otherwise we're stuck in building. Signed-off-by: Lubos Kocman <lkocman@redhat.com> Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
committed by
Nils Philippsen
parent
dbcc33edae
commit
614100163d
@@ -106,7 +106,7 @@ def wait(config, session, msg):
|
||||
dependencies, tag = _get_deps_and_tag()
|
||||
except ValueError:
|
||||
log.exception("Failed to get module info from PDC. Max retries reached.")
|
||||
build.transition(config, state="build") # Wait for the buildroot to be ready.a
|
||||
build.transition(config, state="failed")
|
||||
session.commit()
|
||||
raise
|
||||
|
||||
|
||||
Reference in New Issue
Block a user