summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2021-10-26 12:05:02 -0400
committerChris Evich <cevich@redhat.com>2021-11-18 13:50:11 -0500
commit3aa7076ff3c052e88bbee84eb2cf38f153ff89d3 (patch)
tree05ce8ebd6b45db629292545736d6ac950131057e /.cirrus.yml
parentd6d1ce98022c164cc0074e6eb7850f4cb80d16fb (diff)
downloadpodman-3aa7076ff3c052e88bbee84eb2cf38f153ff89d3.tar.gz
podman-3aa7076ff3c052e88bbee84eb2cf38f153ff89d3.tar.bz2
podman-3aa7076ff3c052e88bbee84eb2cf38f153ff89d3.zip
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>
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 091b37627..171f84522 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -230,12 +230,18 @@ bindings_task:
clone_script: *noop # Comes from cache
setup_script: *setup
main_script: *main
- always: &html_artifacts
+ always: &logs_artifacts
<<: *runner_stats
# Required for `contrib/cirrus/logformatter` to work properly
html_artifacts:
path: ./*.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
@@ -416,7 +422,7 @@ unit_test_task:
gopath_cache: *ro_gopath_cache
setup_script: *setup
main_script: *main
- always: *runner_stats
+ always: *logs_artifacts
apiv2_test_task:
@@ -437,14 +443,8 @@ apiv2_test_task:
gopath_cache: *ro_gopath_cache
setup_script: *setup
main_script: *main
- 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'
+ always: *logs_artifacts
+
compose_test_task:
name: "compose test on $DISTRO_NV ($PRIV_NAME)"