Skip to content

Commit 5b63a2e

Browse files
committed
ci: enable ci fail for xlspike run and manual job
see https://docs.gitlab.com/ci/jobs/job_control/#types-of-manual-jobs In optional manual jobs: allow_failure is true, which is the default setting for jobs that have when: manual defined outside of rules. The status does not contribute to the overall pipeline status. A pipeline can succeed even if all of its manual jobs fail. In blocking manual jobs: allow_failure is false, which is the default setting for jobs that have when: manual defined inside rules. The pipeline stops at the stage where the job is defined. To let the pipeline continue running, run the manual job. Merge requests in projects with Pipelines must succeed enabled can’t be merged with a blocked pipeline. The pipeline shows a status of blocked. Signed-off-by: Huaqi Fang <[email protected]>
1 parent 3c1099d commit 5b63a2e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ variables:
44
GIT_STRATEGY: fetch
55
FF_USE_FASTZIP: "true"
66
SHARELOC: "/home/xl_ci/linuxsdk/"
7-
QEMUPATH: "/home/share/devtools/qemu/linux64/8.0"
7+
QEMUPATH: "/home/share/devtools/qemu/linux64/latest"
88

99
workflow:
1010
rules:
@@ -256,6 +256,8 @@ cache:
256256
# manual trigger this deploy job on not merge request pipeline
257257
- if: '$CI_PIPELINE_SOURCE != "merge_request_event"'
258258
when: manual
259+
# https://docs.gitlab.com/ci/jobs/job_control/#types-of-manual-jobs
260+
allow_failure: true
259261
artifacts:
260262
name: "bootimages-${SOC}-${CORE}-${BOOT_MODE}-${CI_COMMIT_SHA::8}"
261263
paths:
@@ -340,6 +342,7 @@ release_sources:
340342
# Run For ux900 Core, without FPU, flash boot mode
341343
run_ux900_flash_xlspike:
342344
stage: run
345+
allow_failure: true
343346
dependencies:
344347
- build_ux900_flash
345348
variables:
@@ -352,6 +355,7 @@ run_ux900_flash_xlspike:
352355
# Run For ux900 Core, without FPU, sd boot mode
353356
run_ux900_sd_xlspike:
354357
stage: run
358+
allow_failure: true
355359
dependencies:
356360
- build_ux900_sd
357361
variables:
@@ -471,11 +475,8 @@ run_ux900fd_sd_xlspike:
471475
<<: *run_linux_sdk_xlspike_job_def
472476

473477
## Job for run qemu
474-
# Run For ux900FD Core, with FPU, flash boot mode
475-
# This ux900fd init process will fail
476478
run_ux900fd_flash_qemu:
477479
stage: run
478-
allow_failure: true
479480
dependencies:
480481
- build_ux900fd_flash
481482
parallel:
@@ -487,8 +488,6 @@ run_ux900fd_flash_qemu:
487488
<<: *run_linux_sdk_qemu_job_def
488489

489490
## Job for run qemu
490-
# Run For ux900FD Core, with FPU, sd boot mode
491-
# This ux900fd init process will fail
492491
run_ux900fd_sd_qemu:
493492
stage: run
494493
allow_failure: true

0 commit comments

Comments
 (0)