mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-26 22:19:49 +00:00
# What does this PR do? Our CI is entirely undocumented, this commit adds a README.md file with a table of the current CI and what is does --------- Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: Installer CI
|
|
|
|
run-name: Test the installation script
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'scripts/install.sh'
|
|
push:
|
|
paths:
|
|
- 'scripts/install.sh'
|
|
schedule:
|
|
- cron: '0 2 * * *' # every day at 02:00 UTC
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
|
|
- name: Run ShellCheck on install.sh
|
|
run: shellcheck scripts/install.sh
|
|
smoke-test-on-dev:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
- name: Install dependencies
|
|
uses: ./.github/actions/setup-runner
|
|
|
|
- name: Build a single provider
|
|
run: |
|
|
USE_COPY_NOT_MOUNT=true LLAMA_STACK_DIR=. uv run llama stack build --template starter --image-type container --image-name test
|
|
|
|
- name: Run installer end-to-end
|
|
run: |
|
|
IMAGE_ID=$(docker images --format "{{.Repository}}:{{.Tag}}" | head -n 1)
|
|
./scripts/install.sh --image $IMAGE_ID
|