Skip to content

Update filenames used by bundle generate to use .<resource-type>.yml - #1901

Merged
andrewnester merged 5 commits into
mainfrom
fix/subextension-generate
Nov 20, 2024
Merged

Update filenames used by bundle generate to use .<resource-type>.yml#1901
andrewnester merged 5 commits into
mainfrom
fix/subextension-generate

Conversation

@andrewnester

@andrewnesterandrewnester commented Nov 14, 2024

Copy link
Copy Markdown
Contributor

Changes

Update filenames used by bundle generate to use '.resource-type.yml'

Similar to Add sub-extension to resource files in built-in templates by shreyas-goenka · Pull Request #1777 · databricks/cli

@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Test Details: go/deco-tests/11837500904

@andrewnesterandrewnester changed the title Fix/subextension generateUpdate filenames used by bundle generate to use '.<resource-type>.yml'Nov 14, 2024
Comment threadcmd/bundle/generate/job.go
Comment threadcmd/bundle/generate/job.go Outdated
Comment threadcmd/bundle/generate/job.go
Comment threadcmd/bundle/generate/pipeline.go Outdated
Co-authored-by: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/cli

Inputs:

  • PR number: 1901
  • Commit SHA: fdc6edf1eaf5adfd21eac6915d4633feb8c0c8b3

Checks will be approved automatically on success.

@pieternpietern changed the title Update filenames used by bundle generate to use '.<resource-type>.yml'Update filenames used by bundle generate to use .<resource-type>.ymlNov 15, 2024

@pieternpietern left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@andrewnester This is worth calling out in the next changelog.

@andrewnester
andrewnester merged commit 592e111 into mainNov 20, 2024
@andrewnester
andrewnester deleted the fix/subextension-generate branch November 20, 2024 12:53
pietern added a commit that referenced this pull request Nov 20, 2024
**Note:** the `bundle generate` command now uses the `.<resource-type>.yml`
sub-extension for the configuration files it writes. Existing configuration
files that do not use this sub-extension are renamed to include it.
Bundles:
* Make `TableName` field part of quality monitor schema ([#1903](#1903)).
* Do not prepend paths starting with ~ or variable reference ([#1905](#1905)).
* Fix workspace extensions filer accidentally reading notebooks ([#1891](#1891)).
* Fix template initialization when running on Databricks ([#1912](#1912)).
* Source-linked deployments for bundles in the workspace ([#1884](#1884)).
* Added integration test to deploy bundle to /Shared root path ([#1914](#1914)).
* Update filenames used by bundle generate to use `.<resource-type>.yml` ([#1901](#1901)).
Internal:
* Extract functionality to detect if the CLI is running on DBR ([#1889](#1889)).
* Consolidate test helpers for `io/fs` ([#1906](#1906)).
* Use `fs.FS` interface to read template ([#1910](#1910)).
* Use `filer.Filer` to write template instantiation ([#1911](#1911)).
@pieternpietern mentioned this pull request Nov 20, 2024
github-merge-queueBot pushed a commit that referenced this pull request Nov 20, 2024
**Note:** the `bundle generate` command now uses the
`.<resource-type>.yml`
sub-extension for the configuration files it writes. Existing
configuration
files that do not use this sub-extension are renamed to include it.
Bundles:
* Make `TableName` field part of quality monitor schema
([#1903](#1903)).
* Do not prepend paths starting with ~ or variable reference
([#1905](#1905)).
* Fix workspace extensions filer accidentally reading notebooks
([#1891](#1891)).
* Fix template initialization when running on Databricks
([#1912](#1912)).
* Source-linked deployments for bundles in the workspace
([#1884](#1884)).
* Added integration test to deploy bundle to /Shared root path
([#1914](#1914)).
* Update filenames used by bundle generate to use `.<resource-type>.yml`
([#1901](#1901)).
Internal:
* Extract functionality to detect if the CLI is running on DBR
([#1889](#1889)).
* Consolidate test helpers for `io/fs`
([#1906](#1906)).
* Use `fs.FS` interface to read template
([#1910](#1910)).
* Use `filer.Filer` to write template instantiation
([#1911](#1911)).
denik pushed a commit that referenced this pull request May 20, 2026
#1901)
## Changes
Update filenames used by bundle generate to use '.resource-type.yml'
Similar to [Add sub-extension to resource files in built-in templates by
shreyas-goenka · Pull Request #1777 ·
databricks/cli](#1777)
---------
Co-authored-by: shreyas-goenka <88374338+shreyas-goenka@users.noreply.github.com>
denik pushed a commit that referenced this pull request May 20, 2026
**Note:** the `bundle generate` command now uses the
`.<resource-type>.yml`
sub-extension for the configuration files it writes. Existing
configuration
files that do not use this sub-extension are renamed to include it.
Bundles:
* Make `TableName` field part of quality monitor schema
([#1903](#1903)).
* Do not prepend paths starting with ~ or variable reference
([#1905](#1905)).
* Fix workspace extensions filer accidentally reading notebooks
([#1891](#1891)).
* Fix template initialization when running on Databricks
([#1912](#1912)).
* Source-linked deployments for bundles in the workspace
([#1884](#1884)).
* Added integration test to deploy bundle to /Shared root path
([#1914](#1914)).
* Update filenames used by bundle generate to use `.<resource-type>.yml`
([#1901](#1901)).
Internal:
* Extract functionality to detect if the CLI is running on DBR
([#1889](#1889)).
* Consolidate test helpers for `io/fs`
([#1906](#1906)).
* Use `fs.FS` interface to read template
([#1910](#1910)).
* Use `filer.Filer` to write template instantiation
([#1911](#1911)).
Sign up for freeto 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.

4 participants

@andrewnester@eng-dev-ecosystem-bot@pietern@shreyas-goenka