Commit eef7c1ad authored by Fabio Luchetti's avatar Fabio Luchetti
Browse files

CI: Add Centos Stream 8

parent 546d24b7
Pipeline #2909478 failed with stages
in 27 minutes and 14 seconds
......@@ -35,6 +35,23 @@ deps-el-8:
paths:
- "$CI_JOB_NAME"
# @note update libarchive or face https://github.com/ComplianceAsCode/content/issues/7016
deps-el-8s:
stage: deps
image: gitlab-registry.cern.ch/linuxsupport/cs8-base
script:
- dnf install -y rpmdevtools python3-devel python3-setuptools sudo tar yum-utils
- dnf builddep -y eos-folly-deps.spec
- mkdir -p ~/rpmbuild/SOURCES
- cp SConstruct.double-conversion ~/rpmbuild/SOURCES
- dnf update libarchive
- rpmbuild -ba --undefine=_disable_source_fetch eos-folly-deps.spec
- mkdir "$CI_JOB_NAME"
- cp -r /root/rpmbuild/RPMS/ /root/rpmbuild/SRPMS/ "$CI_JOB_NAME"
artifacts:
paths:
- "$CI_JOB_NAME"
deps-fc-33:
stage: deps
image: fedora:33
......@@ -151,6 +168,23 @@ el-8:
paths:
- "$CI_JOB_NAME"
el-8s:
stage: build
image: gitlab-registry.cern.ch/linuxsupport/cs8-base
dependencies:
- deps-el-8s
script:
- dnf install -y rpmdevtools python3-devel python3-setuptools sudo tar yum-utils
- dnf install -y deps-"$CI_JOB_NAME"/RPMS/x86_64/*
- dnf builddep -y eos-folly.spec
- mkdir -p ~/rpmbuild/SOURCES
- rpmbuild -ba --undefine=_disable_source_fetch eos-folly.spec
- mkdir "$CI_JOB_NAME"
- cp -r /root/rpmbuild/RPMS/ /root/rpmbuild/SRPMS/ "$CI_JOB_NAME"
artifacts:
paths:
- "$CI_JOB_NAME"
fc-33:
stage: build
image: fedora:33
......@@ -253,6 +287,7 @@ publish:
dependencies:
- deps-el-7
- deps-el-8
- deps-el-8s
- deps-fc-33
- deps-fc-33-tsan
- deps-fc-34
......@@ -260,6 +295,7 @@ publish:
- deps-fc-rawhide
- el-7
- el-8
- el-8s
- fc-33
- fc-33-tsan
- fc-34
......
......@@ -4,7 +4,7 @@ set -ex
EOS_CODENAME="diopside"
STCI_ROOT_PATH=/eos/project/s/storage-ci/www/eos
for BUILD_TYPE in "el-7" "el-8" "fc-33" "fc-33-tsan" "fc-34" "fc-34-tsan" ; do
for BUILD_TYPE in "el-7" "el-8" "el-8s" "fc-33" "fc-33-tsan" "fc-34" "fc-34-tsan" ; do
EXPORT_DIR_RPMS=${STCI_ROOT_PATH}/${EOS_CODENAME}-depend/${BUILD_TYPE}/x86_64/
EXPORT_DIR_SRPMS=${STCI_ROOT_PATH}/${EOS_CODENAME}-depend/${BUILD_TYPE}/SRPM/
echo "Publishing for: ${BUILD_TYPE} in location: ${EXPORT_DIR_RPMS}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment