-
Notifications
You must be signed in to change notification settings - Fork 180
/
action.yml
35 lines (33 loc) · 914 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: 'Run AIStore'
description: 'Run AIStore'
inputs:
targets:
required: true
type: string
default: '1'
description: 'Number of storage targets'
proxies:
required: true
type: string
default: '1'
description: 'Number of proxies (gateways)'
mountpaths:
required: true
type: string
default: '1'
description: 'Number of local mountpaths (enter 0 for preconfigured filesystems)'
runs:
using: "composite"
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.23.x
- name: Build and deploy AIStore locally
shell: bash
run: |
export GOPATH="$(go env GOPATH)"
git clone https://github.com/NVIDIA/aistore.git
cd aistore
./scripts/clean_deploy.sh --target-cnt ${{ inputs.targets }} --proxy-cnt ${{ inputs.proxies }} --mountpath-cnt ${{ inputs.mountpaths }}
make cli