Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .buildkite/pipelines/pull_request/base.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
env:
KBN_ES_SNAPSHOT_USE_CACHED: 'true'

steps:
- command: .buildkite/scripts/steps/build_kibana.sh
label: Build Kibana Distribution
Expand Down
2 changes: 1 addition & 1 deletion src/platform/packages/shared/kbn-es/src/artifact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export class Artifact {
const cacheMeta = cache.readMeta(dest);
const tmpPath = `${dest}.tmp`;

if (useCached) {
if (useCached || process.env.KBN_ES_SNAPSHOT_USE_CACHED === 'true') {
if (cacheMeta.exists) {
this.log.info(
'use-cached passed, forcing to use existing snapshot',
Expand Down
Loading