Skip to content

Commit

Permalink
[8.x] [HTTP/OAS] Auto bundle staging OpenAPI specs (elastic#193402) (e…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
2 people authored and neptunian committed Oct 1, 2024
1 parent 4b84798 commit 538f3ba
Show file tree
Hide file tree
Showing 5 changed files with 76,389 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .buildkite/scripts/steps/openapi_bundling/final_merge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ source .buildkite/scripts/common/util.sh
echo --- Merge Kibana OpenAPI specs

(cd oas_docs && make api-docs && make api-docs-lint)
(cd oas_docs && make api-docs-staging && make api-docs-lint)

check_for_changed_files "make api-docs && make api-docs-staging" true
Loading

0 comments on commit 538f3ba

Please sign in to comment.