From ce13aa6c97cce7b9db1b989fe152824696d251bb Mon Sep 17 00:00:00 2001 From: hezijie Date: Thu, 27 Feb 2025 15:15:11 +0800 Subject: [PATCH] update library url --- avm_scripts/conftest.sh | 4 ++-- avmmakefile | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/avm_scripts/conftest.sh b/avm_scripts/conftest.sh index 7867da0..3082901 100644 --- a/avm_scripts/conftest.sh +++ b/avm_scripts/conftest.sh @@ -30,9 +30,9 @@ for d in $(find . -maxdepth 1 -mindepth 1 -type d); do terraform show -json tfplan.binary > tfplan.json if [ -d "exceptions" ]; then - conftest test --all-namespaces --update git::https://github.com/lonegunmanb/policy-library-avmrego.git//policy/Azure-Proactive-Resiliency-Library-v2 -p policy -p exceptions tfplan.json || has_error=true + conftest test --all-namespaces --update git::https://github.com/Azure/policy-library-avm.git//policy/Azure-Proactive-Resiliency-Library-v2 -p policy -p exceptions tfplan.json || has_error=true else - conftest test --all-namespaces --update git::https://github.com/lonegunmanb/policy-library-avmrego.git//policy/Azure-Proactive-Resiliency-Library-v2 tfplan.json || has_error=true + conftest test --all-namespaces --update git::https://github.com/Azure/policy-library-avm.git//policy/Azure-Proactive-Resiliency-Library-v2 tfplan.json || has_error=true fi cd - >/dev/null 2>&1 diff --git a/avmmakefile b/avmmakefile index a5af5e4..99b0983 100644 --- a/avmmakefile +++ b/avmmakefile @@ -1,5 +1,9 @@ REMOTE_SCRIPT := https://raw.githubusercontent.com/Azure/tfmod-scaffold/main/avm_scripts$(AVMSCRIPT_VERSION) +.PHONY: conftest +conftest: + curl -H 'Cache-Control: no-cache, no-store' -sSL "$(REMOTE_SCRIPT)/conftest.sh" | bash + .PHONY: docs docs: curl -H 'Cache-Control: no-cache, no-store' -sSL "$(REMOTE_SCRIPT)/docs-gen.sh" | bash