mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-15 18:20:02 -03:30
OEL7: Fix CentOS7 Extras for OEL7 (#8219)
* OEL7: Fix CentOS7 Extras for OEL7 * Molecule: add logs collection for jobs
This commit is contained in:
9
tests/scripts/molecule_logs.sh
Executable file
9
tests/scripts/molecule_logs.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Ensure a clean environent
|
||||
rm -fr molecule_logs
|
||||
mkdir -p molecule_logs
|
||||
|
||||
# Collect and archive the logs
|
||||
find ~/.cache/molecule/ -name \*.out -o -name \*.err -type f | xargs tar -uf molecule_logs/molecule.tar
|
||||
gzip molecule_logs/molecule.tar
|
||||
Reference in New Issue
Block a user