-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ansible, repos): add private ml model repository (#559)
* chore: add git-lfs to ansible Signed-off-by: yukke42 <yukke42@users.noreply.github.com> * chore: add ml_model_provider Signed-off-by: yukke42 <yukke42@users.noreply.github.com> * chore: add dep from URL Signed-off-by: yukke42 <yukke42@users.noreply.github.com> * chore: fix lint error Signed-off-by: yukke42 <yukke42@users.noreply.github.com> Signed-off-by: yukke42 <yukke42@users.noreply.github.com>
- Loading branch information
Showing
6 changed files
with
35 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
- hosts: localhost | ||
connection: local | ||
roles: | ||
- pilot_auto.dev_env.git_lfs |
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,13 @@ | ||
# Git Large File Storage | ||
|
||
This role installs Git LFS. You can access detailed information about Git LFS with [this link](https://git-lfs.github.com/). | ||
|
||
## Inputs | ||
|
||
None. | ||
|
||
## Manual Installation | ||
|
||
```bash | ||
git lfs install | ||
``` |
Empty file.
Empty file.
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,17 @@ | ||
# https://github.com/git-lfs/git-lfs/wiki/Installation#debian-and-ubuntu | ||
- name: Download script | ||
ansible.builtin.get_url: | ||
url: https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | ||
dest: /tmp/script.sh | ||
mode: 0764 | ||
- name: Setup | ||
become: true | ||
environment: | ||
os: "{{ ansible_distribution }}" | ||
dist: "{{ ansible_distribution_release }}" | ||
ansible.builtin.script: /tmp/script.sh | ||
- name: Install Git LFS | ||
become: true | ||
ansible.builtin.apt: | ||
name: | ||
- git-lfs |
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