Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2025 10:05 AM
To install dependencies from a private GitHub repository in a Databricks Asset Bundle, you need to set up the GitHub user and token in the resource.yml file and authenticate the GitHub package. Here are the steps:
-
Generate a GitHub Personal Access Token:
- Go to GitHub and navigate to Settings > Developer settings > Personal access tokens.
- Click Generate new token.
- Select the scopes you need (e.g.,
repofor full control of private repositories). - Click Generate token and copy the token.
-
Set Up the GitHub User and Token in
resource.yml:-
In your
resource.ymlfile, add the GitHub user and token as environment variables. For example:resources: jobs: my-job: name:
-