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
ddddaa44
Commit
ddddaa44
authored
2 months ago
by
Jithu Murugan
Browse files
Options
Downloads
Patches
Plain Diff
- Corrected the docstring for the setup_spack_env function along with the return type.
parent
ee9cc871
No related branches found
No related tags found
1 merge request
!4
feat(spack_operation): implement setup_spack_env functionality
Pipeline
#59519
failed with stages
in 45 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dedal/spack_factory/SpackOperationUseCache.py
+8
-4
8 additions, 4 deletions
dedal/spack_factory/SpackOperationUseCache.py
with
8 additions
and
4 deletions
dedal/spack_factory/SpackOperationUseCache.py
+
8
−
4
View file @
ddddaa44
...
...
@@ -26,11 +26,15 @@ class SpackOperationUseCache(SpackOperation):
os
.
environ
.
get
(
'
BUILDCACHE_OCI_PASSWORD
'
),
cache_version
=
cache_version_build
)
def
setup_spack_env
(
self
):
"""
Set
s
up the
S
pack environment using cache
d data
.
def
setup_spack_env
(
self
)
->
None
:
"""
Set up the
s
pack environment
for
using
the
cache.
Downloads the build cache, trusts the cached public key (if available),
and adds the build cache as a local mirror.
Downloads the build cache, adds the public key to trusted keys,
and adds the build cache mirror.
Raises:
ValueError: If there is an issue with the build cache setup.
NoSpackEnvironmentException: If the spack environment is not set up.
"""
super
().
setup_spack_env
()
try
:
...
...
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