mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 14:32:33 +00:00
Merge pull request #9358 from GabyCT/topic/nerdrandom
gha: Update journal log names for nerdctl artifacts
This commit is contained in:
commit
aa9cd232cd
@ -70,7 +70,7 @@ function collect_artifacts() {
|
|||||||
fi
|
fi
|
||||||
mkdir -p "${artifacts_dir}"
|
mkdir -p "${artifacts_dir}"
|
||||||
info "Collecting artifacts using ${KATA_HYPERVISOR} hypervisor"
|
info "Collecting artifacts using ${KATA_HYPERVISOR} hypervisor"
|
||||||
local journalctl_log_filename="journalctl.log"
|
local journalctl_log_filename="journalctl-$RANDOM.log"
|
||||||
local journalctl_log_path="${artifacts_dir}/${journalctl_log_filename}"
|
local journalctl_log_path="${artifacts_dir}/${journalctl_log_filename}"
|
||||||
sudo journalctl --since="$start_time" > "${journalctl_log_path}"
|
sudo journalctl --since="$start_time" > "${journalctl_log_path}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user