From 0f7cdacf716cb8c5a8f7a0c19ea82fd59d567e57 Mon Sep 17 00:00:00 2001 From: Michael Uti Date: Mon, 30 Dec 2024 12:19:59 +0100 Subject: [PATCH] ci: test --- .github/workflows/rust.yml | 7 +++++++ implementations/rust/ockam/ockam_command/tests/bats/run.sh | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e9b8b56b1f8..fd70e5dd51c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -305,6 +305,13 @@ jobs: working-directory: ockam_cli shell: nix develop ./tools/nix#rust --keep CI --ignore-environment --command bash {0} run: | + set -ex + grep -i docker /proc/1/cgroup || true + grep -i kubepods /proc/1/cgroup || true + hostnamectl || true + ls -l /run/containerd || true + ls -l /run/docker || true + ls -l /.dockerenv || true rustc --version set -x cargo build --bin ockam diff --git a/implementations/rust/ockam/ockam_command/tests/bats/run.sh b/implementations/rust/ockam/ockam_command/tests/bats/run.sh index 7f4166a2af0..c144496005a 100755 --- a/implementations/rust/ockam/ockam_command/tests/bats/run.sh +++ b/implementations/rust/ockam/ockam_command/tests/bats/run.sh @@ -9,6 +9,10 @@ export BATS_TEST_RETRIES=2 current_directory=$(dirname "$0") +if [[ -n $OCKAM_PRIVILEGED ]]; then + echo "Running privileged tests..." +fi + # The arguments are the names of the suites to run. # If no arguments are passed, all suites are run. if [ $# -eq 0 ]; then