From ed8bb7385f74fba7e380c1d6e3ea1920f5b7e352 Mon Sep 17 00:00:00 2001 From: hezijie Date: Wed, 26 Feb 2025 17:07:25 +0800 Subject: [PATCH] skip conftest on e2eignored examples --- avm_scripts/conftest.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/avm_scripts/conftest.sh b/avm_scripts/conftest.sh index 3189007..7867da0 100644 --- a/avm_scripts/conftest.sh +++ b/avm_scripts/conftest.sh @@ -16,6 +16,12 @@ for d in $(find . -maxdepth 1 -mindepth 1 -type d); do cd "$d" echo "==> Checking $d" + if [ -f ".e2eignore" ]; then + echo "==> Skipping $d due to .e2eignore file" + cd - >/dev/null 2>&1 + continue + fi + echo "==> Initializing Terraform..." terraform init -input=false echo "==> Running Terraform plan..."