Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Roque
slapos
Commits
fcbd728a
Commit
fcbd728a
authored
8 years ago
by
Nicolas Wavrant
Browse files
Options
Download
Email Patches
Plain Diff
notifier: verbose arguments can now be given by the notifier buildout section
parent
a22fbe1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
slapos/recipe/notifier.py
slapos/recipe/notifier.py
+3
-0
No files found.
slapos/recipe/notifier.py
View file @
fcbd728a
...
...
@@ -90,6 +90,9 @@ class Notify(GenericBaseRecipe):
parameters
.
extend
(
notification_url
.
split
(
' '
))
parameters
.
extend
([
'--executable'
,
executable
])
# For a more verbose mode, writing feed items for any action
instance_root_name
=
instance_root_name
or
self
.
options
.
get
(
'instance-root-name'
,
None
)
log_url
=
log_url
or
self
.
options
.
get
(
'log-url'
,
None
)
status_item_directory
=
status_item_directory
or
self
.
options
.
get
(
'status-item-directory'
,
None
)
if
instance_root_name
and
log_url
and
status_item_directory
:
parameters
.
extend
([
'--instance-root-name'
,
instance_root_name
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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