Clean up pipeline outputs using custom trace sections
Many of our pipelines are rather noisy. We can clean this up using custom collapsible trace sections, something we've apparently had for quite a while: https://docs.gitlab.com/ee/ci/pipelines/#custom-collapsible-sections.
Since we write log data to STDOUT, we should be able to just write the section data to STDOUT as well and collapse it in the process. The sections will be collapsed by default, as expanding it by default doesn't really help readability.
Edited by Yorick Peterse