You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This GitHub Action sets up CernVM-FS for use in GitHub Workflows.
6
5
7
6
## Instructions
8
-
You can use this GitHub Action in a workflow in your own repository with `uses: cvmfs-contrib/github-action-cvmfs@v2`.
7
+
You can use this GitHub Action in a workflow in your own repository with `uses: cvmfs-contrib/github-action-cvmfs@v3`.
9
8
10
9
A minimal job example for GitHub-hosted runners of type `ubuntu-latest`:
11
10
```yaml
12
11
jobs:
13
12
ubuntu-minimal:
14
13
runs-on: ubuntu-latest
15
14
steps:
16
-
- uses: cvmfs-contrib/github-action-cvmfs@v2
15
+
- uses: cvmfs-contrib/github-action-cvmfs@v3
17
16
- name: Test CernVM-FS
18
17
run: ls /cvmfs/sft.cern.ch/
19
18
```
20
19
By default `*.cern.ch, *.egi.eu, *.opensciencegrid.org *.hsf.org` repositories are available.
21
20
22
-
The Action also works with runners of type `macos-10.15`, however in this case it is necessary to specify which repositories you want to mount (via the variable `cvmfs_repositories`), as there is not auto mount for macOS. A minimal example of usage on `macos-10.15` is:
23
-
```yaml
24
-
jobs:
25
-
macOS-minimal:
26
-
runs-on: macos-10.15
27
-
steps:
28
-
- uses: cvmfs-contrib/github-action-cvmfs@v2
29
-
with:
30
-
cvmfs_repositories: 'sft.cern.ch'
31
-
- name: Test CernVM-FS
32
-
run: ls /Users/Shared/cvmfs/sft.cern.ch/
33
-
```
34
-
Beware that because the runner cannot be rebooted in the macOS case, the repositories are mounted under `/Users/Shared/cvmfs/`
35
-
36
21
## Optional Parameters
37
22
The following parameters are supported:
38
23
- `cvmfs_alien_cache`: If set, use an alien cache at the given location.
@@ -113,7 +98,6 @@ The following parameters are supported:
113
98
- `cvmfs_usyslog`: All messages that are normally logged to syslog are re-directed to the given file. This file can grow up to 500kB and there is one step of log rotation. Required for $mu$CernVM.
114
99
- `cvmfs_workspace`: Set the local directory for storing special files (defaults to the cache directory).
115
100
- `cvmfs_ubuntu_deb_location`: Location from where to download the Ubuntu deb package of CernVM-FS.
116
-
- `cvmfs_macos_pkg_location`: Location from where to download the masOS pkg package of CernVM-FS.
117
101
- `cvmfs_config_package`: URL to the cvmfs config package to install.
118
102
- `run_local_checkout`: Run the local checkout of the action and not the main repo code. Only used for testing and development of this action (needed in CI).
119
103
@@ -123,7 +107,6 @@ All optional parameters are set by default to `''`(empty string). All variables
@@ -152,7 +135,7 @@ This GitHub Action installs the [CernVM-FS package](https://cernvm.cern.ch/fs/#d
152
135
153
136
## Limitations
154
137
155
-
This GitHub Action is only expected to work in workflows that [run on](https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) ubuntu and macOS targets (and even then likely only `ubuntu-latest`). This exludes the `windows` targets.
138
+
This GitHub Action is only expected to work in workflows that [run on](https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on) ubuntu. This exludes the `macos` and `windows` targets.
0 commit comments