diff options
author | Ed Santiago <santiago@redhat.com> | 2020-02-27 08:17:37 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2020-03-02 15:55:05 -0700 |
commit | 1814638000985ccc0297a8694d1fa8c4aacae3b8 (patch) | |
tree | c92336e561f567b2642d89f72aea31508cd219de /contrib/cirrus/packer/image-builder-image_base-setup.sh | |
parent | 1641ee61802ad5e13a9ddf0a20099fe31f73768d (diff) | |
download | podman-1814638000985ccc0297a8694d1fa8c4aacae3b8.tar.gz podman-1814638000985ccc0297a8694d1fa8c4aacae3b8.tar.bz2 podman-1814638000985ccc0297a8694d1fa8c4aacae3b8.zip |
CI: format cirrus logs
This introduces a new cirrus helper script, logformatter.
Usage is:
[commands...] | logformatter TEST-NAME
It reformats its input into a readable, highlighed, linkable
form. Some features:
- boring stuff (timestamps, standard podman options) is
deemphasized
- important stuff (warnings, errors) is emphasized
- in-page links to the actual failures
- active links to source files
- jumps to bottom of page on load, because that's where
the errors are. (All errors are linked)
Add it to select test commands (integration, system) and
add a new artifacts_html, run in the 'always' block, which
uploads generated *.log.html into Cirrus; from there we
generate a live URL that can be viewed in browser.
Unfortunately, due to security concerns in Cirrus, it is
not currently possible to make the link a live one.
Kludge: add a line of dashes after Restoring images; without this,
the first test ("systemd PID 1") has no dashes before it, so
logformatter doesn't see it.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'contrib/cirrus/packer/image-builder-image_base-setup.sh')
0 files changed, 0 insertions, 0 deletions