mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-29 12:24:12 +02:00
CI: Show execution environment before we start
This will help to debug CI issues that are related to us running in a container that might have unusual capabilities, mount points, filesystems etc., such as (probably) #2027, #2028, #2029. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Philip Withnall
parent
8f16a89817
commit
dff2e3b4c7
11
.gitlab-ci/show-execution-environment.sh
Executable file
11
.gitlab-ci/show-execution-environment.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eux -o pipefail
|
||||
|
||||
id || :
|
||||
capsh --print || :
|
||||
env -0 | sort -z | perl -pe 's/\0/\n/g' || :
|
||||
setpriv --dump || :
|
||||
ulimit -a || :
|
||||
cat /proc/self/status || :
|
||||
cat /proc/self/mountinfo || :
|
Reference in New Issue
Block a user