mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-29 23:43:47 +08:00
Add retry to default in GitLab CI config
This commit introduces a retry parameter under the default settings in .gitlab-ci.yml to improve the robustness of CI/CD pipeline. Additionally, an unnecessary whitespace has been removed from the file to maintain neat and clean code.
This commit is contained in:
+4
-3
@@ -15,6 +15,7 @@ stages:
|
||||
- publish
|
||||
|
||||
default:
|
||||
retry: 2
|
||||
tags:
|
||||
- sunnypilot
|
||||
- x86
|
||||
@@ -104,7 +105,7 @@ build:
|
||||
- touch ${BUILD_DIR}/prebuilt
|
||||
- mkdir -p ${OUTPUT_DIR}
|
||||
- shopt -s dotglob && mv ${BUILD_DIR}/* ${OUTPUT_DIR}
|
||||
- sudo chown -R comma:comma ${OUTPUT_DIR}
|
||||
- sudo chown -R comma:comma ${OUTPUT_DIR}
|
||||
artifacts:
|
||||
paths:
|
||||
- ${OUTPUT_DIR}/
|
||||
@@ -143,8 +144,8 @@ commit changes for public branch:
|
||||
rules:
|
||||
- if: $NEW_BRANCH
|
||||
when: on_success
|
||||
- when: never
|
||||
|
||||
- when: never
|
||||
|
||||
publish to github:
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: normal
|
||||
|
||||
Reference in New Issue
Block a user