Skip to content

fix(flows): flow-16 unsatisfiable Ready gate; flow-04 first-inference window on local models #1069

fix(flows): flow-16 unsatisfiable Ready gate; flow-04 first-inference window on local models

fix(flows): flow-16 unsatisfiable Ready gate; flow-04 first-inference window on local models #1069

Workflow file for this run

name: Lint and Test Charts
on:
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
with:
version: v3.12.0
- name: Set up Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.12"
- name: Set up chart-testing
uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # v2.8.0
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --target-branch "${{ github.event.repository.default_branch }}")
if [[ -n "$changed" ]]; then
echo "changed=true" >> "$GITHUB_OUTPUT"
fi
- name: Run chart-testing (lint)
run: ct lint --target-branch ${{ github.event.repository.default_branch }}
- name: Create kind cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
if: steps.list-changed.outputs.changed == 'true'
- name: Run chart-testing (install)
run: ct install --target-branch ${{ github.event.repository.default_branch }}
generate-check:
name: CRD generation up-to-date
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: 'go.mod'
- name: Set up just
uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 # v4.0.0
- name: Regenerate CRDs + DeepCopy
run: just generate
- name: Fail if regeneration changed any tracked files
run: |
if [ -n "$(git status --porcelain)" ]; then
echo "::error::CRD manifests or DeepCopy methods are out of date."
echo "::error::Run 'just generate' locally and commit the result."
git status
git --no-pager diff
exit 1
fi