Skip to content

Commit f950351

Browse files
authored
Merge pull request #17 from wdconinc/phase-out-macos-support
Phase out MacOS support as macos-10.15 is phased out
2 parents 2b05ad3 + 41198f3 commit f950351

File tree

3 files changed

+7
-49
lines changed

3 files changed

+7
-49
lines changed

.github/workflows/macos.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,23 @@
11
# GitHub Action: cvmfs-contrib/github-action-cvmfs
2-
[![ubuntu](https://github.com/cvmfs-contrib/github-action-cvmfs/workflows/ubuntu/badge.svg)](https://github.com/cvmfs-contrib/github-action-cvmfs/actions?query=workflow%3Aubuntu) [![macOS](https://github.com/cvmfs-contrib/github-action-cvmfs/workflows/macOS/badge.svg)](https://github.com/cvmfs-contrib/github-action-cvmfs/actions?query=workflow%3AmacOS)
3-
2+
[![ubuntu](https://github.com/cvmfs-contrib/github-action-cvmfs/workflows/ubuntu/badge.svg)](https://github.com/cvmfs-contrib/github-action-cvmfs/actions?query=workflow%3Aubuntu)
43

54
This GitHub Action sets up CernVM-FS for use in GitHub Workflows.
65

76
## 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`.
98

109
A minimal job example for GitHub-hosted runners of type `ubuntu-latest`:
1110
```yaml
1211
jobs:
1312
ubuntu-minimal:
1413
runs-on: ubuntu-latest
1514
steps:
16-
- uses: cvmfs-contrib/github-action-cvmfs@v2
15+
- uses: cvmfs-contrib/github-action-cvmfs@v3
1716
- name: Test CernVM-FS
1817
run: ls /cvmfs/sft.cern.ch/
1918
```
2019
By default `*.cern.ch, *.egi.eu, *.opensciencegrid.org *.hsf.org` repositories are available.
2120

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-
3621
## Optional Parameters
3722
The following parameters are supported:
3823
- `cvmfs_alien_cache`: If set, use an alien cache at the given location.
@@ -113,7 +98,6 @@ The following parameters are supported:
11398
- `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.
11499
- `cvmfs_workspace`: Set the local directory for storing special files (defaults to the cache directory).
115100
- `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.
117101
- `cvmfs_config_package`: URL to the cvmfs config package to install.
118102
- `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).
119103

@@ -123,7 +107,6 @@ All optional parameters are set by default to `''`(empty string). All variables
123107
- `cvmfs_client_profile`: `'single'`
124108
- `cvmfs_use_cdn`: `'yes'`
125109
- `cvmfs_ubuntu_deb_location`: `https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest_all.deb`
126-
- `cvmfs_macos_pkg_location`: `http://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-latest.pkg`
127110
- `cvmfs_config_package`: `cvmfs-config-default`
128111

129112
## Minimal Example
@@ -136,7 +119,7 @@ jobs:
136119
build:
137120
runs-on: ubuntu-latest
138121
steps:
139-
- uses: cvmfs-contrib/github-action-cvmfs@v2
122+
- uses: cvmfs-contrib/github-action-cvmfs@v3
140123
- name: Test CernVM-FS
141124
run: |
142125
ls /cvmfs/lhcb.cern.ch
@@ -152,7 +135,7 @@ This GitHub Action installs the [CernVM-FS package](https://cernvm.cern.ch/fs/#d
152135

153136
## Limitations
154137

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.
156139

157140
## Use With Docker
158141

setup-cvmfs.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ if [ "$(uname)" == "Linux" ]; then
3434
fi
3535
elif [ "$(uname)" == "Darwin" ]; then
3636
# Warn about the phasing out of MacOS support for this action
37-
echo "::warning::The CernVM-FS GitHub Action's support for MacOS will be \
38-
phased out with macos-10.15, which will be unsupported by GitHub by 8/30/22. \
39-
See https://github.com/cvmfs-contrib/github-action-cvmfs/pull/17 for details."
37+
echo "::error::The CernVM-FS GitHub Action's support for MacOS has been \
38+
phased out with macos-10.15."
4039
# Temporary fix for macOS until cvmfs 2.8 is released
4140
if [ -z "${CVMFS_HTTP_PROXY}" ]; then
4241
export CVMFS_HTTP_PROXY='DIRECT'

0 commit comments

Comments
 (0)