File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,12 @@ variables:
1818 DIST_DIR : " dist"
1919 BUILD_DIR : " build"
2020
21+ workflow :
22+ rules :
23+ - if : $CI_PIPELINE_SOURCE == 'merge_request_event'
24+ - if : $CI_COMMIT_TAG
25+ - if : $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
26+
2127.use_ci_tools : &use_ci_tools |
2228 curl -sSL ${CIT_LOADER_URL} -o cit_loader.sh && sh cit_loader.sh
2329 source citools/import_functions
@@ -28,7 +34,6 @@ variables:
2834.get_toolchain_build_scripts : &get_toolchain_build_scripts |
2935 git clone -b ${ESP_LLVM_EMBEDDED_TOOLCHAIN_REF} ${GITLAB_SSH_SERVER}/${ESP_LLVM_EMBEDDED_TOOLCHAIN_REPO}.git
3036
31-
3237before_script :
3338 - *use_ci_tools
3439 - *add_gitlab_key
@@ -391,7 +396,12 @@ pack_aarch64-apple-darwin:
391396
392397.macos_codesign_template :
393398 stage : sign
394- when : on_success
399+ rules :
400+ - if : $CI_COMMIT_TAG
401+ when : on_success
402+ allow_failure : false
403+ - when : manual
404+ allow_failure : true
395405 resource_group : macos_codesign
396406 tags : [ "darwin", "codesign" ]
397407 artifacts :
You can’t perform that action at this time.
0 commit comments