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

Never load authentication configuration from bundle for sync command #889

Merged
merged 4 commits into from
Oct 19, 2023

Conversation

pietern
Copy link
Contributor

@pietern pietern commented Oct 19, 2023

Changes

This is used for the sync command, where we need to ensure that a bundle configuration never taints the authentication setup as prepared in the environment (by our VS Code extension). Once the VS Code extension fully builds on bundles, we can remove this check again.

Tests

Manually confirmed that calling databricks sync from a bundle directory no longer picks up its authentication configuration.

Copy link
Contributor

@kartikgupta-db kartikgupta-db left a comment

Choose a reason for hiding this comment

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

Thanks for taking this interrupt!

Base automatically changed from sync-skip-prompt-on-completion to main October 19, 2023 12:42
@pietern pietern enabled auto-merge October 19, 2023 12:45
@pietern pietern added this pull request to the merge queue Oct 19, 2023
Merged via the queue into main with commit 7139487 Oct 19, 2023
@pietern pietern deleted the sync-skip-bundle-load branch October 19, 2023 12:57
pietern added a commit that referenced this pull request Oct 23, 2023
CLI:
 * Never load authentication configuration from bundle for sync command ([#889](#889)).
 * Fixed requiring positional arguments for API URL parameters ([#878](#878)).

Bundles:
 * Add support for validating CLI version when loading a jsonschema object ([#883](#883)).
 * Do not emit wheel wrapper error when python_wheel_wrapper setting is true ([#894](#894)).
 * Resolve configuration before performing verification ([#890](#890)).
 * Fix wheel task not working with with 13.x clusters ([#898](#898)).

Internal:
 * Skip prompt on completion hook ([#888](#888)).
 * New YAML loader to support configuration location ([#828](#828)).

Dependency updates:
 * Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20 ([#896](#896)).
@pietern pietern mentioned this pull request Oct 23, 2023
github-merge-queue bot pushed a commit that referenced this pull request Oct 23, 2023
CLI:
* Never load authentication configuration from bundle for sync command
([#889](#889)).
* Fixed requiring positional arguments for API URL parameters
([#878](#878)).

Bundles:
* Add support for validating CLI version when loading a jsonschema
object ([#883](#883)).
* Do not emit wheel wrapper error when python_wheel_wrapper setting is
true ([#894](#894)).
* Resolve configuration before performing verification
([#890](#890)).
* Fix wheel task not working with with 13.x clusters
([#898](#898)).

Internal:
* Skip prompt on completion hook
([#888](#888)).
* New YAML loader to support configuration location
([#828](#828)).

Dependency updates:
* Bump github.com/mattn/go-isatty from 0.0.19 to 0.0.20
([#896](#896)).
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.

3 participants