Browse Source

Remove "when failed" from debug task names

This commit removes the "when failed" from the task title to eliminate
confusion.

These tasks always run to show the debug output for the previous task,
regardless of whether the the previous task failed or not. They will
show the debug output as long as the previous task finished (success or
failure).

Change-Id: I4e52bdc18885f13793550e5032fb1316a13b248c
changes/21/598221/5
James Slagle 3 years ago
parent
commit
13aaf52a46
  1. 8
      common/deploy-steps-tasks.yaml

8
common/deploy-steps-tasks.yaml

@ -177,7 +177,7 @@
failed_when: false
no_log: true
- name: "Debug output for task which failed: Run puppet host configuration for step {{ step }}"
- name: "Debug output for task: Run puppet host configuration for step {{ step }}"
debug:
var: outputs.stdout_lines | default([]) | union(outputs.stderr_lines | default([]))
when:
@ -203,7 +203,7 @@
failed_when: false
no_log: true
- name: "Debug output for task which failed: Run docker-puppet tasks (generate config) during step {{ step }}"
- name: "Debug output for task: Run docker-puppet tasks (generate config) during step {{ step }}"
debug:
var: outputs.stdout_lines | default([]) | union(outputs.stderr_lines | default([]))
when: outputs.rc is defined
@ -228,7 +228,7 @@
failed_when: false
no_log: true
- name: "Debug output for task which failed: Start containers for step {{ step }}"
- name: "Debug output for task: Start containers for step {{ step }}"
debug:
var: outputs.stdout_lines | default([]) | union(outputs.stderr_lines | default([]))
when: outputs.rc is defined
@ -260,7 +260,7 @@
failed_when: false
no_log: true
- name: "Debug output for task which failed: Run docker-puppet tasks (bootstrap tasks) for step {{ step }}"
- name: "Debug output for task: Run docker-puppet tasks (bootstrap tasks) for step {{ step }}"
debug:
var: outputs.stdout_lines | default([]) | union(outputs.stderr_lines | default([]))
when: outputs.rc is defined

Loading…
Cancel
Save