Skip to content

fix(panda-chat): stable API_SERVER_KEY bearer to survive ArgoCD (0.3.0) #897

fix(panda-chat): stable API_SERVER_KEY bearer to survive ArgoCD (0.3.0)

fix(panda-chat): stable API_SERVER_KEY bearer to survive ArgoCD (0.3.0) #897

Workflow file for this run

name: charts/all
on: pull_request
jobs:
test:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- name: Fetch default branch
run: git fetch origin ${{ github.event.repository.default_branch }}:${{ github.event.repository.default_branch }}
- name: Set up Helm
uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0
with:
version: v3.18.4
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: 3.12
- name: Install pre-commit
run: |
python -m pip install pre-commit
python -m pip freeze --local
shell: bash
- name: Cache pre-commit hooks
uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4
with:
path: ~/.cache/pre-commit
key: pre-commit-3|${{ env.pythonLocation }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit hooks
run: pre-commit run --show-diff-on-failure --color=always --all-files
shell: bash
- name: Install chart-testing
run: |
CT_VERSION=3.13.0
YAMLLINT_VERSION=1.33.0
YAMALE_VERSION=6.0.0
curl -sSLo ct.tar.gz "https://github.com/helm/chart-testing/releases/download/v${CT_VERSION}/chart-testing_${CT_VERSION}_linux_amd64.tar.gz"
mkdir -p "$HOME/.ct"
tar -xzf ct.tar.gz -C "$HOME/.ct"
rm ct.tar.gz
echo "$HOME/.ct" >> $GITHUB_PATH
echo "CT_CONFIG_DIR=$HOME/.ct/etc" >> $GITHUB_ENV
python -m pip install "yamllint==${YAMLLINT_VERSION}" "yamale==${YAMALE_VERSION}"
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config ct.yaml --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
--config ct.yaml
--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
--config ct.yaml
--target-branch ${{ github.event.repository.default_branch }}
--excluded-charts ethereum-node
--excluded-charts beaconchain-explorer
--excluded-charts fauceth
--excluded-charts eth-faucet
--excluded-charts genesis-generator
--excluded-charts beacon-metrics-gazer
--excluded-charts tracoor-server
--excluded-charts tracoor-agent
--excluded-charts tracoor-single
--excluded-charts xatu-cl-mimicry
--excluded-charts contributoor
--excluded-charts hermes
--excluded-charts spamoor
--excluded-charts execution-processor
--excluded-charts cbt-api
--excluded-charts observoor
--excluded-charts xatu-consumoor
--excluded-charts panda-chat