2017-09-19 11:51:10 +08:00
|
|
|
---
|
|
|
|
# The image used to start a container to do build jobs, which should has all
|
|
|
|
# build depencies installed
|
|
|
|
# coverage: '/total:[\t]*statements[\t]*\d+\.\d+%/'
|
|
|
|
# coverage: '/total:[\t]*\(statements\)[\t]*\d+\.\d+%/'
|
|
|
|
|
|
|
|
variables:
|
|
|
|
{
|
|
|
|
JOB_NAME: "${CI_PROJECT_NAME}"
|
|
|
|
}
|
|
|
|
|
|
|
|
.projecttest: &TEST
|
|
|
|
image: ${BUILDIMAGES}
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- echo "OK"
|
|
|
|
|
|
|
|
.projectbuild: &BUILD
|
|
|
|
image: ${BUILDIMAGES}
|
|
|
|
stage: build
|
|
|
|
script:
|
2017-09-19 13:36:09 +08:00
|
|
|
- yum install -y zlib-devel
|
2020-06-28 10:00:11 +08:00
|
|
|
- cd packaging && make
|
2017-09-19 11:51:10 +08:00
|
|
|
artifacts:
|
|
|
|
paths:
|
2018-03-07 11:11:58 +08:00
|
|
|
- packaging/x86_64/acl-libs-*.rpm
|
2018-03-07 11:21:35 +08:00
|
|
|
- packaging/x86_64/acl-master-*.rpm
|
2017-09-19 11:51:10 +08:00
|
|
|
only:
|
|
|
|
- /^check-.*$/
|
|
|
|
except:
|
|
|
|
- tags@cdn-cloud/acl
|
|
|
|
|
|
|
|
.basepublishdev: &DEVEL
|
|
|
|
image: ${BUILDIMAGES}
|
|
|
|
stage: publish
|
|
|
|
script:
|
2017-09-19 13:36:09 +08:00
|
|
|
- yum install -y zlib-devel
|
2017-09-19 11:51:10 +08:00
|
|
|
- cd packaging && make
|
|
|
|
- cd ${CI_PROJECT_DIR} && /tools/publish.sh
|
|
|
|
coverage: '/lines......: \d+\.\d+%/'
|
|
|
|
only:
|
|
|
|
- /^devel-.*$/
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2018-03-07 11:11:58 +08:00
|
|
|
- packaging/x86_64/acl-libs-*.rpm
|
2018-03-07 11:21:35 +08:00
|
|
|
- packaging/x86_64/acl-master-*.rpm
|
2017-09-19 11:51:10 +08:00
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
.lib_release: &LIB_RELEASE
|
2017-09-19 11:51:10 +08:00
|
|
|
image: ${BUILDIMAGES}
|
|
|
|
stage: publish
|
|
|
|
script:
|
2017-09-19 13:36:09 +08:00
|
|
|
- yum install -y zlib-devel
|
2020-06-28 10:00:11 +08:00
|
|
|
- cd packaging && make
|
2017-09-19 11:51:10 +08:00
|
|
|
- cd ${CI_PROJECT_DIR} && /tools/publish.sh -t prerelease
|
|
|
|
coverage: '/lines......: \d+\.\d+%/'
|
|
|
|
only:
|
|
|
|
- /^release-.*$/
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2018-03-07 11:11:58 +08:00
|
|
|
- packaging/x86_64/acl-libs-*.rpm
|
2020-06-28 10:00:11 +08:00
|
|
|
#- packaging/x86_64/acl-master-*.rpm
|
2017-09-19 11:51:10 +08:00
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
.frame_release: &FRAME_RELEASE
|
2020-06-05 23:25:57 +08:00
|
|
|
image: ${BUILDIMAGES}
|
|
|
|
stage: publish
|
|
|
|
script:
|
|
|
|
- yum install -y zlib-devel
|
|
|
|
- cd packaging && make PKG_NAME=acl-master
|
|
|
|
- cd ${CI_PROJECT_DIR} && /tools/publish.sh -t prerelease
|
|
|
|
coverage: '/lines......: \d+\.\d+%/'
|
|
|
|
only:
|
|
|
|
- /^master-.*$/
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- packaging/x86_64/*.rpm
|
|
|
|
|
2017-09-19 11:51:10 +08:00
|
|
|
stages:
|
2017-09-19 13:25:07 +08:00
|
|
|
- test
|
2017-09-19 11:51:10 +08:00
|
|
|
- publish
|
|
|
|
|
|
|
|
test:centos:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:5.8"
|
2017-09-19 11:51:10 +08:00
|
|
|
}
|
|
|
|
<<: *TEST
|
|
|
|
|
2017-09-19 13:32:29 +08:00
|
|
|
devel:centos5.8:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:5.8"
|
2017-09-19 13:32:29 +08:00
|
|
|
}
|
|
|
|
<<: *DEVEL
|
|
|
|
|
|
|
|
devel:centos5.9:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:5.9"
|
2017-09-19 13:32:29 +08:00
|
|
|
}
|
|
|
|
<<: *DEVEL
|
|
|
|
|
2017-09-19 11:51:10 +08:00
|
|
|
devel:centos6.4:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:6.4"
|
2017-09-19 11:51:10 +08:00
|
|
|
}
|
|
|
|
<<: *DEVEL
|
|
|
|
|
|
|
|
devel:centos6.6:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:6.6"
|
2017-09-19 11:51:10 +08:00
|
|
|
}
|
|
|
|
<<: *DEVEL
|
|
|
|
|
|
|
|
devel:centos7.0:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:7.0"
|
2017-09-19 11:51:10 +08:00
|
|
|
}
|
|
|
|
<<: *DEVEL
|
|
|
|
|
|
|
|
devel:centos7.2:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:7.2"
|
2017-09-19 11:51:10 +08:00
|
|
|
}
|
|
|
|
<<: *DEVEL
|
|
|
|
|
2022-07-13 16:39:01 +08:00
|
|
|
devel:centos8.0:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:8.0"
|
|
|
|
}
|
|
|
|
<<: *DEVEL
|
|
|
|
|
|
|
|
devel:centos8.2:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:8.2"
|
|
|
|
}
|
|
|
|
<<: *DEVEL
|
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
lib_release:centos5.8:
|
2017-09-19 13:41:28 +08:00
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:5.8"
|
2017-09-19 13:41:28 +08:00
|
|
|
}
|
2020-06-10 10:33:20 +08:00
|
|
|
<<: *LIB_RELEASE
|
2017-09-19 13:41:28 +08:00
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
lib_release:centos5.9:
|
2017-09-19 13:41:28 +08:00
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:5.9"
|
2017-09-19 13:41:28 +08:00
|
|
|
}
|
2020-06-10 10:33:20 +08:00
|
|
|
<<: *LIB_RELEASE
|
2017-09-19 13:41:28 +08:00
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
lib_release:centos6.4:
|
2017-09-19 11:51:10 +08:00
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:6.4"
|
2017-09-19 11:51:10 +08:00
|
|
|
}
|
2020-06-10 10:33:20 +08:00
|
|
|
<<: *LIB_RELEASE
|
2017-09-19 11:51:10 +08:00
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
lib_release:centos6.6:
|
2017-09-19 11:51:10 +08:00
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:6.6"
|
2017-09-19 11:51:10 +08:00
|
|
|
}
|
2020-06-10 10:33:20 +08:00
|
|
|
<<: *LIB_RELEASE
|
2017-09-19 11:51:10 +08:00
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
lib_release:centos7.0:
|
2017-09-19 11:51:10 +08:00
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:7.0"
|
2017-09-19 11:51:10 +08:00
|
|
|
}
|
2020-06-10 10:33:20 +08:00
|
|
|
<<: *LIB_RELEASE
|
2017-09-19 11:51:10 +08:00
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
lib_release:centos7.2:
|
2017-09-19 11:51:10 +08:00
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:7.2"
|
2017-09-19 11:51:10 +08:00
|
|
|
}
|
2020-06-10 10:33:20 +08:00
|
|
|
<<: *LIB_RELEASE
|
2020-06-05 23:25:57 +08:00
|
|
|
|
2022-07-13 16:39:01 +08:00
|
|
|
lib_release:centos8.0:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:8.0"
|
|
|
|
}
|
|
|
|
<<: *LIB_RELEASE
|
|
|
|
|
|
|
|
lib_release:centos8.2:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:8.2"
|
|
|
|
}
|
|
|
|
<<: *LIB_RELEASE
|
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
frame_release:centos5.8:
|
2020-06-05 23:25:57 +08:00
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:5.8"
|
2020-06-05 23:25:57 +08:00
|
|
|
}
|
2020-06-10 10:33:20 +08:00
|
|
|
<<: *FRAME_RELEASE
|
2020-06-05 23:25:57 +08:00
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
frame_release:centos5.9:
|
2020-06-05 23:25:57 +08:00
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:5.9"
|
2020-06-05 23:25:57 +08:00
|
|
|
}
|
2020-06-10 10:33:20 +08:00
|
|
|
<<: *FRAME_RELEASE
|
2020-06-05 23:25:57 +08:00
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
frame_release:centos6.4:
|
2020-06-05 23:25:57 +08:00
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:6.4"
|
2020-06-05 23:25:57 +08:00
|
|
|
}
|
2020-06-10 10:33:20 +08:00
|
|
|
<<: *FRAME_RELEASE
|
2020-06-05 23:25:57 +08:00
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
frame_release:centos6.6:
|
2020-06-05 23:25:57 +08:00
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:6.6"
|
2020-06-05 23:25:57 +08:00
|
|
|
}
|
2020-06-10 10:33:20 +08:00
|
|
|
<<: *FRAME_RELEASE
|
2020-06-05 23:25:57 +08:00
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
frame_release:centos7.0:
|
2020-06-05 23:25:57 +08:00
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:7.0"
|
2020-06-05 23:25:57 +08:00
|
|
|
}
|
2020-06-10 10:33:20 +08:00
|
|
|
<<: *FRAME_RELEASE
|
2020-06-05 23:25:57 +08:00
|
|
|
|
2020-06-10 10:33:20 +08:00
|
|
|
frame_release:centos7.2:
|
2020-06-05 23:25:57 +08:00
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
2021-11-17 11:08:38 +08:00
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:7.2"
|
2020-06-05 23:25:57 +08:00
|
|
|
}
|
2020-06-10 10:33:20 +08:00
|
|
|
<<: *FRAME_RELEASE
|
2022-06-15 17:08:18 +08:00
|
|
|
|
2022-06-30 09:26:14 +08:00
|
|
|
frame_release:centos8.0:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:8.0"
|
|
|
|
}
|
|
|
|
<<: *FRAME_RELEASE
|
|
|
|
|
2022-06-15 17:08:18 +08:00
|
|
|
frame_release:centos8.2:
|
|
|
|
variables: {
|
|
|
|
BUILDIMAGES:
|
|
|
|
"docker-registry.qiyi.virtual/acl/centos-builder:8.2"
|
|
|
|
}
|
|
|
|
<<: *FRAME_RELEASE
|