Skip to content

Commit

Permalink
SOFTWARE-5774: Update tarball-client test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
timtheisen committed Dec 20, 2023
1 parent e414f7d commit cf9eee4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tarball-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
OS_TYPE: ["centos"]
OS_VERSION: [7, 8]
OSG_VERSION: [3.6]
OS_TYPE: ["almalinux"]
OS_VERSION: [8, 9]
OSG_VERSION: [3.6.123456, 23.123456]
env:
OS_TYPE: ${{ matrix.OS_TYPE }}
OS_VERSION: ${{ matrix.OS_VERSION }}
Expand Down
4 changes: 2 additions & 2 deletions tests/setup_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
pkg_name=tarball-client
image=
case "${OS_TYPE}${OS_VERSION}" in
centos7) image=centos:centos7 ;;
centos8) image=quay.io/centos/centos:stream8 ;;
almalinux8) image=almalinux:8 ;;
almalinux9) image=almalinux:9 ;;
*) echo >&2 "${OS_TYPE}${OS_VERSION} not supported"; exit 1 ;;
esac

Expand Down
7 changes: 2 additions & 5 deletions tests/test_inside_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,13 @@ rpm -U https://dl.fedoraproject.org/pub/epel/epel-release-latest-${OS_VERSION}.n
# Broken mirror?
echo "exclude=mirror.beyondhosting.net" >> /etc/yum/pluginconf.d/fastestmirror.conf

yum -y install /bin/mount patch python2 yum-utils
yum -y install /bin/mount patch python3 yum-utils
if [[ $OS_VERSION -lt 8 ]]; then
yum -y install yum-plugin-priorities
fi

pushd tarball-client
args=(--osgver ${OSG_VERSION} --dver el${OS_VERSION} --basearch x86_64 --bundle osg-wn-client-${OSG_VERSION})
if [[ $OSG_VERSION == 3.5 ]]; then
args+=(--version=3.5.99)
fi
args=(--version ${OSG_VERSION} --dver el${OS_VERSION} --basearch x86_64)
./make-client-tarball "${args[@]}"
popd

0 comments on commit cf9eee4

Please sign in to comment.