Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
第
第六阶段
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
问题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
银宸大学计算机学院
教师群组
王晓庆-wangxiaoqing
数据库
temp1
第六阶段
提交
091ead12
提交
091ead12
7月 29, 2020
创建
作者:
王晓庆
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
2
上级
1c38e793
流水线
#118329
已通过 于阶段
用时 1 分 59 秒
变更
1
流水线
2
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
88 行增加
和
92 行删除
+88
-92
.gitlab-ci.yml
.gitlab-ci.yml
+88
-92
没有找到文件。
.gitlab-ci.yml
浏览文件 @
091ead12
image
:
"
mssql-server-2019-python:2019-CU5-ubuntu-18.04"
image
:
"
mssql-server-2019-python:2019-CU5-ubuntu-18.04"
stages
:
stages
:
#
- case1
-
case1
#
- case2
-
case2
#
- case3
-
case3
-
case4
-
case4
.codecode-runner
:
&codecode-runner
.codecode-runner
:
&codecode-runner
...
@@ -10,83 +10,83 @@ stages:
...
@@ -10,83 +10,83 @@ stages:
-
ubuntu-16.04
-
ubuntu-16.04
-
short-job
-
short-job
#
case1:
case1
:
#
stage: case1
stage
:
case1
#
<<: *codecode-runner
<<
:
*codecode-runner
#
script:
script
:
#
- /opt/mssql/bin/sqlservr > /dev/null &
-
/opt/mssql/bin/sqlservr > /dev/null &
#
- python3 testcases.py ci_test 1
-
python3 testcases.py ci_test 1
#
- diff output1.txt user_output1.txt -b -B -y -i -W 100
-
diff output1.txt user_output1.txt -b -B -y -i -W 100
#
- echo -e "\n*******************************************\nexec-score 60\n*******************************************\n"
-
echo -e "\n*******************************************\nexec-score 60\n*******************************************\n"
#
only:
only
:
#
- master
-
master
#
allow_failure: false
allow_failure
:
false
#
teacher-check1:
teacher-check1
:
#
image: "registry.cn-hangzhou.aliyuncs.com/engintime/alpine_git:latest"
image
:
"
registry.cn-hangzhou.aliyuncs.com/engintime/alpine_git:latest"
#
stage: case1
stage
:
case1
#
<<: *codecode-runner
<<
:
*codecode-runner
#
before_script: []
before_script
:
[]
#
script:
script
:
#
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
-
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/.gitlab-ci.yml .gitlab-ci.yml -b -B -i
#
- diff template/output1.txt output1.txt -b -B -i
-
diff template/output1.txt output1.txt -b -B -i
#
only:
only
:
#
- master
-
master
#
when: manual
when
:
manual
#
allow_failure: true
allow_failure
:
true
#
case2:
case2
:
#
stage: case2
stage
:
case2
#
<<: *codecode-runner
<<
:
*codecode-runner
#
script:
script
:
#
- /opt/mssql/bin/sqlservr > /dev/null &
-
/opt/mssql/bin/sqlservr > /dev/null &
#
- python3 testcases.py ci_test 2
-
python3 testcases.py ci_test 2
#
- diff output2.txt user_output2.txt -b -B -y -i -W 100
-
diff output2.txt user_output2.txt -b -B -y -i -W 100
#
- echo -e "\n*******************************************\nexec-score 80\n*******************************************\n"
-
echo -e "\n*******************************************\nexec-score 80\n*******************************************\n"
#
only:
only
:
#
- master
-
master
#
allow_failure: false
allow_failure
:
false
#
teacher-check2:
teacher-check2
:
#
image: "registry.cn-hangzhou.aliyuncs.com/engintime/alpine_git:latest"
image
:
"
registry.cn-hangzhou.aliyuncs.com/engintime/alpine_git:latest"
#
stage: case2
stage
:
case2
#
<<: *codecode-runner
<<
:
*codecode-runner
#
before_script: []
before_script
:
[]
#
script:
script
:
#
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
-
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/.gitlab-ci.yml .gitlab-ci.yml -b -B -i
#
- diff template/output2.txt output2.txt -b -B -i
-
diff template/output2.txt output2.txt -b -B -i
#
only:
only
:
#
- master
-
master
#
when: manual
when
:
manual
#
allow_failure: true
allow_failure
:
true
#
case3:
case3
:
#
stage: case3
stage
:
case3
#
<<: *codecode-runner
<<
:
*codecode-runner
#
script:
script
:
#
- /opt/mssql/bin/sqlservr > /dev/null &
-
/opt/mssql/bin/sqlservr > /dev/null &
#
- python3 testcases.py ci_test 3
-
python3 testcases.py ci_test 3
#
- diff output3.txt user_output3.txt -b -B -y -i -W 100
-
diff output3.txt user_output3.txt -b -B -y -i -W 100
#
- echo -e "\n*******************************************\nexec-score 90\n*******************************************\n"
-
echo -e "\n*******************************************\nexec-score 90\n*******************************************\n"
#
only:
only
:
#
- master
-
master
#
allow_failure: false
allow_failure
:
false
#
teacher-check3:
teacher-check3
:
#
image: "registry.cn-hangzhou.aliyuncs.com/engintime/alpine_git:latest"
image
:
"
registry.cn-hangzhou.aliyuncs.com/engintime/alpine_git:latest"
#
stage: case3
stage
:
case3
#
<<: *codecode-runner
<<
:
*codecode-runner
#
before_script: []
before_script
:
[]
#
script:
script
:
#
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
-
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/.gitlab-ci.yml .gitlab-ci.yml -b -B -i
#
- diff template/output3.txt output3.txt -b -B -i
-
diff template/output3.txt output3.txt -b -B -i
#
only:
only
:
#
- master
-
master
#
when: manual
when
:
manual
#
allow_failure: true
allow_failure
:
true
case4
:
case4
:
stage
:
case4
stage
:
case4
...
@@ -96,26 +96,22 @@ case4:
...
@@ -96,26 +96,22 @@ case4:
-
export LANG="C.UTF-8"
-
export LANG="C.UTF-8"
-
export LC_ALL="C.UTF-8"
-
export LC_ALL="C.UTF-8"
-
python3 testcases.py ci_test 4
-
python3 testcases.py ci_test 4
-
cat user_output4.txt
-
diff output4.txt user_output4.txt -b -B -y -i -W 100
-
diff output4.txt user_output4.txt -b -B -y -i -W 100
-
echo -e "\n*******************************************\nexec-score 100\n*******************************************\n"
-
echo -e "\n*******************************************\nexec-score 100\n*******************************************\n"
# artifacts:
# paths:
# - user_output4.txt
only
:
only
:
-
master
-
master
allow_failure
:
false
allow_failure
:
false
#
teacher-check4:
teacher-check4
:
#
image: "registry.cn-hangzhou.aliyuncs.com/engintime/alpine_git:latest"
image
:
"
registry.cn-hangzhou.aliyuncs.com/engintime/alpine_git:latest"
#
stage: case4
stage
:
case4
#
<<: *codecode-runner
<<
:
*codecode-runner
#
before_script: []
before_script
:
[]
#
script:
script
:
#
- git clone ${CODECODE_PROTOCOL}gitlab-ci-token:${CI_JOB_TOKEN}@${CODECODE_DOMAIN}/${CI_PROJECT_FORKSOURCE} template
-
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/.gitlab-ci.yml .gitlab-ci.yml -b -B -i
#
- diff template/output4.txt output4.txt -b -B -i
-
diff template/output4.txt output4.txt -b -B -i
#
only:
only
:
#
- master
-
master
#
when: manual
when
:
manual
#
allow_failure: true
allow_failure
:
true
编写
预览
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论