Skip to content

Commit

Permalink
feat: allow mips64r6el to fail in pipeline status
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 23, 2024
1 parent d7df009 commit b564ba4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion frontend/src/pages/pipelines/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,12 @@
<v-icon v-if="(job as Job).status === 'success'" color="green" size="large">
mdi:mdi-check-circle-outline
</v-icon>
<v-icon v-else-if="(job as Job).status === 'failed'" color="red" size="large">
<v-icon v-else-if="(job as Job).status === 'failed' && (job as Job).arch === 'mips64r6el'" color="orange" size="large">
mdi:mdi-close-circle-outline
</v-icon>
<v-icon v-else-if="(job as Job).status === 'failed'" color="red" size="large">
mdi:mdi-alert-circle-outline
</v-icon>
<v-icon v-else-if="(job as Job).status === 'running'" color="blue" size="large">
mdi:mdi-circle-slice-5
</v-icon>
Expand Down
5 changes: 4 additions & 1 deletion server/src/routes/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,10 @@ pub async fn pipeline_list(
}
"failed" => {
// failed
has_failed = true;
// ignore failure if arch is mips64r6el
if job.arch != "mips64r6el" {
has_failed = true;
}
}
"created" => {
has_unfinished = true;
Expand Down

0 comments on commit b564ba4

Please sign in to comment.