afed310b82
* [ts/build-refs] implement experimental remote cache * delete old tests * add some more tests * add some docs and a readme * fix kibanaPackageJson usage Co-authored-by: spalger <spalger@users.noreply.github.com> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
42 lines
1.4 KiB
Groovy
42 lines
1.4 KiB
Groovy
#!/bin/groovy
|
|
|
|
library 'kibana-pipeline-library'
|
|
kibanaLibrary.load()
|
|
|
|
kibanaPipeline(timeoutMinutes: 120) {
|
|
githubCommitStatus.trackBuild(params.commit, 'kibana-ci-baseline') {
|
|
ciStats.trackBuild {
|
|
catchError {
|
|
withEnv([
|
|
'CI_PARALLEL_PROCESS_NUMBER=1'
|
|
]) {
|
|
parallel([
|
|
'oss-baseline': {
|
|
workers.ci(name: 'oss-baseline', size: 'l', ramDisk: true, runErrorReporter: false, bootstrapped: false) {
|
|
// bootstrap ourselves, but with the env needed to upload the ts refs cache
|
|
withGcpServiceAccount.fromVaultSecret('secret/kibana-issues/dev/ci-artifacts-key', 'value') {
|
|
withEnv([
|
|
'BUILD_TS_REFS_CACHE_ENABLE=true',
|
|
'BUILD_TS_REFS_CACHE_CAPTURE=true'
|
|
]) {
|
|
kibanaPipeline.doSetup()
|
|
}
|
|
}
|
|
|
|
kibanaPipeline.functionalTestProcess('oss-baseline', './test/scripts/jenkins_baseline.sh')()
|
|
}
|
|
},
|
|
'xpack-baseline': {
|
|
workers.ci(name: 'xpack-baseline', size: 'l', ramDisk: true, runErrorReporter: false) {
|
|
kibanaPipeline.functionalTestProcess('xpack-baseline', './test/scripts/jenkins_xpack_baseline.sh')()
|
|
}
|
|
},
|
|
])
|
|
}
|
|
}
|
|
|
|
kibanaPipeline.sendMail()
|
|
slackNotifications.onFailure()
|
|
}
|
|
}
|
|
}
|