mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [Fix/renovate pipeline (#204672)](https://github.com/elastic/kibana/pull/204672) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Brad White","email":"Ikuni17@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-12-18T12:35:36Z","message":"Fix/renovate pipeline (#204672)\n\n## Summary\n\nRenovate pipeline isn't being uploaded to Buildkite properly and `pre`\nand `post` build steps were not necessary and create errors with CI\nstats.\n\n[Successful CI\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/261627)","sha":"ecd4567ac6d0663756724f7a4ed34401a0873389","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","v9.0.0","backport:prev-major"],"title":"Fix/renovate pipeline","number":204672,"url":"https://github.com/elastic/kibana/pull/204672","mergeCommit":{"message":"Fix/renovate pipeline (#204672)\n\n## Summary\n\nRenovate pipeline isn't being uploaded to Buildkite properly and `pre`\nand `post` build steps were not necessary and create errors with CI\nstats.\n\n[Successful CI\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/261627)","sha":"ecd4567ac6d0663756724f7a4ed34401a0873389"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204672","number":204672,"mergeCommit":{"message":"Fix/renovate pipeline (#204672)\n\n## Summary\n\nRenovate pipeline isn't being uploaded to Buildkite properly and `pre`\nand `post` build steps were not necessary and create errors with CI\nstats.\n\n[Successful CI\nrun](https://buildkite.com/elastic/kibana-pull-request/builds/261627)","sha":"ecd4567ac6d0663756724f7a4ed34401a0873389"}}]}] BACKPORT--> Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
This commit is contained in:
parent
7cd2ace06e
commit
afa4fc9c94
2 changed files with 4 additions and 11 deletions
|
@ -1,12 +1,4 @@
|
|||
steps:
|
||||
- command: .buildkite/scripts/lifecycle/pre_build.sh
|
||||
label: Pre-Build
|
||||
timeout_in_minutes: 10
|
||||
agents:
|
||||
machineType: n2-standard-2
|
||||
|
||||
- wait
|
||||
|
||||
- command: .buildkite/scripts/steps/renovate.sh
|
||||
label: 'Renovate validation'
|
||||
agents:
|
||||
|
|
|
@ -39,15 +39,16 @@ const getPipeline = (filename: string, removeSteps = true) => {
|
|||
return;
|
||||
}
|
||||
|
||||
pipeline.push(getAgentImageConfig({ returnYaml: true }));
|
||||
|
||||
const onlyRunQuickChecks = await areChangesSkippable([/^renovate\.json$/], REQUIRED_PATHS);
|
||||
if (onlyRunQuickChecks) {
|
||||
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/renovate.yml', false));
|
||||
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/post_build.yml'));
|
||||
console.log('Isolated changes to renovate.json. Skipping main PR pipeline.');
|
||||
|
||||
console.log([...new Set(pipeline)].join('\n'));
|
||||
return;
|
||||
}
|
||||
|
||||
pipeline.push(getAgentImageConfig({ returnYaml: true }));
|
||||
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/base.yml', false));
|
||||
|
||||
if (await doAnyChangesMatch([/^packages\/kbn-handlebars/])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue