Skip to content
Snippets Groups Projects
Commit c8c41611 authored by Daniel Juarez's avatar Daniel Juarez :speech_balloon: Committed by Ben Morrice
Browse files

Adapt CI to latest customisations per OS on rpmci

parent e2bc377d
No related branches found
No related tags found
No related merge requests found
......@@ -3,21 +3,13 @@ variables:
KOJI_TAG: 'dbclients'
BUILD_6: 'False'
BUILD_7: 'True'
BUILD_8: 'True'
BUILD_8: 'False'
DIST_7: '.el7.cern'
DIST_8: '.el8.cern'
# DO NOT MODIFY THIS
include: 'https://gitlab.cern.ch/linuxsupport/rpmci/raw/master/rpm-ci.yml'
# # DO NOT MODIFY THIS
.rpm_deps:
test_install7:
before_script:
- if [ `rpm --eval %{dist}` == ".el8" ]; then yum-config-manager --add-repo "http://linuxsoft.cern.ch/internal/repos/dbclients8-stable/x86_64/os/"; fi
- yum-builddep -y *.spec
.test_install:
before_script:
- if [ `rpm --eval %{dist}` == ".el8" ]; then yum-config-manager --add-repo "http://linuxsoft.cern.ch/internal/repos/dbclients8-stable/x86_64/os/"; fi
# test installing all binary meta packages except basiclite and compat, as these conflicts with 'basic' and 'devel'
- if [ `rpm --eval %{dist}` == ".el8" ]; then yum install -y --nogpgcheck `ls koji/*oracle-instantclient*x86_64.rpm |egrep -v 'basiclite|compat'`; else yum install -y --enablerepo=cernonly,cernonly-testing `ls koji/*oracle-instantclient*x86_64.rpm |egrep -v 'basiclite|compat'`; fi
- yum install -y --enablerepo=cernonly,cernonly-testing `ls koji/*oracle-instantclient*x86_64.rpm |egrep -v 'basiclite|compat'`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment