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

Automate the generation of bundle schema descriptions #1007

Merged
merged 5 commits into from
Nov 27, 2023

Conversation

shreyas-goenka
Copy link
Contributor

@shreyas-goenka shreyas-goenka commented Nov 23, 2023

Changes

This PR makes changes required to automatically update the bundle docs during the CLI release process. We rely on post_generate scripts that are executed after code generation with CWD as the CLI repo root.

The new output-file flag is introduced because stdout redirect does not work here and would otherwise require changes to our release automation CLI (deco CLI)

Tests

Manually. Regenerated the CLI and the descriptions were indeed generated for the CLI from the provided openapi spec.

@shreyas-goenka shreyas-goenka changed the title Automate bundle schema descriptions generation Automate the generation of bundle schema descriptions from the Databricks OpenAPI specification Nov 23, 2023
cmd/bundle/schema.go Outdated Show resolved Hide resolved
cmd/bundle/schema.go Show resolved Hide resolved
@pietern pietern changed the title Automate the generation of bundle schema descriptions from the Databricks OpenAPI specification Automate the generation of bundle schema descriptions Nov 27, 2023
@shreyas-goenka shreyas-goenka added this pull request to the merge queue Nov 27, 2023
Merged via the queue into main with commit 96e9545 Nov 27, 2023
4 checks passed
@shreyas-goenka shreyas-goenka deleted the automate-docs-generation branch November 27, 2023 10:47
github-merge-queue bot pushed a commit that referenced this pull request Nov 29, 2023
## Changes

Introduced in #1007 but doesn't work well yet. This will be automated
again as part of #1012.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants