Commit 5427b202 by Julien Leduc

Adding client SRPMs for koji builds

parent c88c7385
Pipeline #165472 passed with stages
in 13 minutes 34 seconds
Showing with 19 additions and 0 deletions
......@@ -10,6 +10,25 @@ before_script:
- test -n "${CI_COMMIT_TAG}" && export TAG_MAJOR=$(echo ${CI_COMMIT_TAG} | sed -e 's/^v//;s/\([^_]\+\)_\([^_]\+\)_.*/\1.\2/')
- test -n "${CI_COMMIT_TAG}" && export TAG_MINOR=$(echo ${CI_COMMIT_TAG} | sed -e 's/^v//;s/\([^_]\+\)_\([^_]\+\)_//;s/_/./')
castor_client_srpm:
stage: build:srpm
image: gitlab-registry.cern.ch/linuxsupport/cc7-base
script:
- yum install -y gcc-c++ cmake make rpm-build python-debian
- mkdir build_client_srpm
- cd build_client_srpm
- cmake -DPackageOnly:Bool=true -DVCS_VERSION=${CASTOR_BUILD_ID} ..
- make castor_srpm
artifacts:
expire_in: 30 days
paths:
- build_client_srpm/RPM/SRPMS/
tags:
- docker
castor_srpm:
stage: build:srpm
image: gitlab-registry.cern.ch/linuxsupport/cc7-base
......
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 sign in to comment