Skip to content

Commit

Permalink
CVMFS mac support now in prod; use homebrew to install (#31)
Browse files Browse the repository at this point in the history
* CVMFS mac support now in prod; use homebrew to install

* update macos os label

* update macos os label

* update test
  • Loading branch information
vvolkl authored Dec 5, 2024
1 parent e5c2896 commit fb426fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, macos-11]
os: [macos-latest, macos-13]
steps:
- uses: actions/checkout@v4
- uses: ./
Expand All @@ -20,7 +20,8 @@ jobs:
run: |
echo "### Dump default.local ###"
cat /etc/cvmfs/default.local
sleep 5
echo "### Try to ls on /Users/Shared/cvmfs/sft.cern.ch/ ###"
ls /Users/Shared/cvmfs/sft.cern.ch/
ls /Users/Shared/cvmfs/sft.cern.ch/ | grep lcg
echo "### Try to ls on /cvmfs/sft.cern.ch/ ###"
ls /cvmfs/sft.cern.ch/
ls /cvmfs/sft.cern.ch/ | grep lcg
7 changes: 0 additions & 7 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -320,13 +320,6 @@ inputs:
description: 'Location from where to download the Ubuntu deb package of CernVM-FS'
required: false
default: 'https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-latest_all.deb'
cvmfs_macos_pkg_location:
description: 'Location from where to download the macOS pkg package of CernVM-FS'
required: false
#default: 'http://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-latest.pkg'
# this nightly build is based on the cvmfs mac-fuse-t branch
# TODO: change back to latest once it is released
default: 'http://ecsft.cern.ch/dist/cvmfs/nightlies/cvmfs-git-1234/cvmfs-2.12.0-0.1234-git-958741c6df468802.pkg'
cvmfs_config_package:
description: 'URL to the cvmfs config package to install'
required: false
Expand Down
7 changes: 3 additions & 4 deletions setup-cvmfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,10 @@ elif [ "$(uname)" == "Darwin" ]; then
export CVMFS_HTTP_PROXY='DIRECT'
fi

wget -q https://github.com/macos-fuse-t/fuse-t/releases/download/1.0.36/fuse-t-macos-installer-1.0.36.pkg
sudo installer -pkg fuse-t-macos-installer-1.0.36.pkg -target /
brew tap macos-fuse-t/cask
brew tap cvmfs/homebrew-cvmfs
brew install cvmfs

curl -L -o cvmfs-latest.pkg ${CVMFS_MACOS_PKG_LOCATION}
sudo installer -package cvmfs-latest.pkg -target /
# / is readonly on macos 11+ - do 'synthetic firmlink' to create /cvmfs
sudo zsh -c 'echo -e "cvmfs\tUsers/Shared/cvmfs\n#comment\n" > /etc/synthetic.conf'
sudo chown root:wheel /etc/synthetic.conf
Expand Down

0 comments on commit fb426fe

Please sign in to comment.