Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ricardo Cañuelo Navarro
lava
Commits
67d13a61
Commit
67d13a61
authored
Jan 22, 2020
by
Antonio Terceiro
Browse files
dispatcher: deploy/overlay: make deployment_data optional
parent
f27170d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
lava_dispatcher/actions/deploy/overlay.py
View file @
67d13a61
...
...
@@ -119,7 +119,7 @@ class CreateOverlay(DeployAction):
)
# Add distro support scripts - only if deployment_data is set
distro
=
self
.
parameters
[
"deployment_data"
]
.
get
(
"distro"
)
distro
=
self
.
parameters
.
get
(
"deployment_data"
,
{})
.
get
(
"distro"
)
if
distro
:
distro_support_dir
=
"%s/distro/%s"
%
(
self
.
lava_test_dir
,
distro
)
self
.
scripts_to_copy
+=
sorted
(
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment