diff options
author | Chris Evich <cevich@redhat.com> | 2022-01-28 15:09:49 -0500 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2022-02-03 11:03:20 -0500 |
commit | ebbf10ae8cdaeddbc8d997679940adfa82fcdbb3 (patch) | |
tree | 7bd15a73275bedfe9ddf5d9c2a95a0b78b26dd63 | |
parent | 2cc32742898843fc35d5aae3bf787f2221795735 (diff) | |
download | podman-ebbf10ae8cdaeddbc8d997679940adfa82fcdbb3.tar.gz podman-ebbf10ae8cdaeddbc8d997679940adfa82fcdbb3.tar.bz2 podman-ebbf10ae8cdaeddbc8d997679940adfa82fcdbb3.zip |
Cirrus: Log netavark/aardvark binary build info.
Enabled by:
* https://github.com/containers/netavark/pull/191
* https://github.com/containers/aardvark-dns/pull/36
Signed-off-by: Chris Evich <cevich@redhat.com>
-rwxr-xr-x | contrib/cirrus/logcollector.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/cirrus/logcollector.sh b/contrib/cirrus/logcollector.sh index 38a15ded1..0cfbf7135 100755 --- a/contrib/cirrus/logcollector.sh +++ b/contrib/cirrus/logcollector.sh @@ -74,6 +74,19 @@ case $1 in echo "Cgroups: " $(stat -f -c %T /sys/fs/cgroup) # Any not-present packages will be listed as such $PKG_LST_CMD "${PKG_NAMES[@]}" | sort -u + + # TODO: Remove this once netavark/aardvark-dns packages are used + if [[ "$TEST_ENVIRON" =~ netavark ]]; then + _npath=/usr/local/libexec/podman/ + for name in netavark aardvark-dns; do + echo "$name binary details:" + if [[ -r "$_npath/${name}.info" ]]; then + cat "$_npath/${name}.info" + else + echo "WARNING: $_npath/${name}.info not found." + fi + done + fi ;; time) # Assumed to be empty/undefined outside of Cirrus-CI (.cirrus.yml) |