Skip to content

Commit

Permalink
feat(ansible, repos): add private ml model repository (#559)
Browse files Browse the repository at this point in the history
* 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
yukke42 committed Oct 11, 2022
1 parent 555334c commit 7eeda83
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions ansible/playbooks/local_dev_env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
- hosts: localhost
connection: local
roles:
- pilot_auto.dev_env.git_lfs
13 changes: 13 additions & 0 deletions ansible/roles/git_lfs/README.md
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.
17 changes: 17 additions & 0 deletions ansible/roles/git_lfs/tasks/main.yaml
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
4 changes: 4 additions & 0 deletions autoware.repos
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ repositories:
type: git
url: https://github.com/tier4/autoware_individual_params.git
version: main
autoware/ml_model_provider:
type: git
url: git@github.com:tier4/ml_model_provider.git
version: main
# description
description/sensor/sensor_component_description:
type: git
Expand Down

0 comments on commit 7eeda83

Please sign in to comment.