Skip to content

Commit 3e923b0

Browse files
committed
Use newer OSG versions where available
1 parent b356563 commit 3e923b0

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

bin/stashcp2/tests/test_inside_docker.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ yum -y clean expire-cache
1313
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-${OS_VERSION}.noarch.rpm
1414

1515
yum -y install yum-plugin-priorities
16-
rpm -Uvh https://repo.opensciencegrid.org/osg/3.3/osg-3.3-el${OS_VERSION}-release-latest.rpm
16+
case $OS_VERSION in
17+
6) OSG_VERSION=3.4
18+
;;
19+
7|8) OSG_VERSION=3.5
20+
;;
21+
esac
22+
rpm -Uvh https://repo.opensciencegrid.org/osg/${OSG_VERSION}/osg-${OSG_VERSION}-el${OS_VERSION}-release-latest.rpm
1723

1824
yum -y install osg-oasis
1925

0 commit comments

Comments
 (0)