From 50207b1833ae9e3a051bcead76e713128047a036 Mon Sep 17 00:00:00 2001 From: Jon Date: Tue, 7 Nov 2023 11:38:11 -0600 Subject: [PATCH] [build] Skip CDN assets build when testing docker contexts (#170735) When testing docker contexts we skip all build steps related to Kibana artifacts. CDN assets rely on the Kibana base folder and should be skipped too. Fixes https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/3445 Build https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/3451 Bug introduced in https://github.com/elastic/kibana/pull/169707 --- .buildkite/scripts/steps/artifacts/docker_context.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/scripts/steps/artifacts/docker_context.sh b/.buildkite/scripts/steps/artifacts/docker_context.sh index 39e299251cac0..26501fd5555d0 100755 --- a/.buildkite/scripts/steps/artifacts/docker_context.sh +++ b/.buildkite/scripts/steps/artifacts/docker_context.sh @@ -11,7 +11,7 @@ KIBANA_DOCKER_CONTEXT="${KIBANA_DOCKER_CONTEXT:="default"}" echo "--- Create contexts" mkdir -p target -node scripts/build --skip-initialize --skip-generic-folders --skip-platform-folders --skip-archives --docker-context-use-local-artifact +node scripts/build --skip-initialize --skip-generic-folders --skip-platform-folders --skip-archives --skip-cdn-assets --docker-context-use-local-artifact echo "--- Setup context" DOCKER_BUILD_FOLDER=$(mktemp -d)