Commit df39c4c
authored
# Backport
This will backport the following commits from `main` to `9.1`:
- [[CI] Fallback to GITHUB_PR_NUMBER, when BUILDKITE_PULL_REQUEST is
false (#237034)](#237034)
<!--- Backport version: 10.0.2 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT [{"author":{"name":"Brad
White","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-10-01T16:22:05Z","message":"[CI]
Fallback to GITHUB_PR_NUMBER, when BUILDKITE_PULL_REQUEST is false
(#237034)\n\n## Summary\n\nBK has a bug where `BUILDKITE_PULL_REQUEST`
is `false` when there should\nbe a PR number.
Example\n[here](https://buildkite.com/elastic/kibana-pull-request/builds/345435).\nWe
then deploy to `kibana-pr-false`. This has been happening for about\ntwo
months from what I can tell and would have multiple PRs deploying
to\nthe same URL and overwriting each
other.","sha":"0870546e115330616410847bf3766588c4e68a50","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","ci:cloud-deploy","ci:project-deploy-elasticsearch","v9.2.0"],"title":"[CI]
Fallback to GITHUB_PR_NUMBER, when BUILDKITE_PULL_REQUEST is
false","number":237034,"url":"https://github.com/elastic/kibana/pull/237034","mergeCommit":{"message":"[CI]
Fallback to GITHUB_PR_NUMBER, when BUILDKITE_PULL_REQUEST is false
(#237034)\n\n## Summary\n\nBK has a bug where `BUILDKITE_PULL_REQUEST`
is `false` when there should\nbe a PR number.
Example\n[here](https://buildkite.com/elastic/kibana-pull-request/builds/345435).\nWe
then deploy to `kibana-pr-false`. This has been happening for about\ntwo
months from what I can tell and would have multiple PRs deploying
to\nthe same URL and overwriting each
other.","sha":"0870546e115330616410847bf3766588c4e68a50"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/237034","number":237034,"mergeCommit":{"message":"[CI]
Fallback to GITHUB_PR_NUMBER, when BUILDKITE_PULL_REQUEST is false
(#237034)\n\n## Summary\n\nBK has a bug where `BUILDKITE_PULL_REQUEST`
is `false` when there should\nbe a PR number.
Example\n[here](https://buildkite.com/elastic/kibana-pull-request/builds/345435).\nWe
then deploy to `kibana-pr-false`. This has been happening for about\ntwo
months from what I can tell and would have multiple PRs deploying
to\nthe same URL and overwriting each
other.","sha":"0870546e115330616410847bf3766588c4e68a50"}}]}]
BACKPORT-->
1 parent 84c70e8 commit df39c4c
File tree
2 files changed
+19
-6
lines changed- .buildkite/scripts/steps
- cloud
- serverless
2 files changed
+19
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
| |||
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
25 | | - | |
| 31 | + | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| |||
144 | 150 | | |
145 | 151 | | |
146 | 152 | | |
147 | | - | |
| 153 | + | |
148 | 154 | | |
149 | 155 | | |
150 | 156 | | |
151 | | - | |
| 157 | + | |
152 | 158 | | |
153 | 159 | | |
154 | 160 | | |
155 | 161 | | |
156 | | - | |
| 162 | + | |
157 | 163 | | |
158 | 164 | | |
159 | 165 | | |
| |||
0 commit comments