Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jean-Paul Smets
slapos
Commits
fcbd728a
Commit
fcbd728a
authored
Nov 07, 2016
by
Nicolas Wavrant
Browse files
Options
Browse Files
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):
...
@@ -90,6 +90,9 @@ class Notify(GenericBaseRecipe):
parameters
.
extend
(
notification_url
.
split
(
' '
))
parameters
.
extend
(
notification_url
.
split
(
' '
))
parameters
.
extend
([
'--executable'
,
executable
])
parameters
.
extend
([
'--executable'
,
executable
])
# For a more verbose mode, writing feed items for any action
# 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
:
if
instance_root_name
and
log_url
and
status_item_directory
:
parameters
.
extend
([
parameters
.
extend
([
'--instance-root-name'
,
instance_root_name
,
'--instance-root-name'
,
instance_root_name
,
...
...
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