Skip to content

Commit 73ac571

Browse files
committed
Use pre-defined package lists in Travis-CI
Populated from the 3.5 vm-test-run parameters
1 parent f010948 commit 73ac571

File tree

8 files changed

+39
-11
lines changed

8 files changed

+39
-11
lines changed

.travis.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@ git:
55
quiet: true
66

77
env:
8-
- OSG_RELEASE=3.4 OS_VERSION=6 PACKAGES=osg-ce-condor,rsv,vo-client-lcmaps-voms,llrun
9-
- OSG_RELEASE=3.4 OS_VERSION=6 PACKAGES=osg-gridftp,rsv,lcmaps,lcmaps-db-templates,vo-client-lcmaps-voms,rsv,llrun
10-
- OSG_RELEASE=3.4 OS_VERSION=7 PACKAGES=osg-ce-condor,rsv,vo-client-lcmaps-voms,llrun,singularity,osg-oasis
11-
- OSG_RELEASE=3.4 OS_VERSION=7 PACKAGES=osg-gridftp,rsv,lcmaps,lcmaps-db-templates,vo-client-lcmaps-voms,rsv,llrun,singularity,osg-oasis
12-
- OSG_RELEASE=3.4 OS_VERSION=7 PACKAGES=xrootd,xrootd-client,xrootd-multiuser,globus-proxy-utils
13-
- OSG_RELEASE=3.5 OS_VERSION=7 PACKAGES=osg-ce-condor,vo-client-lcmaps-voms,llrun,singularity,osg-oasis
14-
- OSG_RELEASE=3.5 OS_VERSION=7 PACKAGES=osg-gridftp,lcmaps,lcmaps-db-templates,vo-client-lcmaps-voms,rsv,llrun,singularity,osg-oasis
15-
- OSG_RELEASE=3.5 OS_VERSION=7 PACKAGES=xrootd,xrootd-client,xrootd-multiuser,globus-proxy-utils
8+
- OSG_RELEASE=3.4 OS_VERSION=6 PKG_SET=htcondor-ce
9+
- OSG_RELEASE=3.4 OS_VERSION=6 PKG_SET=gridftp
10+
- OSG_RELEASE=3.4 OS_VERSION=7 PKG_SET=htcondor-ce
11+
- OSG_RELEASE=3.4 OS_VERSION=7 PKG_SET=gridftp
12+
- OSG_RELEASE=3.4 OS_VERSION=7 PKG_SET=singularity
13+
- OSG_RELEASE=3.4 OS_VERSION=7 PKG_SET=stashcache
14+
- OSG_RELEASE=3.4 OS_VERSION=7 PKG_SET=xrootd
15+
- OSG_RELEASE=3.5 OS_VERSION=7 PKG_SET=htcondor-ce
16+
- OSG_RELEASE=3.5 OS_VERSION=7 PKG_SET=gridftp
17+
- OSG_RELEASE=3.5 OS_VERSION=7 PKG_SET=singularity
18+
- OSG_RELEASE=3.5 OS_VERSION=7 PKG_SET=stashcache
19+
- OSG_RELEASE=3.5 OS_VERSION=7 PKG_SET=xrootd
1620

1721
services:
1822
- docker

travis-ci/gridftp.packages

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
osg-gridftp
2+
osg-gridftp-xrootd

travis-ci/htcondor-ce.packages

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
osg-ce-condor
2+
globus-proxy-utils

travis-ci/setup_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# We use `--privileged` for cgroup compatability, which seems to be enabled by default in HTCondor 8.6.x
77

88
ENV_FILE=/tmp/travis.env
9-
for vars in {OSG_RELEASE,OS_VERSION,PACKAGES}; do
9+
for vars in {OSG_RELEASE,OS_VERSION,PKG_SET}; do
1010
echo "$vars=${!vars}" >> $ENV_FILE
1111
done
1212

travis-ci/singularity.packages

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
osg-oasis
2+
singularity

travis-ci/stashcache.packages

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
stashcache-client
2+
stash-cache
3+
stash-origin

travis-ci/test_inside_docker.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ cp /etc/condor/config.d/99-local.conf /etc/condor-ce/config.d/99-local.conf
6363
export _condor_CONDOR_CE_TRACE_ATTEMPTS=60
6464

6565
# Ok, do actual testing
66-
INSTALL_STR="--install ${PACKAGES//,/ --install }"
66+
67+
install_str=''
68+
while read package; do
69+
install_str="$install_str --install $package"
70+
done < /osg-test/travis-ci/"$PKG_SET".packages
71+
6772
echo "------------ OSG Test --------------"
6873

6974
osg-test --verbose \
@@ -72,4 +77,4 @@ osg-test --verbose \
7277
--hostcert \
7378
--no-cleanup \
7479
${extra_repos} \
75-
${INSTALL_STR}
80+
${install_str}

travis-ci/xrootd.packages

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
xrootd
2+
xrootd-multiuser
3+
xrootd-lcmaps
4+
xrootd-client
5+
xrootd-fuse
6+
xrootd-scitokens
7+
lcmaps-db-templates
8+
vo-client-lcmaps-voms
9+
globus-proxy-utils
10+
osg-gridftp-xrootd

0 commit comments

Comments
 (0)