@@ -164,44 +164,44 @@ jobs:
164164 - name : Test repository access
165165 run : ls /cvmfs/pilot.nessi.no/
166166
167- # test-rpm-package:
168- # needs: build-linux-packages
169- # runs-on: ubuntu-latest
170- # container:
171- # image: centos:centos7
172- # options: --device /dev/fuse --privileged
173- #
174- # steps:
175- # - name: Download and install CVMFS client
176- # run: yum install -y https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm
177- #
178- # - name: Install CVMFS client
179- # run: yum install -y cvmfs
180- #
181- # - name: Download cvmfs-config-nessi package
182- # uses: actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # v3.0.1
183- # with:
184- # name: linux_packages
185- #
186- # - name: Find filename of package
187- # id: find_filename
188- # shell: bash
189- # run: |
190- # rpmfile="$(find . -name cvmfs-config-nessi*.rpm)"
191- # echo ::set-output name=rpmfile::${rpmfile}
192- #
193- # - name: Install package
194- # run: rpm -i ./${{ steps.find_filename.outputs.rpmfile }}
195- #
196- # - name: Add local CVMFS configuration (/etc/cvmfs/default.local)
197- # run: echo "CVMFS_CLIENT_PROFILE=single" | tee /etc/cvmfs/default.local
198- #
199- # - name: Mount the repositories
200- # #run: cvmfs_config setup
201- # run: mkdir -p /cvmfs/pilot.nessi.no && mount -t cvmfs pilot.nessi.no /cvmfs/pilot.nessi.no
202- #
203- # - name: Test repository access
204- # run: ls /cvmfs/pilot.nessi.no/
167+ test-rpm-package :
168+ needs : build-linux-packages
169+ runs-on : ubuntu-latest
170+ container :
171+ image : centos:centos7
172+ options : --device /dev/fuse --privileged
173+
174+ steps :
175+ - name : Download and install CVMFS client
176+ run : yum install -y https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest.noarch.rpm
177+
178+ - name : Install CVMFS client
179+ run : yum install -y cvmfs
180+
181+ - name : Download cvmfs-config-nessi package
182+ uses : actions/download-artifact@9782bd6a9848b53b110e712e20e42d89988822b7 # v3.0.1
183+ with :
184+ name : linux_packages
185+
186+ - name : Find filename of package
187+ id : find_filename
188+ shell : bash
189+ run : |
190+ rpmfile="$(find . -name cvmfs-config-nessi*.rpm)"
191+ echo ::set-output name=rpmfile::${rpmfile}
192+
193+ - name : Install package
194+ run : rpm -i ./${{ steps.find_filename.outputs.rpmfile }}
195+
196+ - name : Add local CVMFS configuration (/etc/cvmfs/default.local)
197+ run : echo "CVMFS_CLIENT_PROFILE=single" | tee /etc/cvmfs/default.local
198+
199+ - name : Mount the repositories
200+ # run: cvmfs_config setup
201+ run : mkdir -p /cvmfs/pilot.nessi.no && mount -t cvmfs pilot.nessi.no /cvmfs/pilot.nessi.no
202+
203+ - name : Test repository access
204+ run : ls /cvmfs/pilot.nessi.no/
205205
206206 test-tar-package :
207207 needs : build-linux-packages
@@ -276,8 +276,8 @@ jobs:
276276
277277 release :
278278 # needs: [build-linux-packages, build-macos-package, test-deb-package, test-rpm-package, test-macos-package, test-tar-package]
279- # needs: [build-linux-packages, test-deb-package, test-rpm-package, test- tar-package]
280- needs : [build-linux-packages, test-deb-package, test-tar-package]
279+ # needs: [build-linux-packages, test-deb-package, test-tar-package]
280+ needs : [build-linux-packages, test-deb-package, test-rpm-package, test- tar-package]
281281 if : startsWith(github.ref, 'refs/tags/')
282282 runs-on : ubuntu-latest
283283 permissions :
0 commit comments