Skip to content

Commit f34d6d9

Browse files
committed
ci: try to optimize manual stage checker
Signed-off-by: Huaqi Fang <578567190@qq.com>
1 parent ce9f161 commit f34d6d9

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.gitlab-ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ cache:
213213
- freeloader
214214
- linux
215215
- u-boot
216+
- if: $CI_JOB_STAGE == "manual"
217+
when: manual
216218
tags:
217219
- env::shell
218220
- net::outside
@@ -252,10 +254,6 @@ cache:
252254
# Manual job template
253255
.build_linux_sdk_manual_template: &build_linux_sdk_manual_job_def
254256
extends: .job_rules
255-
rules:
256-
# manual trigger this deploy job on not merge request pipeline
257-
- if: '$CI_PIPELINE_SOURCE != "merge_request_event"'
258-
when: manual
259257
artifacts:
260258
name: "bootimages-${SOC}-${CORE}-${BOOT_MODE}-${CI_COMMIT_SHA::8}"
261259
paths:

0 commit comments

Comments
 (0)