ci: log the status of GitHub Actions' VM at the end

To investigate issues like #4969, it would be helpful to understand
the status of the VM at the end.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato 2021-02-02 11:14:40 -08:00
parent d8208e2e37
commit 437b7f71ba

View File

@ -349,6 +349,16 @@ jobs:
sudo BDIR=$BDIR rm -rf ${BDIR}
test $TEST_RC -eq 0 || /bin/false
# Log the status of this VM to investigate issues like
# https://github.com/containerd/containerd/issues/4969
- name: Host Status
if: always()
run: |
set -x
mount
df
losetup -l
cgroup2:
name: CGroupsV2 and SELinux Integration
# nested virtualization is only available on macOS hosts