Cirrus: Log more things in bindings and unit tests

These tasks run earlier on, so it's useful to have more detail about the
test VM (in general) in case something goes terribly wrong.

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich
2021-10-26 12:05:02 -04:00
parent d6d1ce9802
commit 3aa7076ff3

View File

@ -230,12 +230,18 @@ bindings_task:
clone_script: *noop # Comes from cache clone_script: *noop # Comes from cache
setup_script: *setup setup_script: *setup
main_script: *main main_script: *main
always: &html_artifacts always: &logs_artifacts
<<: *runner_stats <<: *runner_stats
# Required for `contrib/cirrus/logformatter` to work properly # Required for `contrib/cirrus/logformatter` to work properly
html_artifacts: html_artifacts:
path: ./*.html path: ./*.html
type: text/html type: text/html
package_versions_script: '$SCRIPT_BASE/logcollector.sh packages'
df_script: '$SCRIPT_BASE/logcollector.sh df'
audit_log_script: '$SCRIPT_BASE/logcollector.sh audit'
journal_script: '$SCRIPT_BASE/logcollector.sh journal'
podman_system_info_script: '$SCRIPT_BASE/logcollector.sh podman'
time_script: '$SCRIPT_BASE/logcollector.sh time'
# Build the "libpod" API documentation `swagger.yaml` and # Build the "libpod" API documentation `swagger.yaml` and
@ -416,7 +422,7 @@ unit_test_task:
gopath_cache: *ro_gopath_cache gopath_cache: *ro_gopath_cache
setup_script: *setup setup_script: *setup
main_script: *main main_script: *main
always: *runner_stats always: *logs_artifacts
apiv2_test_task: apiv2_test_task:
@ -437,14 +443,8 @@ apiv2_test_task:
gopath_cache: *ro_gopath_cache gopath_cache: *ro_gopath_cache
setup_script: *setup setup_script: *setup
main_script: *main main_script: *main
always: &logs_artifacts always: *logs_artifacts
<<: *html_artifacts
package_versions_script: '$SCRIPT_BASE/logcollector.sh packages'
df_script: '$SCRIPT_BASE/logcollector.sh df'
audit_log_script: '$SCRIPT_BASE/logcollector.sh audit'
journal_script: '$SCRIPT_BASE/logcollector.sh journal'
podman_system_info_script: '$SCRIPT_BASE/logcollector.sh podman'
time_script: '$SCRIPT_BASE/logcollector.sh time'
compose_test_task: compose_test_task:
name: "compose test on $DISTRO_NV ($PRIV_NAME)" name: "compose test on $DISTRO_NV ($PRIV_NAME)"