Skip to content

Commit

Permalink
Merge pull request #198 from redhat-cop/ericzolf-cherrypick-workflows…
Browse files Browse the repository at this point in the history
…-schedules

[cherry-pick] Adapt Workflows docs to new schema and fix schedules
  • Loading branch information
sean-m-sullivan authored Jul 6, 2021
2 parents 30f8d69 + 5b8e155 commit 6f38283
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/schedules/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# These are the default variables specific to the license role

# list of dict describing Tower schedules:
tower_schedules:
tower_schedules: []
# possible fields:
# - name: "schedule_name" # mandatory
# new_name: "new_name" # optional
Expand Down
14 changes: 12 additions & 2 deletions roles/workflow_job_templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ tower_workflows:
identifier: node101
unified_job_template:
name: RHVM-01
type: job_template
organization:
name: Default
related:
success_nodes:
- workflow_job_template:
Expand All @@ -203,6 +206,9 @@ tower_workflows:
identifier: node201
unified_job_template:
name: test-template-1
type: job_template
organization:
name: Default
notification_templates_started: []
notification_templates_success: []
notification_templates_error: []
Expand Down Expand Up @@ -243,7 +249,9 @@ tower_workflows:
"all_parents_must_converge": false,
"identifier": "node101",
"unified_job_template": {
"name": "RHVM-01"
"name": "RHVM-01",
"type": "job_template",
"organization": { "name": "Default" }
},
"related": {
"credentials": [
Expand All @@ -269,7 +277,9 @@ tower_workflows:
"all_parents_must_converge": false,
"identifier": "node201",
"unified_job_template": {
"name": "test-template-1"
"name": "test-template-1",
"type": "job_template",
"organization": { "name": "Default" }
},
"related": {
"credentials": [
Expand Down

0 comments on commit 6f38283

Please sign in to comment.