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

[OAS] Capture and commit serverless bundle #184915

Merged
merged 15 commits into from
Jun 10, 2024

Conversation

jloleysens
Copy link
Contributor

@jloleysens jloleysens commented Jun 6, 2024

Summary

Close #184719

Adds the ability to capture OAS for serverless build flavor in addition to traditional. By default the CLI will run for both, but this can be controlled by passing in one of two new flags: --no-serverless or --no-traditional.

See oas_docs/bundle.serverless.json for output.

Comment on lines +43 to +47
kibana?: {
settings?: {};
cliArgs?: Partial<CliArgs>;
};
adjustTimeout?: (timeout: number) => void;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just enables passing through our special "enable all plugins" setting

@@ -16,23 +16,29 @@ import { observeLines } from '@kbn/stdio-dev-helpers';

// import type { Result } from './kibana_worker';

interface StartTSWorkerArgs {
interface StartTSWorkerArgs extends ForkOptions {
Copy link
Contributor Author

@jloleysens jloleysens Jun 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decided to include all ForkOptions for this util, not strictly needed, but seemed simpler.

@jloleysens
Copy link
Contributor Author

/ci

@jloleysens jloleysens 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 v8.15.0 Feature:OAS Work or issues related to Core-provided mechanisms for generating OAS labels Jun 6, 2024
@jloleysens
Copy link
Contributor Author

/ci

@jloleysens jloleysens marked this pull request as ready for review June 7, 2024 05:49
@jloleysens jloleysens requested review from a team as code owners June 7, 2024 05:49
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@pgayvallet pgayvallet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a couple questions

@jloleysens jloleysens enabled auto-merge (squash) June 10, 2024 08:51
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/core-test-helpers-kbn-server 54 55 +1
Unknown metric groups

API count

id before after diff
@kbn/core-test-helpers-kbn-server 61 62 +1

History

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

@jloleysens jloleysens merged commit cf7196f into elastic:main Jun 10, 2024
19 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jun 10, 2024
@jloleysens jloleysens deleted the oas/generate-serverless-bundle branch June 10, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting 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 v8.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create a serverless bundle
6 participants