2020-03-04 02:15:44 +01:00
|
|
|
#!/bin/groovy
|
|
|
|
|
|
|
|
library 'kibana-pipeline-library'
|
|
|
|
kibanaLibrary.load()
|
|
|
|
|
|
|
|
kibanaPipeline(timeoutMinutes: 120) {
|
2020-07-21 00:06:02 +02:00
|
|
|
githubCommitStatus.trackBuild(params.commit, 'kibana-ci-baseline') {
|
|
|
|
ciStats.trackBuild {
|
|
|
|
catchError {
|
2020-08-04 20:19:26 +02:00
|
|
|
withEnv([
|
|
|
|
'CI_PARALLEL_PROCESS_NUMBER=1'
|
|
|
|
]) {
|
|
|
|
parallel([
|
2020-09-18 04:40:15 +02:00
|
|
|
'oss-baseline': {
|
2021-02-12 09:56:21 +01:00
|
|
|
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()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-18 04:40:15 +02:00
|
|
|
kibanaPipeline.functionalTestProcess('oss-baseline', './test/scripts/jenkins_baseline.sh')()
|
2020-08-04 20:19:26 +02:00
|
|
|
}
|
|
|
|
},
|
2020-09-18 04:40:15 +02:00
|
|
|
'xpack-baseline': {
|
2020-09-22 04:09:54 +02:00
|
|
|
workers.ci(name: 'xpack-baseline', size: 'l', ramDisk: true, runErrorReporter: false) {
|
2020-09-18 04:40:15 +02:00
|
|
|
kibanaPipeline.functionalTestProcess('xpack-baseline', './test/scripts/jenkins_xpack_baseline.sh')()
|
2020-08-04 20:19:26 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
])
|
|
|
|
}
|
2020-07-21 00:06:02 +02:00
|
|
|
}
|
2020-03-04 02:15:44 +01:00
|
|
|
|
2020-07-21 00:06:02 +02:00
|
|
|
kibanaPipeline.sendMail()
|
|
|
|
slackNotifications.onFailure()
|
|
|
|
}
|
2020-05-13 23:10:09 +02:00
|
|
|
}
|
2020-03-04 02:15:44 +01:00
|
|
|
}
|