Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Merge requests
!1315
fix single image carta and downloads for real. really.
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix single image carta and downloads for real. really.
fix_carta
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Charlotte Hausman
requested to merge
fix_carta
into
main
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Viewing commit
2f089af0
Show latest version
1 file
+
4
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
2f089af0
fix single image carta and downloads for real. really.
· 2f089af0
Charlotte Hausman
authored
1 year ago
shared/workspaces/workspaces/workflow/services/workflow_service.py
+
4
−
12
Options
@@ -436,14 +436,8 @@ class WorkflowService(WorkflowServiceIF):
:param wf_request: the workflow request
:return:
"""
if
(
(
"
product_locator
"
in
wf_request
.
argument
and
wf_request
.
argument
[
"
product_locator
"
]
is
not
None
and
"
,
"
in
wf_request
.
argument
[
"
product_locator
"
]
)
or
(
"
need_data
"
in
wf_request
.
argument
and
wf_request
.
argument
[
"
need_data
"
]
is
True
)
or
wf_request
.
workflow_name
==
"
download
"
if
wf_request
.
workflow_name
==
"
download
"
or
(
"
need_data
"
in
wf_request
.
argument
and
wf_request
.
argument
[
"
need_data
"
]
is
True
):
spl_list
=
wf_request
.
argument
[
"
product_locator
"
].
split
(
"
,
"
)
fetcher_string
=
"
--product-locator
"
@@ -529,11 +523,9 @@ class WorkflowService(WorkflowServiceIF):
"
ramInGb
"
:
self
.
processing_settings
.
ramInGb
,
}
wf_request
.
argument
=
merged_args
wf_request
.
argument
[
"
fetch_args
"
]
=
(
if
arg_list
[
0
]
in
[
"
--product
"
,
"
--carta
"
]:
self
.
determine_multiple_productfetch
(
wf_request
)
if
arg_list
[
0
]
in
[
"
--product
"
,
"
--carta
"
]
else
None
)
return
wf_definition
.
render_templates
(
wf_request
.
argument
)
else
:
logger
.
error
(
wf_json
.
decode
())
Loading