1 Star 1 Fork 0

赵继海/esp-iot-solution

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitlab-ci.yml 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
qljz1993 提交于 2023-12-12 17:20 . ci: gitlab add dangerjs pre-check
stages:
- pre_check
- build
- target_test
- build_docs
- deploy
workflow:
rules:
# Disable those non-protected push triggered pipelines
- if: '$CI_COMMIT_REF_NAME != "master" && $CI_COMMIT_BRANCH !~ /^release\/v/ && $CI_COMMIT_TAG !~ /^v\d+\.\d+(\.\d+)?($|-)/ && $CI_PIPELINE_SOURCE == "push"'
when: never
# when running merged result pipelines, it would create a temp commit id. use $CI_MERGE_REQUEST_SOURCE_BRANCH_SHA instead of $CI_COMMIT_SHA.
# Please use PIPELINE_COMMIT_SHA at all places that require a commit sha
- if: $CI_OPEN_MERGE_REQUESTS != null
variables:
PIPELINE_COMMIT_SHA: $CI_MERGE_REQUEST_SOURCE_BRANCH_SHA
- if: $CI_OPEN_MERGE_REQUESTS == null
variables:
PIPELINE_COMMIT_SHA: $CI_COMMIT_SHA
- when: always
variables:
IOT_SOLUTION_PATH: "$CI_PROJECT_DIR"
include:
- '.gitlab/ci/danger.yml'
- '.gitlab/ci/rules.yml'
- '.gitlab/ci/pre_check.yml'
- '.gitlab/ci/build.yml'
- '.gitlab/ci/docs.yml'
- '.gitlab/ci/deploy.yml'
- '.gitlab/ci/target_test.yml'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhao-jihai/esp-iot-solution.git
git@gitee.com:zhao-jihai/esp-iot-solution.git
zhao-jihai
esp-iot-solution
esp-iot-solution
master

搜索帮助