forked from datalad/datalad
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy script to install singularity from datalad-container and use it …
…in the workflow That script now installs also libfuse2 library needed by singularity-ce, which lead to failed installations in this repo CI. Ideally we should establish central collection of CI tools at some point to reuse across various extensions and derivative projects. ATM we will have 3 copies of this script: here, in datalad-container and datalad-extensions.
- Loading branch information
1 parent
adcfcb6
commit 79d4541
Showing
2 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -ex -o pipefail | ||
release="$(curl -fsSL https://api.github.com/repos/sylabs/singularity/releases/latest | jq -r .tag_name)" | ||
codename="$(lsb_release -cs)" | ||
arch="$(dpkg --print-architecture)" | ||
wget -O /tmp/singularity-ce.deb "https://github.com/sylabs/singularity/releases/download/$release/singularity-ce_${release#v}-${codename}_$arch.deb" | ||
set -x | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y uidmap libfuse2 | ||
sudo dpkg -i /tmp/singularity-ce.deb | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get install -f |