Update Gitlab CI config for Centos8
This commit is contained in:
parent
7014327232
commit
5d34e1566c
|
@ -9,18 +9,6 @@
|
||||||
- result/*
|
- result/*
|
||||||
|
|
||||||
|
|
||||||
.build_job_centos:
|
|
||||||
stage: build
|
|
||||||
script:
|
|
||||||
- rm -f /etc/yum.repos.d/CentOS-Sources.repo
|
|
||||||
- yum -y install epel-release
|
|
||||||
- make rpm-dist
|
|
||||||
- ci-build-pkg
|
|
||||||
artifacts:
|
|
||||||
expire_in: 1 day
|
|
||||||
paths:
|
|
||||||
- result/*
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- sign
|
- sign
|
||||||
|
@ -50,8 +38,30 @@ build_bionic:
|
||||||
<<: *job_build
|
<<: *job_build
|
||||||
|
|
||||||
build_centos_7:
|
build_centos_7:
|
||||||
image: buildpkg/centos:7
|
image: buildpkg/centos:7
|
||||||
extends: .build_job_centos
|
stage: build
|
||||||
|
script:
|
||||||
|
- rm -f /etc/yum.repos.d/CentOS-Sources.repo
|
||||||
|
- yum -y install epel-release
|
||||||
|
- make rpm-dist
|
||||||
|
- ci-build-pkg
|
||||||
|
artifacts:
|
||||||
|
expire_in: 1 day
|
||||||
|
paths:
|
||||||
|
- result/*
|
||||||
|
|
||||||
|
build_centos_8:
|
||||||
|
image: buildpkg/centos:8
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- yum-config-manager --enable PowerTools
|
||||||
|
- yum -y install epel-release
|
||||||
|
- make rpm-dist
|
||||||
|
- ci-build-pkg
|
||||||
|
artifacts:
|
||||||
|
expire_in: 1 day
|
||||||
|
paths:
|
||||||
|
- result/*
|
||||||
|
|
||||||
sign:
|
sign:
|
||||||
image: buildpkg/debian:stretch
|
image: buildpkg/debian:stretch
|
||||||
|
@ -68,6 +78,7 @@ sign:
|
||||||
# - build_xenial
|
# - build_xenial
|
||||||
- build_bionic
|
- build_bionic
|
||||||
- build_centos_7
|
- build_centos_7
|
||||||
|
- build_centos_8
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in New Issue