fc-queue-runner: map exit codes to extended BuildStatus variants
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ibaa4de9e2c789931df8c67a53528829a6a6a6964
This commit is contained in:
parent
f4772036ce
commit
5f09a46d29
3 changed files with 14 additions and 9 deletions
|
|
@ -49,7 +49,7 @@ pub async fn run(
|
|||
if let Err(e) = repo::builds::complete(
|
||||
&pool,
|
||||
build.id,
|
||||
BuildStatus::Completed,
|
||||
BuildStatus::Succeeded,
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
|
|
@ -95,7 +95,7 @@ pub async fn run(
|
|||
if let Err(e) = repo::builds::complete(
|
||||
&pool,
|
||||
build.id,
|
||||
BuildStatus::Completed,
|
||||
BuildStatus::Succeeded,
|
||||
existing.log_path.as_deref(),
|
||||
existing.build_output_path.as_deref(),
|
||||
None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue