diff --git a/Dockerfile.ci-rp b/Dockerfile.ci-rp index 0c8cfe58757..c1d60854178 100644 --- a/Dockerfile.ci-rp +++ b/Dockerfile.ci-rp @@ -54,7 +54,7 @@ RUN go build -ldflags "-X github.com/Azure/ARO-RP/pkg/util/version.GitCommit=${A RUN go test ./test/e2e/... -tags e2e,codec.safe -c -ldflags "-X github.com/Azure/ARO-RP/pkg/util/version.GitCommit=${ARO_VERSION}" -o e2e.test # Additional tests -RUN ARO_RUN_PKI_TESTS=nope go run gotest.tools/gotestsum@v1.11.0 --format pkgname --junitfile report.xml -- -coverprofile=cover.out ./... +RUN ARO_SKIP_PKI_TESTS=true go run gotest.tools/gotestsum@v1.11.0 --format pkgname --junitfile report.xml -- -coverprofile=cover.out ./... RUN hack/fips/validate-fips.sh ./aro ############################################################################### diff --git a/env.example b/env.example index a265550d1dc..2f420e76437 100644 --- a/env.example +++ b/env.example @@ -3,4 +3,6 @@ export ARO_IMAGE=arointsvc.azurecr.io/aro:latest export NO_CACHE=false export AZURE_EXTENSION_DEV_SOURCES="$(pwd)/python" +export ARO_SKIP_PKI_TESTS=true + . secrets/env diff --git a/pkg/util/pki/pki_test.go b/pkg/util/pki/pki_test.go index 25676c561cf..c7a9d30bb29 100644 --- a/pkg/util/pki/pki_test.go +++ b/pkg/util/pki/pki_test.go @@ -13,7 +13,7 @@ import ( ) func TestGetTlsConfig(t *testing.T) { - if os.Getenv("ARO_RUN_PKI_TESTS") != "" { + if os.Getenv("ARO_SKIP_PKI_TESTS") != "" { t.Skip("") } kpiUrl := "https://issuer.pki.azure.com/dsms/issuercertificates?getissuersv3&caName=%s"