fix(ci): isolate agent smoke in namespace-capable helper
quality / changes (push) Successful in 6s
quality / commitlint (push) Skipped
quality / openapi (push) Successful in 27s
quality / web (push) Successful in 49s
quality / api (push) Successful in 1m13s
quality / linux-agent-smoke (push) Failing after 1m31s
quality / docker-check (push) Failing after 4m11s
CD / quality (push) Failing after 8m19s
CD / publish (push) Skipped
quality / changes (push) Successful in 6s
quality / commitlint (push) Skipped
quality / openapi (push) Successful in 27s
quality / web (push) Successful in 49s
quality / api (push) Successful in 1m13s
quality / linux-agent-smoke (push) Failing after 1m31s
quality / docker-check (push) Failing after 4m11s
CD / quality (push) Failing after 8m19s
CD / publish (push) Skipped
This commit is contained in:
1 parent
9fa6269174
commit
a37ffdf061
7 files changed
+133
-6
No files matched your search
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
set -Eeuo pipefail
|
||||
# Fail before any firewall work if the daemon/kernel still forbids namespaces.
|
||||
if ! unshare --net --mount --pid --fork --mount-proc true; then
|
||||
echo 'Linux agent helper cannot create required namespaces. A rootful Docker daemon with namespace/netfilter support and the documented helper capabilities is required; smoke was not run.' >&2
|
||||
exit 1
|
||||
fi
|
||||
python3 -B scripts/ci/linux-agent-fixture.test.py
|
||||
export EVOFW_TEST_ETC_DATA=/work/helper-etc
|
||||
exec bash scripts/ci/linux-netns-smoke.sh
|
||||
Reference in new issue
Block a user