Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HTTP/OAS] Auto bundle staging OpenAPI specs #193402

Merged
merged 3 commits into from
Sep 22, 2024

Conversation

maximpn
Copy link
Contributor

@maximpn maximpn commented Sep 19, 2024

Relates to: #189262

Summary

This PR adds scripts to automatically bundle staging Kibana OpenAPI specs in CI. It's done in a similar way as in #189262.

@maximpn maximpn added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc release_note:skip Skip the PR/issue when compiling release notes v9.0.0 docs Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Feature:OAS Work or issues related to Core-provided mechanisms for generating OAS v8.16.0 labels Sep 19, 2024
@maximpn maximpn self-assigned this Sep 19, 2024
@maximpn maximpn marked this pull request as ready for review September 20, 2024 05:25
@maximpn maximpn requested a review from a team as a code owner September 20, 2024 05:25
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@maximpn maximpn marked this pull request as draft September 20, 2024 05:26
@maximpn maximpn force-pushed the auto-bundle-staging-kibana-openapi branch from 81845ad to c48f534 Compare September 20, 2024 05:30
@maximpn maximpn marked this pull request as ready for review September 20, 2024 05:30
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @maximpn

@maximpn maximpn merged commit a378064 into elastic:main Sep 22, 2024
21 checks passed
@maximpn maximpn deleted the auto-bundle-staging-kibana-openapi branch September 22, 2024 07:16
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 22, 2024
**Relates to:** elastic#189262

## Summary

This PR adds scripts to automatically bundle staging Kibana OpenAPI specs in CI. It's done in a similar way as in elastic#189262.

(cherry picked from commit a378064)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Sep 22, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [[HTTP/OAS] Auto bundle staging OpenAPI specs
(#193402)](#193402)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2024-09-22T07:15:57Z","message":"[HTTP/OAS]
Auto bundle staging OpenAPI specs (#193402)\n\n**Relates to:**
https://github.com/elastic/kibana/pull/189262\r\n\r\n##
Summary\r\n\r\nThis PR adds scripts to automatically bundle staging
Kibana OpenAPI specs in CI. It's done in a similar way as in
https://github.com/elastic/kibana/pull/189262.","sha":"a3780640060685f699687f1b9b9e55bd798fef07","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","docs","Team:
SecuritySolution","backport:prev-minor","Feature:OAS","v8.16.0"],"title":"[HTTP/OAS]
Auto bundle staging OpenAPI
specs","number":193402,"url":"https://github.com/elastic/kibana/pull/193402","mergeCommit":{"message":"[HTTP/OAS]
Auto bundle staging OpenAPI specs (#193402)\n\n**Relates to:**
https://github.com/elastic/kibana/pull/189262\r\n\r\n##
Summary\r\n\r\nThis PR adds scripts to automatically bundle staging
Kibana OpenAPI specs in CI. It's done in a similar way as in
https://github.com/elastic/kibana/pull/189262.","sha":"a3780640060685f699687f1b9b9e55bd798fef07"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193402","number":193402,"mergeCommit":{"message":"[HTTP/OAS]
Auto bundle staging OpenAPI specs (#193402)\n\n**Relates to:**
https://github.com/elastic/kibana/pull/189262\r\n\r\n##
Summary\r\n\r\nThis PR adds scripts to automatically bundle staging
Kibana OpenAPI specs in CI. It's done in a similar way as in
https://github.com/elastic/kibana/pull/189262.","sha":"a3780640060685f699687f1b9b9e55bd798fef07"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
neptunian pushed a commit to neptunian/kibana that referenced this pull request Oct 1, 2024
…lastic#193654)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[HTTP/OAS] Auto bundle staging OpenAPI specs
(elastic#193402)](elastic#193402)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Maxim
Palenov","email":"maxim.palenov@elastic.co"},"sourceCommit":{"committedDate":"2024-09-22T07:15:57Z","message":"[HTTP/OAS]
Auto bundle staging OpenAPI specs (elastic#193402)\n\n**Relates to:**
https://github.com/elastic/kibana/pull/189262\r\n\r\n##
Summary\r\n\r\nThis PR adds scripts to automatically bundle staging
Kibana OpenAPI specs in CI. It's done in a similar way as in
https://github.com/elastic/kibana/pull/189262.","sha":"a3780640060685f699687f1b9b9e55bd798fef07","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Core","release_note:skip","v9.0.0","docs","Team:
SecuritySolution","backport:prev-minor","Feature:OAS","v8.16.0"],"title":"[HTTP/OAS]
Auto bundle staging OpenAPI
specs","number":193402,"url":"https://github.com/elastic/kibana/pull/193402","mergeCommit":{"message":"[HTTP/OAS]
Auto bundle staging OpenAPI specs (elastic#193402)\n\n**Relates to:**
https://github.com/elastic/kibana/pull/189262\r\n\r\n##
Summary\r\n\r\nThis PR adds scripts to automatically bundle staging
Kibana OpenAPI specs in CI. It's done in a similar way as in
https://github.com/elastic/kibana/pull/189262.","sha":"a3780640060685f699687f1b9b9e55bd798fef07"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/193402","number":193402,"mergeCommit":{"message":"[HTTP/OAS]
Auto bundle staging OpenAPI specs (elastic#193402)\n\n**Relates to:**
https://github.com/elastic/kibana/pull/189262\r\n\r\n##
Summary\r\n\r\nThis PR adds scripts to automatically bundle staging
Kibana OpenAPI specs in CI. It's done in a similar way as in
https://github.com/elastic/kibana/pull/189262.","sha":"a3780640060685f699687f1b9b9e55bd798fef07"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: Maxim Palenov <maxim.palenov@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) docs Feature:OAS Work or issues related to Core-provided mechanisms for generating OAS release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.16.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants