mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-04 04:49:08 +08:00
39d6abaf74
commit 98dfe6d58a00a825465ada1255098c1f4149f703 Author: wanghaibin <wanghaibin@qiyi.com> Date: Fri Jun 5 23:21:04 2020 +0800 modify acl-libs commit 04d9b89f8b7427825eb45e0dc3b25a5274a627f3 Author: wanghaibin <wanghaibin@qiyi.com> Date: Fri Jun 5 23:13:46 2020 +0800 modify makefile commit d292ad9c3f6b6ad170e480950ff87c1954d03de8 Author: wanghaibin <wanghaibin@qiyi.com> Date: Fri Jun 5 23:08:10 2020 +0800 modify makefile commit 6f8d0739e9408e140720f127dbf3eab421082287 Author: wanghaibin <wanghaibin@qiyi.com> Date: Fri Jun 5 22:59:15 2020 +0800 modify master spec commit 3da0067873a28a35588ff550a77f6227297530cc Author: wanghaibin <wanghaibin@qiyi.com> Date: Fri Jun 5 22:47:09 2020 +0800 add master spec
213 lines
4.9 KiB
YAML
213 lines
4.9 KiB
YAML
---
|
|
# 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:
|
|
- yum install -y zlib-devel
|
|
- cd packaging && make rpm
|
|
artifacts:
|
|
paths:
|
|
- packaging/x86_64/acl-libs-*.rpm
|
|
- packaging/x86_64/acl-master-*.rpm
|
|
only:
|
|
- /^check-.*$/
|
|
except:
|
|
- tags@cdn-cloud/acl
|
|
|
|
.basepublishdev: &DEVEL
|
|
image: ${BUILDIMAGES}
|
|
stage: publish
|
|
script:
|
|
- yum install -y zlib-devel
|
|
- cd packaging && make
|
|
- cd ${CI_PROJECT_DIR} && /tools/publish.sh
|
|
coverage: '/lines......: \d+\.\d+%/'
|
|
only:
|
|
- /^devel-.*$/
|
|
artifacts:
|
|
paths:
|
|
- packaging/x86_64/acl-libs-*.rpm
|
|
- packaging/x86_64/acl-master-*.rpm
|
|
|
|
.basepublishprerelease: &PRERELEASE
|
|
image: ${BUILDIMAGES}
|
|
stage: publish
|
|
script:
|
|
- yum install -y zlib-devel
|
|
- cd packaging && make rpm
|
|
- cd ${CI_PROJECT_DIR} && /tools/publish.sh -t prerelease
|
|
coverage: '/lines......: \d+\.\d+%/'
|
|
only:
|
|
- /^release-.*$/
|
|
artifacts:
|
|
paths:
|
|
- packaging/x86_64/acl-libs-*.rpm
|
|
- packaging/x86_64/acl-master-*.rpm
|
|
|
|
.framerelease: &FRAMERELEASE
|
|
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
|
|
|
|
stages:
|
|
- test
|
|
- publish
|
|
|
|
test:centos:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:6.4"
|
|
}
|
|
<<: *TEST
|
|
|
|
devel:centos5.8:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:5.8"
|
|
}
|
|
<<: *DEVEL
|
|
|
|
devel:centos5.9:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:5.9"
|
|
}
|
|
<<: *DEVEL
|
|
|
|
devel:centos6.4:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:6.4"
|
|
}
|
|
<<: *DEVEL
|
|
|
|
devel:centos6.6:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:6.6"
|
|
}
|
|
<<: *DEVEL
|
|
|
|
devel:centos7.0:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:7.0"
|
|
}
|
|
<<: *DEVEL
|
|
|
|
devel:centos7.2:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:7.2"
|
|
}
|
|
<<: *DEVEL
|
|
|
|
prerelease:centos5.8:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:5.8"
|
|
}
|
|
<<: *PRERELEASE
|
|
|
|
prerelease:centos5.9:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:5.9"
|
|
}
|
|
<<: *PRERELEASE
|
|
|
|
prerelease:centos6.4:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:6.4"
|
|
}
|
|
<<: *PRERELEASE
|
|
|
|
prerelease:centos6.6:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:6.6"
|
|
}
|
|
<<: *PRERELEASE
|
|
|
|
prerelease:centos7.0:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:7.0"
|
|
}
|
|
<<: *PRERELEASE
|
|
|
|
prerelease:centos7.2:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:7.2"
|
|
}
|
|
<<: *PRERELEASE
|
|
|
|
prerelease:centos5.8:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:5.8"
|
|
}
|
|
<<: *FRAMERELEASE
|
|
|
|
prerelease:centos5.9:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:5.9"
|
|
}
|
|
<<: *FRAMERELEASE
|
|
|
|
prerelease:centos6.4:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:6.4"
|
|
}
|
|
<<: *FRAMERELEASE
|
|
|
|
prerelease:centos6.6:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:6.6"
|
|
}
|
|
<<: *FRAMERELEASE
|
|
|
|
prerelease:centos7.0:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:7.0"
|
|
}
|
|
<<: *FRAMERELEASE
|
|
|
|
prerelease:centos7.2:
|
|
variables: {
|
|
BUILDIMAGES:
|
|
"docker-registry.qiyi.virtual/portal-process/centos-builder:7.2"
|
|
}
|
|
<<: *FRAMERELEASE
|