mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Merge pull request #24411 from Luap99/logformatter
logformatter: add cleanup tracer log link
This commit is contained in:
@ -878,13 +878,16 @@ END_SYNOPSIS
|
|||||||
_a("{CIRRUS_BUILD_ID}", "https://cirrus-ci.com/build/{CIRRUS_BUILD_ID}"),
|
_a("{CIRRUS_BUILD_ID}", "https://cirrus-ci.com/build/{CIRRUS_BUILD_ID}"),
|
||||||
_a("{CIRRUS_TASK_ID}", "https://cirrus-ci.com/task/{CIRRUS_TASK_ID}")));
|
_a("{CIRRUS_TASK_ID}", "https://cirrus-ci.com/task/{CIRRUS_TASK_ID}")));
|
||||||
|
|
||||||
# Logs: link to original (unformatted) log; journal; and, if remote, server
|
# Logs: link to original (unformatted) log; journal; cleanup tracer; and, if remote, server
|
||||||
my @logs;
|
my @logs;
|
||||||
push @logs, _a("main", sprintf("https://api.cirrus-ci.com/v1/task/{CIRRUS_TASK_ID}/logs/%s.log",
|
push @logs, _a("main", sprintf("https://api.cirrus-ci.com/v1/task/{CIRRUS_TASK_ID}/logs/%s.log",
|
||||||
($is_mac ? 'test' : 'main')));
|
($is_mac ? 'test' : 'main')));
|
||||||
push @logs, _a("journal", "https://api.cirrus-ci.com/v1/task/{CIRRUS_TASK_ID}/logs/journal.log")
|
push @logs, _a("journal", "https://api.cirrus-ci.com/v1/task/{CIRRUS_TASK_ID}/logs/journal.log")
|
||||||
unless $is_mac;
|
unless $is_mac;
|
||||||
|
|
||||||
|
push @logs, _a("cleanup tracer", "https://api.cirrus-ci.com/v1/artifact/task/{CIRRUS_TASK_ID}/cleanup_tracer/podman-cleanup-tracer.log")
|
||||||
|
unless $is_mac;
|
||||||
|
|
||||||
# System tests are single-threaded, and have a server log available
|
# System tests are single-threaded, and have a server log available
|
||||||
if ($test_name =~ /sys\s+remote\s/) {
|
if ($test_name =~ /sys\s+remote\s/) {
|
||||||
push @logs, _a("remote server", "https://api.cirrus-ci.com/v1/artifact/task/{CIRRUS_TASK_ID}/server_log/podman-server.log");
|
push @logs, _a("remote server", "https://api.cirrus-ci.com/v1/artifact/task/{CIRRUS_TASK_ID}/server_log/podman-server.log");
|
||||||
|
Reference in New Issue
Block a user