mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[ts] ts refs cache was removed, remove capture task
This commit is contained in:
parent
20ebb175df
commit
fe2480d96d
8 changed files with 0 additions and 34 deletions
|
@ -36,14 +36,3 @@ if [[ "$DISABLE_BOOTSTRAP_VALIDATION" != "true" ]]; then
|
||||||
check_for_changed_files 'yarn kbn bootstrap'
|
check_for_changed_files 'yarn kbn bootstrap'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
###
|
|
||||||
### upload ts-refs-cache artifacts as quickly as possible so they are available for download
|
|
||||||
###
|
|
||||||
if [[ "${BUILD_TS_REFS_CACHE_CAPTURE:-}" == "true" ]]; then
|
|
||||||
echo "--- Build ts-refs-cache"
|
|
||||||
node scripts/build_ts_refs.js --ignore-type-failures
|
|
||||||
echo "--- Upload ts-refs-cache"
|
|
||||||
cd "$KIBANA_DIR/target/ts_refs_cache"
|
|
||||||
gsutil cp "*.zip" 'gs://kibana-ci-ts-refs-cache/'
|
|
||||||
cd "$KIBANA_DIR"
|
|
||||||
fi
|
|
||||||
|
|
|
@ -106,11 +106,6 @@ export GCS_UPLOAD_PREFIX=FAKE_UPLOAD_PREFIX # TODO remove the need for this
|
||||||
|
|
||||||
export KIBANA_BUILD_LOCATION="$WORKSPACE/kibana-build-xpack"
|
export KIBANA_BUILD_LOCATION="$WORKSPACE/kibana-build-xpack"
|
||||||
|
|
||||||
if [[ "${BUILD_TS_REFS_CACHE_ENABLE:-}" != "true" ]]; then
|
|
||||||
export BUILD_TS_REFS_CACHE_ENABLE=false
|
|
||||||
fi
|
|
||||||
|
|
||||||
export BUILD_TS_REFS_DISABLE=true
|
|
||||||
export DISABLE_BOOTSTRAP_VALIDATION=true
|
export DISABLE_BOOTSTRAP_VALIDATION=true
|
||||||
|
|
||||||
# Prevent Browserlist from logging on CI about outdated database versions
|
# Prevent Browserlist from logging on CI about outdated database versions
|
||||||
|
|
|
@ -4,7 +4,6 @@ set -euo pipefail
|
||||||
|
|
||||||
source .buildkite/scripts/common/util.sh
|
source .buildkite/scripts/common/util.sh
|
||||||
|
|
||||||
export BUILD_TS_REFS_DISABLE=false
|
|
||||||
.buildkite/scripts/bootstrap.sh
|
.buildkite/scripts/bootstrap.sh
|
||||||
node scripts/build_kibana_platform_plugins.js
|
node scripts/build_kibana_platform_plugins.js
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@ set -euo pipefail
|
||||||
|
|
||||||
source .buildkite/scripts/common/util.sh
|
source .buildkite/scripts/common/util.sh
|
||||||
|
|
||||||
export BUILD_TS_REFS_DISABLE=false
|
|
||||||
.buildkite/scripts/bootstrap.sh
|
.buildkite/scripts/bootstrap.sh
|
||||||
|
|
||||||
echo '--- Lint: eslint (with types)'
|
echo '--- Lint: eslint (with types)'
|
||||||
|
|
|
@ -3,10 +3,7 @@
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
export BAZEL_CACHE_MODE=buildbuddy # Populate Buildbuddy bazel remote cache for linux
|
export BAZEL_CACHE_MODE=buildbuddy # Populate Buildbuddy bazel remote cache for linux
|
||||||
export BUILD_TS_REFS_CACHE_ENABLE=true
|
|
||||||
export BUILD_TS_REFS_CACHE_CAPTURE=true
|
|
||||||
export DISABLE_BOOTSTRAP_VALIDATION=true
|
export DISABLE_BOOTSTRAP_VALIDATION=true
|
||||||
export BUILD_TS_REFS_DISABLE=false
|
|
||||||
|
|
||||||
.buildkite/scripts/bootstrap.sh
|
.buildkite/scripts/bootstrap.sh
|
||||||
|
|
||||||
|
|
|
@ -23,9 +23,6 @@ kibanaPipeline(timeoutMinutes: 210) {
|
||||||
) {
|
) {
|
||||||
withGcpServiceAccount.fromVaultSecret('secret/kibana-issues/dev/ci-artifacts-key', 'value') {
|
withGcpServiceAccount.fromVaultSecret('secret/kibana-issues/dev/ci-artifacts-key', 'value') {
|
||||||
withEnv([
|
withEnv([
|
||||||
'BUILD_TS_REFS_DISABLE=false', // disabled in root config so we need to override that here
|
|
||||||
'BUILD_TS_REFS_CACHE_ENABLE=true',
|
|
||||||
'BUILD_TS_REFS_CACHE_CAPTURE=true',
|
|
||||||
'DISABLE_BOOTSTRAP_VALIDATION=true',
|
'DISABLE_BOOTSTRAP_VALIDATION=true',
|
||||||
]) {
|
]) {
|
||||||
kibanaPipeline.doSetup()
|
kibanaPipeline.doSetup()
|
||||||
|
|
|
@ -16,15 +16,6 @@ echo " -- TEST_ES_SNAPSHOT_VERSION='$TEST_ES_SNAPSHOT_VERSION'"
|
||||||
echo " -- installing node.js dependencies"
|
echo " -- installing node.js dependencies"
|
||||||
yarn kbn bootstrap --verbose
|
yarn kbn bootstrap --verbose
|
||||||
|
|
||||||
###
|
|
||||||
### upload ts-refs-cache artifacts as quickly as possible so they are available for download
|
|
||||||
###
|
|
||||||
if [[ "$BUILD_TS_REFS_CACHE_CAPTURE" == "true" ]]; then
|
|
||||||
cd "$KIBANA_DIR/target/ts_refs_cache"
|
|
||||||
gsutil cp "*.zip" 'gs://kibana-ci-ts-refs-cache/'
|
|
||||||
cd "$KIBANA_DIR"
|
|
||||||
fi
|
|
||||||
|
|
||||||
###
|
###
|
||||||
### Download es snapshots
|
### Download es snapshots
|
||||||
###
|
###
|
||||||
|
|
|
@ -108,7 +108,6 @@ def base(Map params, Closure closure) {
|
||||||
"GIT_COMMIT=${checkoutInfo.commit}",
|
"GIT_COMMIT=${checkoutInfo.commit}",
|
||||||
"GIT_BRANCH=${checkoutInfo.branch}",
|
"GIT_BRANCH=${checkoutInfo.branch}",
|
||||||
"TMPDIR=${env.WORKSPACE}/tmp", // For Chrome and anything else that respects it
|
"TMPDIR=${env.WORKSPACE}/tmp", // For Chrome and anything else that respects it
|
||||||
"BUILD_TS_REFS_DISABLE=true", // no need to build ts refs in bootstrap
|
|
||||||
]) {
|
]) {
|
||||||
withCredentials([
|
withCredentials([
|
||||||
string(credentialsId: 'vault-addr', variable: 'VAULT_ADDR'),
|
string(credentialsId: 'vault-addr', variable: 'VAULT_ADDR'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue