Merge pull request #6186 from AlanCoding/wfjt_vars

Modernize types of WFJT module

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot]
2020-03-12 19:43:04 +00:00
committed by GitHub
4 changed files with 61 additions and 13 deletions

View File

@@ -51,7 +51,7 @@
- name: Create a workflow job template
tower_workflow_template:
name: my-workflow
schema: '[{"success": [{"job_template": "my-job-1"}], "job_template": "my-job-2"}]'
schema: [{"success": [{"job_template": "my-job-1"}], "job_template": "my-job-2"}]
register: result
- assert:
@@ -72,7 +72,7 @@
tower_workflow_template:
name: my-workflow
organization: Non Existing Organization
schema: '[{"success": [{"job_template": "my-job-1"}], "job_template": "my-job-2"}]'
schema: [{"success": [{"job_template": "my-job-1"}], "job_template": "my-job-2"}]
register: result
ignore_errors: true