Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
singularity-devbio-napari
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BiA-PoL
singularity-devbio-napari
Commits
e160f880
Commit
e160f880
authored
2 years ago
by
thawn
Browse files
Options
Downloads
Patches
Plain Diff
enable installation on other clusters
... that do not use symlinks for the home directory closes issue
#10
parent
8fbcfecf
No related branches found
No related tags found
No related merge requests found
Pipeline
#11573
canceled
2 years ago
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
install.sh
+7
-3
7 additions, 3 deletions
install.sh
kernel_template.json
+3
-3
3 additions, 3 deletions
kernel_template.json
with
10 additions
and
6 deletions
install.sh
+
7
−
3
View file @
e160f880
...
...
@@ -14,12 +14,16 @@ fi
set
-e
version
=
${
1
:-
latest
}
source
environment.sh
userhome
=
$(
ls
-l
"
$HOME
"
|
cut
-d
">"
-sf
2
)
userhome
=
${
userhome
##
}
if
[
-L
"
$HOME
"
]
;
then
userhome
=
$(
ls
-l
"
$HOME
"
|
cut
-d
">"
-sf
2
)
userhome
=
/home/
${
userhome
##
}
else
userhome
=
$HOME
fi
container_name
=
${
IMAGE_NAME
%.sif
}
_
$version
echo
"Downloading the image may take a while and does not show a progress bar. Please be patient :) ..."
if
[
"
${
IMAGE_PATH
%.sif
}
"
==
"
${
IMAGE_PATH
}
"
]
;
then
local_path
=
"
/home/
${
userhome
}
/singularity-images/"
local_path
=
"
${
userhome
}
/singularity-images/"
local_image
=
"
${
local_path
}${
container_name
}
.sif"
mkdir
-p
"
$local_path
"
singularity pull
"
$local_image
"
"
${
IMAGE_PATH
}
:
$version
"
...
...
This diff is collapsed.
Click to expand it.
kernel_template.json
+
3
−
3
View file @
e160f880
...
...
@@ -10,13 +10,13 @@
"--pwd"
,
"{cwd}"
,
"-B"
,
"
/home/
<userhome>/.local/share/jupyter/runtime"
,
"<userhome>/.local/share/jupyter/runtime"
,
"-B"
,
"
/home/
<userhome>/"
,
"<userhome>/"
,
"-B"
,
"/etc/OpenCL"
,
"-B"
,
"
/home/
<userhome>/.ssh:/.ssh"
,
"<userhome>/.ssh:/.ssh"
,
"-B"
,
"/projects"
,
"-B"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment