-
Notifications
You must be signed in to change notification settings - Fork 109
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 #823 from jfrog/add-huggingface-repo-support
Add hugging face repo support
- Loading branch information
Showing
14 changed files
with
283 additions
and
97 deletions.
There are no files selected for viewing
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
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,33 @@ | ||
--- | ||
subcategory: "Local Repositories" | ||
--- | ||
# Artifactory Local Hugging Face Repository Resource | ||
|
||
Creates a local Hugging Face repository. | ||
|
||
Official documentation can be found [here](https://jfrog.com/help/r/jfrog-artifactory-documentation/set-up-local-hugging-face-repositories). | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "artifactory_local_huggingfaceml_repository" "local-huggingfaceml-repo" { | ||
key = "local-huggingfaceml-repo" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
Arguments have a one to one mapping with the [JFrog API](https://www.jfrog.com/confluence/display/RTF/Repository+Configuration+JSON). | ||
|
||
The following arguments are supported, along with the [common list of arguments for the local repositories](local.md): | ||
|
||
* `key` - (Required) the identity key of the repo. | ||
* `description` - (Optional) | ||
* `notes` - (Optional) | ||
|
||
## Import | ||
|
||
Local repositories can be imported using their name, e.g. | ||
``` | ||
$ terraform import artifactory_local_huggingfaceml_repository.local-huggingfaceml-repo local-huggingfaceml-repo | ||
``` |
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
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
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,34 @@ | ||
--- | ||
subcategory: "Remote Repositories" | ||
--- | ||
# Artifactory Remote Hugging Face Repository Resource | ||
|
||
Provides a remote Hugging Face repository. | ||
|
||
Official documentation can be found [here](https://jfrog.com/help/r/jfrog-artifactory-documentation/set-up-remote-hugging-face-repositories). | ||
|
||
## Example Usage | ||
|
||
```hcl | ||
resource "artifactory_remote_huggingfaceml_repository" "huggingfaceml-remote" { | ||
key = "huggingfaceml-remote-foo25" | ||
} | ||
``` | ||
|
||
## Argument Reference | ||
|
||
Arguments have a one to one mapping with the [JFrog API](https://www.jfrog.com/confluence/display/RTF/Repository+Configuration+JSON). | ||
|
||
The following arguments are supported, along with the [common list of arguments for the remote repositories](remote.md): | ||
|
||
* `key` - (Required) A mandatory identifier for the repository that must be unique. It cannot begin with a number or | ||
contain spaces or special characters. | ||
* `description` - (Optional) | ||
* `notes` - (Optional) | ||
|
||
## Import | ||
|
||
Remote repositories can be imported using their name, e.g. | ||
``` | ||
$ terraform import artifactory_remote_huggingfaceml_repository.huggingfaceml-remote huggingfaceml-remote | ||
``` |
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
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
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
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
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
Oops, something went wrong.