Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dedal
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
dedal
Commits
5ec8ae00
Commit
5ec8ae00
authored
1 year ago
by
Philipp Spilger
Browse files
Options
Downloads
Patches
Plain Diff
chore: Move chmod of spack tempdir to yashchiki script
Change-Id: I0c951d8a0c8e71c2fdc343fdccb4c83b6a2f869f
parent
2c95807c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/yashchiki
+3
-0
3 additions, 0 deletions
bin/yashchiki
lib/yashchiki/build_sandbox.sh
+0
-3
0 additions, 3 deletions
lib/yashchiki/build_sandbox.sh
with
3 additions
and
3 deletions
bin/yashchiki
+
3
−
0
View file @
5ec8ae00
...
@@ -229,6 +229,9 @@ with tempfile.TemporaryDirectory(prefix="spack-", dir=env["TMPDIR"]) \
...
@@ -229,6 +229,9 @@ with tempfile.TemporaryDirectory(prefix="spack-", dir=env["TMPDIR"]) \
env
=
env
|
{
"
JOB_TMP_SPACK
"
:
temporary_directory_spack
}
env
=
env
|
{
"
JOB_TMP_SPACK
"
:
temporary_directory_spack
}
# make job temp folder writable for all users (i.e., spack)
os
.
chmod
(
temporary_directory_spack
,
0o777
)
# singularity recipe filename defaults to temporary file
# singularity recipe filename defaults to temporary file
if
args
.
recipe_filename
is
not
None
:
if
args
.
recipe_filename
is
not
None
:
recipe_filename
=
args
.
recipe_filename
recipe_filename
=
args
.
recipe_filename
...
...
This diff is collapsed.
Click to expand it.
lib/yashchiki/build_sandbox.sh
+
0
−
3
View file @
5ec8ae00
...
@@ -14,9 +14,6 @@ unset LC_NUMERIC
...
@@ -14,9 +14,6 @@ unset LC_NUMERIC
unset
LC_TIME
unset
LC_TIME
unset
LC_MESSAGES
unset
LC_MESSAGES
# make job temp folder writable for all users (i.e., spack)
chmod
777
"
${
JOB_TMP_SPACK
}
"
# build the container (using scripts from above)
# build the container (using scripts from above)
if
[
-n
"
${
YASHCHIKI_PROXY_HTTP
:-}
"
]
;
then
if
[
-n
"
${
YASHCHIKI_PROXY_HTTP
:-}
"
]
;
then
export
http_proxy
=
${
YASHCHIKI_PROXY_HTTP
}
export
http_proxy
=
${
YASHCHIKI_PROXY_HTTP
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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