Skip to content

Commit

Permalink
[stf-collect-logs] Add ignore_errors to task (#529)
Browse files Browse the repository at this point in the history
The "Question the deployment" task didn't have
ignore_errors: true set, so when the task fails, the play
is finished. This means that we don't get to the
"copy logs" task and can't see the job logs in zuul.

ignore_errors is set to true to be consistent with other tasks
  • Loading branch information
elfiesmelfie authored Nov 17, 2023
1 parent cba3874 commit 2cccdc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/stf-collect-logs/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
oc -n {{ namespace }} get csv | grep service-telemetry-operator >> {{ logfile_dir }}/post_question_deployment.log 2>&1
oc -n {{ namespace }} get csv $(oc -n {{ namespace }} get csv | grep "service-telemetry-operator" | awk '{ print $1}') -oyaml >> {{ logfile_dir }}/post_question_deployment.log 2>&1
register: output
ignore_errors: true
retries: 3
delay: 10

Expand Down

0 comments on commit 2cccdc6

Please sign in to comment.