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
1
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
206498fa
Commit
206498fa
authored
2 weeks ago
by
Jithu Murugan
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
0baf498b
2b350ba0
No related branches found
Branches containing commit
No related tags found
1 merge request
!4
feat(spack_operation): implement setup_spack_env functionality
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dedal/build_cache/BuildCacheManager.py
+3
-1
3 additions, 1 deletion
dedal/build_cache/BuildCacheManager.py
with
3 additions
and
1 deletion
dedal/build_cache/BuildCacheManager.py
+
3
−
1
View file @
206498fa
import
os
import
time
import
oras.client
from
pathlib
import
Path
...
...
@@ -46,7 +48,7 @@ class BuildCacheManager(BuildCacheManagerInterface):
rel_path
=
str
(
sub_path
.
relative_to
(
build_cache_path
)).
replace
(
str
(
sub_path
.
name
),
""
)
target
=
f
"
{
self
.
_registry_host
}
/
{
self
.
_registry_project
}
/
{
self
.
cache_version
}
:
{
str
(
sub_path
.
name
)
}
"
try
:
self
.
_logger
.
info
(
f
"
Pushing f
older
'
{
sub_path
}
'
to ORAS target
'
{
target
}
'
...
"
)
self
.
_logger
.
info
(
f
"
Pushing f
ile
'
{
sub_path
}
'
to ORAS target
'
{
target
}
'
...
"
)
self
.
_client
.
push
(
files
=
[
str
(
sub_path
)],
target
=
target
,
...
...
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