aboutsummaryrefslogtreecommitdiffstats
path: root/ci/pingtests
diff options
context:
space:
mode:
authorBrad P. Crochet <brad@redhat.com>2016-11-30 07:24:00 -0500
committerBrad P. Crochet <brad@redhat.com>2016-11-30 07:24:00 -0500
commitdddddbf7da3525f17acb8a882b0b11b12b62d24d (patch)
tree65f340cd78348330382473a88d7280234b22f8f8 /ci/pingtests
parentc060af6901d8384d11afddb5cb3d74f42076cb84 (diff)
Add Mistral to scenario003
Install Mistral into the test overcloud and create a workflow to verify the Mistral installation. This does not currently actually execute the workflow. It merely tests that it can be created. Change-Id: Ia03a605bcfd92498bf299d3042dca7c9932f5b63 Depends-On: Id5ff9cb498b5a47af38413d211ff0ed6ccd0015b
Diffstat (limited to 'ci/pingtests')
-rw-r--r--ci/pingtests/scenario003-multinode.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/ci/pingtests/scenario003-multinode.yaml b/ci/pingtests/scenario003-multinode.yaml
index d0d234e..445c47a 100644
--- a/ci/pingtests/scenario003-multinode.yaml
+++ b/ci/pingtests/scenario003-multinode.yaml
@@ -126,6 +126,22 @@ resources:
tags:
- tripleo
+ mistral_workflow:
+ type: OS::Mistral::Workflow
+ properties:
+ type: direct
+ name: test_workflow
+ description: Just testing workflow resource.
+ input:
+ phrase: Hello!
+ output:
+ out: <% $.word %>
+ tasks:
+ - name: hello
+ action: std.echo output=<% $.phrase %>
+ publish:
+ word: <% $.hello %>
+
outputs:
server1_private_ip:
description: IP address of server1 in private network
@@ -133,3 +149,6 @@ outputs:
server1_public_ip:
description: Floating IP address of server1 in public network
value: { get_attr: [ server1_floating_ip, floating_ip_address ] }
+ exec:
+ description: Mistral output verifying execution
+ value: { get_attr: [mistral_workflow, executions]} \ No newline at end of file