From 8bb4111c5402ce17d84e707e304cad708e0ee159 Mon Sep 17 00:00:00 2001 From: Akash Singhal Date: Tue, 13 Jun 2023 20:11:18 -0700 Subject: [PATCH] fix: update Azure build steps (#882) --- scripts/azure-ci-test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/azure-ci-test.sh b/scripts/azure-ci-test.sh index fbedc2887..b75b1d3ab 100755 --- a/scripts/azure-ci-test.sh +++ b/scripts/azure-ci-test.sh @@ -38,7 +38,7 @@ REGISTRY="${ACR_NAME}.azurecr.io" build_push_to_acr() { echo "Building and pushing images to ACR" - docker build --progress=plain --no-cache -f ./httpserver/Dockerfile -t "${ACR_NAME}.azurecr.io/test/localbuild:${TAG}" . + docker build --progress=plain --no-cache --build-arg build_cosign=true --build-arg build_sbom=true --build-arg build_licensechecker=true --build-arg build_schemavalidator=true -f ./httpserver/Dockerfile -t "${ACR_NAME}.azurecr.io/test/localbuild:${TAG}" . docker push "${REGISTRY}/test/localbuild:${TAG}" docker build --progress=plain --no-cache --build-arg KUBE_VERSION=${KUBERNETES_VERSION} --build-arg TARGETOS="linux" --build-arg TARGETARCH="amd64" -f crd.Dockerfile -t "${ACR_NAME}.azurecr.io/test/localbuildcrd:${TAG}" ./charts/ratify/crds @@ -53,7 +53,8 @@ deploy_gatekeeper() { --name-template=gatekeeper \ --namespace gatekeeper-system --create-namespace \ --set enableExternalData=true \ - --set validatingWebhookTimeoutSeconds=7 \ + --set validatingWebhookTimeoutSeconds=5 \ + --set mutatingWebhookTimeoutSeconds=2 \ --set auditInterval=0 }