databricks-cli/bundle
stikkireddy 402fcdd62c
Skip path translation of job task for jobs with a Git source (#404)
## Changes

Added skipping of translating paths for notebook path in notebook tasks
and python file path in spark python tasks if the git source is not null.

Resolves: #402

## Tests

There is a unit test and also tested with a sample bundle:

```
resources:
  jobs:
    demo:
      git_source:
        git_branch: master
        git_provider: github
        git_url: https://github.com/test/dummy
   ....
```

---------

Co-authored-by: Pieter Noordhuis <pieter.noordhuis@databricks.com>
2023-06-07 12:34:59 +02:00
..
artifacts Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
config Skip path translation of job task for jobs with a Git source (#404) 2023-06-07 12:34:59 +02:00
deploy Allow equivalence checking of filer errors to fs errors (#416) 2023-05-31 20:47:00 +02:00
deployer Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
internal/tf Regenerated internal schema structs based on Terraform provider schemas (#401) 2023-05-23 19:33:24 +02:00
phases Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
run Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
schema Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
tests Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
bundle.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
bundle_test.go Store relative path to configuration file for every resource (#322) 2023-04-12 16:17:13 +02:00
context.go Make sync command work in bundle context; reorder args (#207) 2023-02-20 11:33:30 +01:00
context_test.go Add command that writes the materialized bundle configuration to stdout (#95) 2022-11-21 15:39:53 +01:00
deferred.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
deferred_test.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
mutator.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
mutator_test.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
root.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
root_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
seq.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00
seq_test.go Added support for bundle.Seq, simplified Mutator.Apply interface (#403) 2023-05-24 14:45:19 +02:00