File tree Expand file tree Collapse file tree 2 files changed +57
-0
lines changed Expand file tree Collapse file tree 2 files changed +57
-0
lines changed Original file line number Diff line number Diff line change @@ -344,6 +344,26 @@ eos_docs:
344
344
- docker-cc7
345
345
when : manual
346
346
347
+ eos_repopackage :
348
+ stage : build:rpm
349
+ image : gitlab-registry.cern.ch/linuxsupport/cc7-base
350
+ script :
351
+ - yum install --nogpg -y rpm-build sssd-client sudo createrepo
352
+ - mkdir build
353
+ - cd build
354
+ - rpmbuild --bb --define "_rpmdir RPMS/" --define "_build_name_fmt %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" ../elrepopackage.spec
355
+ - STORAGE_PATH=/eos/project/s/storage-ci/www/eos/${BRANCH}-depend/el-7/x86_64
356
+ - sudo -u stci -H mkdir -p $STORAGE_PATH
357
+ - sudo -u stci -H cp -f RPMS/*.rpm $STORAGE_PATH
358
+ - sudo -u stci -H createrepo --update -q $STORAGE_PATH
359
+ - STORAGE_PATH=/eos/project/s/storage-ci/www/eos/${BRANCH}-depend/el-6/x86_64
360
+ - sudo -u stci -H mkdir -p $STORAGE_PATH
361
+ - sudo -u stci -H cp -f RPMS/*.rpm $STORAGE_PATH
362
+ - sudo -u stci -H createrepo --update -q $STORAGE_PATH
363
+ tags :
364
+ - docker-cc7
365
+ when : manual
366
+
347
367
eos_dockerimage_commit :
348
368
stage : build:dockerimage
349
369
tags :
Original file line number Diff line number Diff line change
1
+ Name: eos-citrine-repo
2
+ Version: 1
3
+ Release: 1
4
+ Url: http://cern.ch/eos/
5
+ Summary: EOS YUM repository definition for the 'citrine' releases
6
+ License: none
7
+ Group: Applications/System
8
+ BuildArch: noarch
9
+ %description
10
+ This package contains the YUM configuration for the EOS 'citrine'
11
+ releases and their third-party dependencies. RPMs are signed with
12
+ http://storage-ci.web.cern.ch/storage-ci/storageci.key
13
+
14
+ %install
15
+ mkdir -p ${RPM_BUILD_ROOT} %{_sysconfdir }/yum.repos.d/
16
+ cat << EOFrepo >${RPM_BUILD_ROOT} %{_sysconfdir}/yum.repos.d/eos-citrine.repo
17
+ [eos-citrine]
18
+ name=EOS binaries from EOS project, citrine branch
19
+ baseurl=http://cern.ch/storage-ci/eos/citrine/tag/el-\$ releasever/\$ basearch/
20
+ enabled=1
21
+ gpgcheck=1
22
+ priority=10
23
+
24
+ [eos-citrine-deps]
25
+ name=EOS dependencies from EOS project, citrine branch
26
+ baseurl=http://cern.ch/storage-ci/eos/citrine-depend/el-\$ releasever/\$ basearch/
27
+ enabled=1
28
+ gpgcheck=0
29
+ priority=10
30
+
31
+ EOFrepo
32
+
33
+
34
+
35
+ %files
36
+ %defattr(-,root,root,-)
37
+ %config(noreplace) %{_sysconfdir }/yum.repos.d/eos-citrine.repo
You can’t perform that action at this time.
0 commit comments