forked from dbt-labs/docs.getdbt.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dbt-labs#2619 from dbt-labs/ly-docs-cloud-rn
dbt Cloud RN: Private packages must be cloned
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
...docs/dbt-versions/release-notes/02-Dec-2022/private-packages-clone-git-token.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: "Private packages must be cloned using access tokens provided by environment variables" | ||
description: "Private GitHub packages must be cloned using access tokens provided by environment variables." | ||
sidebar_label: "Deprecation: Private packages must be cloned using access tokens" | ||
tags: [Dec-23-2022] | ||
--- | ||
|
||
The supported method for cloning private GitHub packages is the [git token method](/docs/build/packages#git-token-method), where an appropriate access token is passed into the package repository URL with an environment variable. | ||
|
||
A small number of people have been able to clone private packages using dbt's native GitHub application without explicitly providing an access token. This functionality is being deprecated as it’s limited in flexibility. | ||
|
||
If you have been using a package hosted in a private repository on GitHub, you must start passing an access token into the URL. | ||
|
||
An example of passing an access token: | ||
|
||
<File name='packages.yml'> | ||
|
||
```yaml | ||
|
||
packages: | ||
- git: "https://{{env_var('DBT_ENV_SECRET_GIT_CREDENTIAL')}}@github.com/dbt-labs/awesome_repo.git" | ||
|
||
``` | ||
</File> |