Merge "Remove workbook related to plan environment"
This commit is contained in:
commit
1a1af21e0e
|
@ -105,8 +105,6 @@ mistral.actions =
|
||||||
tripleo.derive_params.get_host_cpus_list = tripleo_common.actions.derive_params:GetHostCpusListAction
|
tripleo.derive_params.get_host_cpus_list = tripleo_common.actions.derive_params:GetHostCpusListAction
|
||||||
tripleo.git.clean = tripleo_common.actions.vcs:GitCleanupAction
|
tripleo.git.clean = tripleo_common.actions.vcs:GitCleanupAction
|
||||||
tripleo.git.clone = tripleo_common.actions.vcs:GitCloneAction
|
tripleo.git.clone = tripleo_common.actions.vcs:GitCloneAction
|
||||||
tripleo.heat_capabilities.get = tripleo_common.actions.heat_capabilities:GetCapabilitiesAction
|
|
||||||
tripleo.heat_capabilities.update = tripleo_common.actions.heat_capabilities:UpdateCapabilitiesAction
|
|
||||||
tripleo.package_update.update_stack = tripleo_common.actions.package_update:UpdateStackAction
|
tripleo.package_update.update_stack = tripleo_common.actions.package_update:UpdateStackAction
|
||||||
tripleo.parameters.get = tripleo_common.actions.parameters:GetParametersAction
|
tripleo.parameters.get = tripleo_common.actions.parameters:GetParametersAction
|
||||||
tripleo.parameters.get_flatten = tripleo_common.actions.parameters:GetFlattenedParametersAction
|
tripleo.parameters.get_flatten = tripleo_common.actions.parameters:GetFlattenedParametersAction
|
||||||
|
|
|
@ -1,97 +0,0 @@
|
||||||
---
|
|
||||||
version: '2.0'
|
|
||||||
name: tripleo.heat_environments.v1
|
|
||||||
description: TripleO Heat Environments Workflows
|
|
||||||
|
|
||||||
workflows:
|
|
||||||
|
|
||||||
update:
|
|
||||||
|
|
||||||
description: >
|
|
||||||
Update plan environment with selected environments.
|
|
||||||
|
|
||||||
Takes a list of environment files and depending on the value of the
|
|
||||||
enabled flag, adds or removes them from the plan environment.
|
|
||||||
|
|
||||||
input:
|
|
||||||
- environments
|
|
||||||
- container
|
|
||||||
- purge_missing: false
|
|
||||||
- sort_environments: false
|
|
||||||
- queue_name: tripleo
|
|
||||||
|
|
||||||
output:
|
|
||||||
plan_environment: <% $.result %>
|
|
||||||
|
|
||||||
tags:
|
|
||||||
- tripleo-common-managed
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
|
|
||||||
update:
|
|
||||||
input:
|
|
||||||
environments: <% $.environments %>
|
|
||||||
container: <% $.container %>
|
|
||||||
purge_missing: <% $.purge_missing %>
|
|
||||||
sort_environments: <% $.sort_environments %>
|
|
||||||
action: tripleo.heat_capabilities.update
|
|
||||||
on-complete: send_message
|
|
||||||
publish:
|
|
||||||
status: SUCCESS
|
|
||||||
message: <% task().result %>
|
|
||||||
plan_environment: <% task().result %>
|
|
||||||
publish-on-error:
|
|
||||||
status: FAILED
|
|
||||||
message: <% task().result %>
|
|
||||||
|
|
||||||
send_message:
|
|
||||||
workflow: tripleo.messaging.v1.send
|
|
||||||
input:
|
|
||||||
queue_name: <% $.queue_name %>
|
|
||||||
type: <% execution().name %>
|
|
||||||
status: <% $.get('status', 'SUCCESS') %>
|
|
||||||
execution: <% execution() %>
|
|
||||||
messages: <% $.get('message', '') %>
|
|
||||||
payload:
|
|
||||||
plan_environment: <% $.get('plan_environment', []) %>
|
|
||||||
|
|
||||||
get:
|
|
||||||
|
|
||||||
description: >
|
|
||||||
Get list of available heat environments.
|
|
||||||
|
|
||||||
Parses the capabilities_map.yaml file in a given plan and
|
|
||||||
returns a list of environments.
|
|
||||||
|
|
||||||
input:
|
|
||||||
- container
|
|
||||||
- queue_name: tripleo
|
|
||||||
|
|
||||||
output:
|
|
||||||
capabilities: <% $.result %>
|
|
||||||
|
|
||||||
tags:
|
|
||||||
- tripleo-common-managed
|
|
||||||
|
|
||||||
tasks:
|
|
||||||
get:
|
|
||||||
action: tripleo.heat_capabilities.get container=<% $.container %>
|
|
||||||
on-complete: send_message
|
|
||||||
publish:
|
|
||||||
status: SUCCESS
|
|
||||||
message: <% task().result %>
|
|
||||||
capabilities: <% task().result %>
|
|
||||||
publish-on-error:
|
|
||||||
status: FAILED
|
|
||||||
message: <% task().result %>
|
|
||||||
|
|
||||||
send_message:
|
|
||||||
workflow: tripleo.messaging.v1.send
|
|
||||||
input:
|
|
||||||
queue_name: <% $.queue_name %>
|
|
||||||
type: <% execution().name %>
|
|
||||||
status: <% $.get('status', 'SUCCESS') %>
|
|
||||||
execution: <% execution() %>
|
|
||||||
messages: <% $.get('message', '') %>
|
|
||||||
payload:
|
|
||||||
capabilities: <% $.get('capabilities', []) %>
|
|
Loading…
Reference in New Issue