add LLM_MODEL_ID env to audioqna to set the correct model #660
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (C) 2024 Intel Corporation | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Charts Validate | |
on: | |
pull_request: | |
branches: [main] | |
types: [opened, reopened, ready_for_review, synchronize] # added `ready_for_review` since draft is skipped | |
paths: | |
- helm-charts/** | |
- .github/workflows/chart-validate.yaml | |
workflow_dispatch: | |
# If there is a new commit, the previous jobs will be canceled | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
env: | |
CHARTS_DIRS: "helm-charts,helm-charts/common" | |
jobs: | |
charts-validate: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
actions: write | |
packages: write | |
steps: | |
- name: Checkout out Repo | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v4.2.0 | |
with: | |
version: v3.14.4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
check-latest: true | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@v2.7.0 | |
- name: Run chart-testing (list-changed) | |
id: list-changed | |
run: | | |
changed=$(ct list-changed --chart-dirs ${{ env.CHARTS_DIRS }} --target-branch ${{ github.event.repository.default_branch }}) | |
if [[ -n "$changed" ]]; then | |
echo "changed=true" >> "$GITHUB_OUTPUT" | |
fi | |
- name: Run chart-testing (lint) | |
if: steps.list-changed.outputs.changed == 'true' | |
run: | | |
helm-charts/update_dependency.sh | |
exclude_param="" | |
for libchart in `find helm-charts/ -name "Chart.yaml" | xargs grep -rl '^type:.*library' | xargs grep '^name:' | awk '{print $2}' ` | |
do | |
exclude_param="${exclude_param} --excluded-charts $libchart" | |
done | |
ct lint ${exclude_param} --check-version-increment=false --validate-maintainers=false --chart-dirs ${{ env.CHARTS_DIRS }} --target-branch ${{ github.event.repository.default_branch }} \ | |
--chart-repos milvus=https://zilliztech.github.io/milvus-helm \ | |
--chart-repos qdrant=https://qdrant.github.io/qdrant-helm |