Skip to content

Replace LangSmith tracing with OpenTelemetry GenAI #20

Replace LangSmith tracing with OpenTelemetry GenAI

Replace LangSmith tracing with OpenTelemetry GenAI #20

name: helm-validate
on:
push:
pull_request:
jobs:
lint-and-render:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: v3.15.4
- name: Build dependencies
run: helm dependency build .
- name: Lint chart
run: helm lint .
- name: Render default values
run: helm template llm-observability-stack . >/tmp/rendered-default.yaml
- name: Render local example values
run: helm template llm-observability-stack . -f values.local-k3s.example.yaml >/tmp/rendered-local.yaml
- name: Render GeForce 940M profile
run: helm template llm-observability-stack . -f values.geforce-940m-k3s.yaml >/tmp/rendered-geforce.yaml
- name: Render full-stack NVIDIA profile
run: |
helm template llm-observability-stack . \
-f values.full-stack-nvidia.example.yaml \
--set langsmith.existingSecret= \
--set openWebUI.existingSecret= \
--set open-webui.webuiSecret.existingSecretName= \
>/tmp/rendered-full-stack-nvidia.yaml
- name: Build and validate monitoring chart
run: |
if [ ! -d monitoring ]; then
echo "monitoring chart is not present in this repository; skipping optional monitoring chart validation"
exit 0
fi
helm dependency build monitoring
helm lint monitoring
helm template llm-monitoring monitoring >/tmp/rendered-monitoring.yaml
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install smoke test dependencies
run: python -m pip install --upgrade pip && pip install -r requirements-test.txt
- name: Run smoke tests
run: pytest -q tests/test_langchain_demo_smoke.py tests/test_helm_smoke.py