mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
[ci] skip building ts refs when not necessary (#95739)
Co-authored-by: spalger <spalger@users.noreply.github.com>
This commit is contained in:
parent
edbb989dec
commit
e46a74f757
3 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,7 @@ 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_ENABLE=true',
|
||||||
'BUILD_TS_REFS_CACHE_CAPTURE=true',
|
'BUILD_TS_REFS_CACHE_CAPTURE=true',
|
||||||
'DISABLE_BOOTSTRAP_VALIDATION=true',
|
'DISABLE_BOOTSTRAP_VALIDATION=true',
|
||||||
|
|
|
@ -2,5 +2,8 @@
|
||||||
|
|
||||||
source src/dev/ci_setup/setup_env.sh
|
source src/dev/ci_setup/setup_env.sh
|
||||||
|
|
||||||
|
checks-reporter-with-killswitch "Build TS Refs" \
|
||||||
|
node scripts/build_ts_refs --ignore-type-failures --force
|
||||||
|
|
||||||
checks-reporter-with-killswitch "Check Types" \
|
checks-reporter-with-killswitch "Check Types" \
|
||||||
node scripts/type_check
|
node scripts/type_check
|
||||||
|
|
|
@ -101,6 +101,7 @@ def base(Map params, Closure closure) {
|
||||||
"TEST_BROWSER_HEADLESS=1",
|
"TEST_BROWSER_HEADLESS=1",
|
||||||
"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