提交 6a936713 创建 作者: 王晓庆's avatar 王晓庆

更新 .gitlab-ci.yml

上级 3e4bf76b
......@@ -21,7 +21,21 @@ case1:
only:
- master
allow_failure: false
teacher-check1:
image: "registry.cn-hangzhou.aliyuncs.com/engintime/alpine_git:latest"
stage: case1
<<: *codecode-runner
before_script: []
script:
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -i
- diff template/output1.txt output1.txt -b -B -i
only:
- master
when: manual
allow_failure: true
case2:
stage: case2
<<: *codecode-runner
......@@ -34,6 +48,20 @@ case2:
only:
- master
allow_failure: false
teacher-check2:
image: "registry.cn-hangzhou.aliyuncs.com/engintime/alpine_git:latest"
stage: case2
<<: *codecode-runner
before_script: []
script:
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -i
- diff template/output2.txt output2.txt -b -B -i
only:
- master
when: manual
allow_failure: true
case3:
stage: case3
......@@ -47,3 +75,17 @@ case3:
only:
- master
allow_failure: false
teacher-check3:
image: "registry.cn-hangzhou.aliyuncs.com/engintime/alpine_git:latest"
stage: case3
<<: *codecode-runner
before_script: []
script:
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
- diff template/.gitlab-ci.yml .gitlab-ci.yml -b -B -i
- diff template/output3.txt output3.txt -b -B -i
only:
- master
when: manual
allow_failure: true
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论