Merge pull request #9309 from GabyCT/topic/fixlograndom

gha: Update journal log names for kubernetes artifacts
This commit is contained in:
GabyCT 2024-03-20 16:17:17 -06:00 committed by GitHub
commit 702a8a440f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -291,7 +291,7 @@ function collect_artifacts() {
fi
mkdir -p "${artifacts_dir}"
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}"
sudo journalctl --since="$start_time" > "${journalctl_log_path}"