Commit 3d530876 authored by Manuel Reis's avatar Manuel Reis
Browse files

CI: Add job to publish CS9 build. Use Rocky for el8 builds, drop koji job and fix el9 (temp) deps

parent e3c17708
Pipeline #3818818 passed with stages
in 7 minutes and 42 seconds
......@@ -6,10 +6,9 @@ stages:
.build_eos-rocksdb-template: &build_eos-rocksdb-template_definition
stage: build
before_script:
script:
- dnf install -y rpmdevtools dnf-plugins-core
- dnf builddep -y eos-rocksdb.spec
script:
- rpmdev-setuptree
- rpmbuild -ba --undefine=_disable_source_fetch eos-rocksdb.spec
- mkdir ${CI_JOB_NAME}
......@@ -22,10 +21,27 @@ stages:
- docker_node
el-7:
stage: build
image: gitlab-registry.cern.ch/linuxsupport/cc7-base
before_script:
script:
- yum install -y rpmdevtools sudo tar yum-plugin-priorities yum-utils
- yum-builddep -y eos-rocksdb.spec
- rpmdev-setuptree
- rpmbuild -ba --undefine=_disable_source_fetch eos-rocksdb.spec
- mkdir ${CI_JOB_NAME}
- cp -r /root/rpmbuild/RPMS/ /root/rpmbuild/SRPMS/ ${CI_JOB_NAME}
artifacts:
expire_in: 1 day
paths:
- ${CI_JOB_NAME}
tags:
- docker_node
el-8:
image: rockylinux/rockylinux:8
before_script:
- dnf install -y dnf-plugins-core epel-release
- dnf config-manager --set-enabled powertools
extends: .build_eos-rocksdb-template
el-8s:
......@@ -34,6 +50,8 @@ el-8s:
el-9s:
image: gitlab-registry.cern.ch/linuxsupport/cs9-base
before_script:
- echo -e "[eos-depend]\nname=EOS dependencies\nbaseurl=http://storage-ci.web.cern.ch/storage-ci/eos/diopside-depend/el-9s/\ngpgcheck=0\nenabled=1\npriority=4" >> /etc/yum.repos.d/eos-depend.repo
extends: .build_eos-rocksdb-template
fc-33:
......@@ -117,7 +135,9 @@ rpms:
image: gitlab-registry.cern.ch/eos/quarkdb/cc7-enhanced
dependencies:
- el-7
- el-8
- el-8s
- el-9s
- fc-33
- fc-33-tsan
- fc-34
......@@ -144,6 +164,14 @@ rpms:
- publish
publish_koji_cs9:
<<: *publish_koji_template_definition
variables:
TARGET: "eos9"
BUILD_NAME: "el-9s"
dependencies:
- el-9s
publish_koji_cs8:
<<: *publish_koji_template_definition
variables:
......@@ -152,7 +180,6 @@ publish_koji_cs8:
dependencies:
- el-8s
publish_koji_cc7:
<<: *publish_koji_template_definition
variables:
......
......@@ -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" "el-8s" "fc-33" "fc-33-tsan" "fc-34" "fc-34-tsan"; do
for BUILD_TYPE in "el-7" "el-8" "el-8s" "el-9s" "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}/SRPMS/
echo "Publishing for: ${BUILD_TYPE} in location: ${EXPORT_DIR_RPMS}"
......
Supports Markdown
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