Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/cvmfs_config_package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Test setup-cvmfs action (with cvmfs_config_package)
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cvmfs-contrib/github-action-cvmfs@main
with:
cvmfs_repositories: 'pilot.eessi-hpc.org'
cvmfs_config_package: 'https://github.com/EESSI/filesystem-layer/releases/download/v0.2.3/cvmfs-config-eessi_0.2.3_all.deb'
- name: Setup CernVM-FS
run: cat /etc/cvmfs/default.local && ls /cvmfs/pilot.eessi-hpc.org && cvmfs_config showconfig pilot.eessi-hpc.org
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
The following parameters are supported:
- `cvmfs_repositories` (optional, defaults to `atlas.cern.ch,atlas-condb.cern.ch,grid.cern.ch`): the list of repositories to load.
- `cvmfs_http_proxy` (optional, defaults to `DIRECT`): the http proxy to use with cvmfs.
- `cvmfs_config_package` (optional, defaults to `cvmfs-config-default`): URL to cvmfs config package to install

## Minimal Example

Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ inputs:
description: 'Proxy for cvmfs repositories'
required: false
default: 'DIRECT'
cvmfs_config_package:
description: 'URL of cvmfs config package to install'
required: false
default: 'cvmfs-config-default'
runs:
using: "composite"
steps:
Expand Down
2 changes: 1 addition & 1 deletion setup-cvmfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
wget -q https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest_all.deb
sudo dpkg -i cvmfs-release-latest_all.deb
sudo apt-get -q update
sudo apt-get -q -y install cvmfs cvmfs-config-default
sudo apt-get -q -y install cvmfs ${INPUT_CVMFS_CONFIG_PACKAGE:-cvmfs-config-default}
rm -f cvmfs-release-latest_all.deb

# Setup default.local
Expand Down