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: adjust generation & normalization of databricks_job names #2836

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

alexott
Copy link
Contributor

@alexott alexott commented Oct 25, 2023

Changes

In context.go we had a very aggressive name normalization rule @.*$ that did not necessarily strip parts of the job name. Also added handling of the empty job name.

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

In `context.go` we had very aggressive name normalization rule `@.*$` that not necessary
stripped parts of the job name. Also added handling of the empty job name.
@alexott alexott requested review from a team as code owners October 25, 2023 07:11
@alexott alexott requested review from tanmay-db and removed request for a team October 25, 2023 07:11
@alexott alexott added the exporter TF configuration generator label Oct 25, 2023
@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@cb4a6f0). Click here to learn what that means.
Report is 1 commits behind head on master.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #2836   +/-   ##
=========================================
  Coverage          ?   84.67%           
=========================================
  Files             ?      152           
  Lines             ?    13243           
  Branches          ?        0           
=========================================
  Hits              ?    11214           
  Misses            ?     1415           
  Partials          ?      614           
Files Coverage Δ
exporter/context.go 78.50% <ø> (ø)
exporter/importables.go 72.00% <100.00%> (ø)

@mgyucht mgyucht added this pull request to the merge queue Oct 25, 2023
Merged via the queue into master with commit 74e229d Oct 25, 2023
7 checks passed
@mgyucht mgyucht deleted the exporter-jobs-names-normalization branch October 25, 2023 12:23
@mgyucht mgyucht mentioned this pull request Oct 25, 2023
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter TF configuration generator
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants