mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
[7.x] [Bazel] Only persist cache and create build invocations in on-merge pipeline (#114035) (#114339)
* [Bazel] Only persist cache and create build invocations in on-merge pipeline (#114035) Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> * [ci] Fix setup_bazel permissions Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co> Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
b63428a70a
commit
3b4bb6f89d
4 changed files with 9 additions and 6 deletions
11
.bazelrc
11
.bazelrc
|
@ -2,12 +2,13 @@
|
||||||
# Import shared settings first so we can override below
|
# Import shared settings first so we can override below
|
||||||
import %workspace%/.bazelrc.common
|
import %workspace%/.bazelrc.common
|
||||||
|
|
||||||
## Disabled for now
|
|
||||||
# Remote cache settings for local env
|
# Remote cache settings for local env
|
||||||
# build --remote_cache=https://storage.googleapis.com/kibana-bazel-cache
|
build --remote_cache=grpcs://cloud.buildbuddy.io
|
||||||
# build --incompatible_remote_results_ignore_disk=true
|
build --incompatible_remote_results_ignore_disk=true
|
||||||
# build --remote_accept_cached=true
|
build --noremote_upload_local_results
|
||||||
# build --remote_upload_local_results=false
|
build --remote_timeout=30
|
||||||
|
build --remote_header=x-buildbuddy-api-key=3EYk49W2NefOx2n3yMze
|
||||||
|
build --remote_accept_cached=true
|
||||||
|
|
||||||
# BuildBuddy
|
# BuildBuddy
|
||||||
## Metadata settings
|
## Metadata settings
|
||||||
|
|
0
.buildkite/scripts/common/setup_bazel.sh
Normal file → Executable file
0
.buildkite/scripts/common/setup_bazel.sh
Normal file → Executable file
|
@ -89,7 +89,6 @@ if [[ "${SKIP_CI_SETUP:-}" != "true" ]]; then
|
||||||
if [[ -d .buildkite/scripts && "${BUILDKITE_COMMAND:-}" != "buildkite-agent pipeline upload"* ]]; then
|
if [[ -d .buildkite/scripts && "${BUILDKITE_COMMAND:-}" != "buildkite-agent pipeline upload"* ]]; then
|
||||||
source .buildkite/scripts/common/env.sh
|
source .buildkite/scripts/common/env.sh
|
||||||
source .buildkite/scripts/common/setup_node.sh
|
source .buildkite/scripts/common/setup_node.sh
|
||||||
source .buildkite/scripts/common/setup_bazel.sh
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
# Write Bazel cache for Linux
|
||||||
|
.buildkite/scripts/common/setup_bazel.sh
|
||||||
|
|
||||||
.buildkite/scripts/bootstrap.sh
|
.buildkite/scripts/bootstrap.sh
|
||||||
.buildkite/scripts/build_kibana.sh
|
.buildkite/scripts/build_kibana.sh
|
||||||
.buildkite/scripts/post_build_kibana.sh
|
.buildkite/scripts/post_build_kibana.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue