Pipeline Output Cleanup
Since we now have a DEBUG feature we can remove unneeded information from the pipeline output and only display:
✅ something up or deployed OK
❌ something down or deploy FAILED enable DEBUG for more verbose output
When we can we should restrict any additional output to DEBUG only (and ideally that already happens since set-x
is enabled).
specific scripts to look at but not limited to include:
- 03_wait_for_helmreleases.sh
- 01_virtualservices.sh
One additional one we should tackle is the create_bigbang_merge_request
function. We should clean up the output to reduce it to:
✅ Big Bang MR created: <link to MR>
❌ Failed to create MR, errors: <relevant errors>
Note that in this case create_bigbang_merge_request
is only run on main
pipelines so we should output the error regardless since DEBUG
is not an option. This likely will require storing output from previous commands to conditionally echo out.
Edited by Micah Nagel