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

[Exporter] export databricks_repo for Git Folders outside of /Repos #4308

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

alexott
Copy link
Contributor

@alexott alexott commented Dec 11, 2024

Changes

Resolves #3672

Tests

  • make test run locally
  • relevant change in docs/ folder
  • covered with integration tests in internal/acceptance
  • relevant acceptance tests are passing
  • using Go SDK

@alexott alexott requested review from a team as code owners December 11, 2024 09:15
@alexott alexott requested review from tanmay-db and removed request for a team December 11, 2024 09:15
Copy link

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

Trigger:
go/deco-tests-run/terraform

Inputs:

  • PR number: 4308
  • Commit SHA: 1e586a78f31cbacffe426513080f3c0a37450eb4

Checks will be approved automatically on success.

@eng-dev-ecosystem-bot
Copy link
Collaborator

Test Details: go/deco-tests/12273203474

}

// Read returns the notebook metadata and not the contents
func (a NotebooksAPI) GetStatus(path string, returnGitInfo bool) (ObjectStatus, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you think we can eventually switch to using the Go SDK for these resources?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would like, but it's public undocumented, so it isn't included into API spec. Plus we have another field that isn't part of the API spec, that's why I use custom list and get-status implementations in exporter

@alexott alexott added this pull request to the merge queue Dec 13, 2024
Merged via the queue into main with commit 18d13bf Dec 13, 2024
12 checks passed
@alexott alexott deleted the exporter/git-folders-support branch December 13, 2024 06:15
hectorcast-db added a commit that referenced this pull request Dec 18, 2024
### New Features and Improvements

 * Allow to use GCP SA in `databricks_credential` (storage only) ([#4302](#4302)).

### Bug Fixes

 * Bump Golang x/crypto to 0.31 ([#4319](#4319)).

### Internal Changes

 * Generate models with correctly computed annotations ([#4316](#4316)).
 * Update Go SDK to 0.54.0 ([#4328](#4328)).

### Dependency Updates

 * Bump github.com/hashicorp/terraform-plugin-framework-validators from 0.15.0 to 0.16.0 ([#4320](#4320)).

### Exporter

 * Correctly handle DB-managed UC objects ([#4323](#4323)).
 * Emit WSFS/UC files from `parameters` in the jobs ([#4318](#4318)).
 * Improve support of `databricks_model_serving` ([#4324](#4324)).
 * add support for `databricks_credential` ([#4292](#4292)).
 * export `databricks_repo` for Git Folders outside of `/Repos` ([#4308](#4308)).
hectorcast-db added a commit that referenced this pull request Dec 18, 2024
 * Allow to use GCP SA in `databricks_credential` (storage only) ([#4302](#4302)).

 * Bump Golang x/crypto to 0.31 ([#4319](#4319)).

 * Generate models with correctly computed annotations ([#4316](#4316)).
 * Update Go SDK to 0.54.0 ([#4328](#4328)).

 * Bump github.com/hashicorp/terraform-plugin-framework-validators from 0.15.0 to 0.16.0 ([#4320](#4320)).

 * Correctly handle DB-managed UC objects ([#4323](#4323)).
 * Emit WSFS/UC files from `parameters` in the jobs ([#4318](#4318)).
 * Improve support of `databricks_model_serving` ([#4324](#4324)).
 * add support for `databricks_credential` ([#4292](#4292)).
 * export `databricks_repo` for Git Folders outside of `/Repos` ([#4308](#4308)).
github-merge-queue bot pushed a commit that referenced this pull request Dec 18, 2024
### New Features and Improvements

* Allow to use GCP SA in `databricks_credential` (storage only)
([#4302](#4302)).
 * Support for databricks_credential in databricks_workspace_binding


### Bug Fixes

* Bump Golang x/crypto to 0.31
([#4319](#4319)).


### Internal Changes

* Generate models with correctly computed annotations
([#4316](#4316)).
* Update Go SDK to 0.54.0
([#4328](#4328)).


### Dependency Updates

* Bump github.com/hashicorp/terraform-plugin-framework-validators from
0.15.0 to 0.16.0
([#4320](#4320)).


### Exporter

* Correctly handle DB-managed UC objects
([#4323](#4323)).
* Emit WSFS/UC files from `parameters` in the jobs
([#4318](#4318)).
* Improve support of `databricks_model_serving`
([#4324](#4324)).
* add support for `databricks_credential`
([#4292](#4292)).
* export `databricks_repo` for Git Folders outside of `/Repos`
([#4308](#4308)).
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.

Exporter should support Git Folders, not only Repos
3 participants