Skip to content
Snippets Groups Projects
Commit c02ebef2 authored by Ben Morrice's avatar Ben Morrice
Browse files

Merge branch 'fix_ci_deps_per_os' into 'master'

Adapt CI to latest customisations per OS on rpmci

See merge request !3
parents e2bc377d c8c41611
Branches master
No related tags found
1 merge request!3Adapt CI to latest customisations per OS on rpmci
Pipeline #2137830 passed
......@@ -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