Skip to content

Commit

Permalink
[build] Skip CDN assets build when testing docker contexts (elastic#1…
Browse files Browse the repository at this point in the history
…70735)

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 elastic#169707
  • Loading branch information
jbudz authored Nov 7, 2023
1 parent 42a189d commit 50207b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/scripts/steps/artifacts/docker_context.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 50207b1

Please sign in to comment.