Fix calls to tripleo.git.clone action

The tripleo.git.clone action expects a container and url argument.
The workflows for creating and updating a deployment plan were
only sending a url argument.  This patch adds the container argument
to all calls to tripleo.git.clone action.

Change-Id: I3993fe81dfaf6ad4ad77d10d1c70c8ce29e40128
Closes-bug: #1691740
This commit is contained in:
Ryan Brady 2017-05-18 08:11:34 -04:00
parent c84b00e074
commit 124edb0c6b
2 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
fixes:
- Fixes `bug 1691740 <https://bugs.launchpad.net/tripleo/+bug/1691740>`__ by
adding container argument to calls to tripleo.git.clone action in the
create_deployment_plan and update_deployment_plan workflows.

View File

@ -103,7 +103,7 @@ workflows:
- clone_git_repo: <% $.source_url != null %> - clone_git_repo: <% $.source_url != null %>
clone_git_repo: clone_git_repo:
action: tripleo.git.clone url=<% $.source_url %> action: tripleo.git.clone container=<% $.container %> url=<% $.source_url %>
on-success: upload_templates_directory on-success: upload_templates_directory
on-error: clone_git_repo_set_status_failed on-error: clone_git_repo_set_status_failed
@ -211,7 +211,7 @@ workflows:
- clone_git_repo: <% $.source_url != null %> - clone_git_repo: <% $.source_url != null %>
clone_git_repo: clone_git_repo:
action: tripleo.git.clone url=<% $.source_url %> action: tripleo.git.clone container=%< $.container %> url=<% $.source_url %>
on-success: upload_templates_directory on-success: upload_templates_directory
on-error: clone_git_repo_set_status_failed on-error: clone_git_repo_set_status_failed