Merge "Add on-error task to parse_node_data_lookup"

This commit is contained in:
Zuul
2018-10-03 19:30:25 +00:00
committed by Gerrit Code Review
+2
View File
@@ -124,6 +124,8 @@ workflows:
parse_node_data_lookup:
publish:
json_node_data_lookup: <% json_parse($.node_data_lookup) %>
on-error:
- fail(msg=<% 'Ceph deployment stopped, NodeDataLookup (node_data_lookup) is not valid JSON. {0}'.format($.node_data_lookup) %>)
on-success: map_node_data_lookup
map_node_data_lookup:
publish: