mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-18 10:52:28 +00:00
Some checks failed
Integration Auth Tests / test-matrix (oauth2_token) (push) Failing after 1s
Integration Tests / discover-tests (push) Successful in 3s
Vector IO Integration Tests / test-matrix (3.12, inline::sqlite-vec) (push) Failing after 4s
Python Package Build Test / build (3.12) (push) Failing after 3s
Vector IO Integration Tests / test-matrix (3.12, inline::faiss) (push) Failing after 8s
Vector IO Integration Tests / test-matrix (3.12, remote::pgvector) (push) Failing after 7s
Vector IO Integration Tests / test-matrix (3.13, inline::milvus) (push) Failing after 7s
Vector IO Integration Tests / test-matrix (3.12, remote::chromadb) (push) Failing after 10s
Vector IO Integration Tests / test-matrix (3.13, inline::sqlite-vec) (push) Failing after 8s
Vector IO Integration Tests / test-matrix (3.13, remote::chromadb) (push) Failing after 8s
SqlStore Integration Tests / test-postgres (3.12) (push) Failing after 14s
Unit Tests / unit-tests (3.12) (push) Failing after 5s
Update ReadTheDocs / update-readthedocs (push) Failing after 3s
Python Package Build Test / build (3.13) (push) Failing after 7s
Vector IO Integration Tests / test-matrix (3.12, inline::milvus) (push) Failing after 14s
Vector IO Integration Tests / test-matrix (3.13, inline::faiss) (push) Failing after 12s
Vector IO Integration Tests / test-matrix (3.13, remote::pgvector) (push) Failing after 11s
Test External Providers / test-external-providers (venv) (push) Failing after 50s
SqlStore Integration Tests / test-postgres (3.13) (push) Failing after 58s
Unit Tests / unit-tests (3.13) (push) Failing after 54s
Integration Tests / test-matrix (push) Failing after 53s
Pre-commit / pre-commit (push) Successful in 1m40s
# What does this PR do? - enables auth - updates to use distribution-starter docker ## Test Plan bash apply.sh
68 lines
2 KiB
Text
68 lines
2 KiB
Text
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: llama-stack-ui
|
|
labels:
|
|
app.kubernetes.io/name: llama-stack
|
|
app.kubernetes.io/component: ui
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: llama-stack
|
|
app.kubernetes.io/component: ui
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: llama-stack
|
|
app.kubernetes.io/component: ui
|
|
spec:
|
|
containers:
|
|
- name: llama-stack-ui
|
|
image: node:18-alpine
|
|
command: ["/bin/sh"]
|
|
env:
|
|
- name: LLAMA_STACK_BACKEND_URL
|
|
value: "http://llama-stack-service:8321"
|
|
- name: LLAMA_STACK_UI_PORT
|
|
value: "8322"
|
|
- name: GITHUB_CLIENT_ID
|
|
value: "${GITHUB_CLIENT_ID}"
|
|
- name: GITHUB_CLIENT_SECRET
|
|
value: "${GITHUB_CLIENT_SECRET}"
|
|
- name: NEXTAUTH_URL
|
|
value: "${LLAMA_STACK_UI_URL}:8322"
|
|
args:
|
|
- -c
|
|
- |
|
|
# Install git (not included in alpine by default)
|
|
apk add --no-cache git
|
|
|
|
# Clone the repository
|
|
echo "Cloning repository..."
|
|
git clone https://github.com/meta-llama/llama-stack.git /app
|
|
|
|
# Navigate to the UI directory
|
|
echo "Navigating to UI directory..."
|
|
cd /app/llama_stack/ui
|
|
|
|
# Check if package.json exists
|
|
if [ ! -f "package.json" ]; then
|
|
echo "ERROR: package.json not found in $(pwd)"
|
|
ls -la
|
|
exit 1
|
|
fi
|
|
|
|
# Install dependencies with verbose output
|
|
echo "Installing dependencies..."
|
|
npm install --verbose
|
|
|
|
# Verify next is installed
|
|
echo "Checking if next is installed..."
|
|
npx next --version || echo "Next.js not found, checking node_modules..."
|
|
ls -la node_modules/.bin/ | grep next || echo "No next binary found"
|
|
|
|
npm run dev
|
|
ports:
|
|
- containerPort: 8322
|
|
workingDir: /app
|