Skip to content

Commit

Permalink
Added documentation for git_source in databricks_job (#1297)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexott authored May 4, 2022
1 parent efe1c74 commit e006560
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/resources/job.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,16 @@ You can invoke Spark submit tasks only on new clusters. **In the `new_cluster` s
* `on_start` - (Optional) (List) list of emails to notify on failure
* `on_success` - (Optional) (List) list of emails to notify on failure

### git_source Configuration Block

This block is used to specify Git repository information & branch/tag/commit that will be used to pull source code from to execute a job. Supported options are:

* `url` - (Required) URL of the Git repository to use.
* `provider` - (Optional, if it's possible to detect Git provider by host name) case insensitive name of the Git provider. Following values are supported right now (could be a subject for change, consult [Repos API documentation](https://docs.databricks.com/dev-tools/api/latest/repos.html)): `gitHub`, `gitHubEnterprise`, `bitbucketCloud`, `bitbucketServer`, `azureDevOpsServices`, `gitLab`, `gitLabEnterpriseEdition`.
* `branch` - name of the Git branch to use. Conflicts with `tag` and `commit`.
* `tag` - name of the Git branch to use. Conflicts with `branch` and `commit`.
* `commit` - hash of Git commit to use. Conflicts with `branch` and `tag`.

### Exported attributes

In addition to all arguments above, the following attributes are exported:
Expand Down

0 comments on commit e006560

Please sign in to comment.