-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitlab-ci.yml
35 lines (32 loc) · 1.13 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
stages:
- build
libTokenAuthz_c8:
stage: build
image: gitlab-registry.cern.ch/dss/eos/prebuild-c8
script:
- yum install --nogpg -y gcc-c++ make rpm-build automake autoconf libtool sssd-client sudo createrepo
- dnf builddep --nogpgcheck --allowerasing -y tokenauthz.spec
- ./bootstrap.sh
- make rpm
- STORAGE_PATH=/eos/project/s/storage-ci/www/eos/citrine-depend/el-8/x86_64
- sudo -u stci -H mkdir -p $STORAGE_PATH
- sudo -u stci -H cp -f RPMS/*.rpm $STORAGE_PATH
- sudo -u stci -H createrepo --update -q $STORAGE_PATH
tags:
- c8
when: manual
libTokenAuthz_cc7:
stage: build
image: gitlab-registry.cern.ch/linuxsupport/cc7-base
script:
- yum install --nogpg -y gcc-c++ make rpm-build automake autoconf libtool sssd-client sudo createrepo
- yum-builddep --nogpgcheck -y tokenauthz.spec
- ./bootstrap.sh
- make rpm
- STORAGE_PATH=/eos/project/s/storage-ci/www/eos/citrine-depend/el-7/x86_64
- sudo -u stci -H mkdir -p $STORAGE_PATH
- sudo -u stci -H cp -f RPMS/*.rpm $STORAGE_PATH
- sudo -u stci -H createrepo --update -q $STORAGE_PATH
tags:
- cc7
when: manual