github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/action.yml (about)

     1  name: 'Run AIStore'
     2  description: 'Run AIStore'
     3  inputs:
     4    targets:
     5      required: true
     6      type: string
     7      default: '1'
     8      description: 'Number of storage targets'
     9    proxies:
    10      required: true
    11      type: string
    12      default: '1'
    13      description: 'Number of proxies (gateways)'
    14    mountpaths:
    15      required: true
    16      type: string
    17      default: '1'
    18      description: 'Number of local mountpaths (enter 0 for preconfigured filesystems)'
    19  
    20  runs:
    21    using: "composite"
    22    steps:
    23      - name: Install Go
    24        uses: actions/setup-go@v3
    25        with:
    26          go-version: 1.22.x
    27      - name: Setup additional system libraries
    28        shell: bash
    29        run: |
    30          if [ "$RUNNER_OS" == "Linux" ]; then
    31            sudo apt update
    32            sudo apt install -y xattr attr
    33          fi
    34      - name: Build and deploy AIStore locally
    35        shell: bash
    36        run: |
    37          export GOPATH="$(go env GOPATH)"
    38          git clone https://github.com/NVIDIA/aistore.git
    39          cd aistore
    40          ./scripts/clean_deploy.sh --target-cnt ${{ inputs.targets }} --proxy-cnt ${{ inputs.proxies }} --mountpath-cnt ${{ inputs.mountpaths }}
    41          make cli