mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[ci] Fix build argument labels (#138322)
* [ci] Fix build arguments * without quotes
This commit is contained in:
parent
b8f07a1ccf
commit
e2401c97e4
1 changed files with 6 additions and 11 deletions
|
@ -9,17 +9,12 @@ export KBN_NP_PLUGINS_BUILT=true
|
|||
echo "--- Build Kibana Distribution"
|
||||
|
||||
BUILD_ARGS=""
|
||||
if is_pr_with_label "ci:build-all-platforms"; then
|
||||
BUILD_ARGS="--all-platforms --skip-os-packages"
|
||||
fi
|
||||
if is_pr_with_label "ci:build-os-packages"; then
|
||||
BUILD_ARGS="--all-platforms --docker-cross-compile"
|
||||
fi
|
||||
if ! is_pr_with_label "ci:build-canvas-shareable-runtime"; then
|
||||
BUILD_ARGS="$BUILD_ARGS --skip-canvas-shareable-runtime"
|
||||
fi
|
||||
|
||||
node scripts/build "$BUILD_ARGS"
|
||||
is_pr_with_label "ci:build-all-platforms" && BUILD_ARGS="--all-platforms"
|
||||
is_pr_with_label "ci:build-docker-cross-compile" && BUILD_ARG="$BUILD_ARGS --docker-cross-compile"
|
||||
is_pr_with_label "ci:build-os-packages" || BUILD_ARGS="$BUILD_ARGS --skip-os-packages"
|
||||
is_pr_with_label "ci:build-canvas-shareable-runtime" || BUILD_ARGS="$BUILD_ARGS --skip-canvas-shareable-runtime"
|
||||
is_pr_with_label "ci:build-docker-contexts" || BUILD_ARGS="$BUILD_ARGS --skip-docker-contexts"
|
||||
node scripts/build $BUILD_ARGS
|
||||
|
||||
if is_pr_with_label "ci:build-cloud-image"; then
|
||||
echo "$KIBANA_DOCKER_PASSWORD" | docker login -u "$KIBANA_DOCKER_USERNAME" --password-stdin docker.elastic.co
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue