swap-in live content-store-proxy in production #48222
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
name: linting | |
on: [push] | |
jobs: | |
chart-testing: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.head_ref }} | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- name: Set up chart-testing | |
uses: helm/chart-testing-action@v2 | |
- name: Run chart-testing (lint) | |
run: ct lint --config ct.yml | |
- name: Helm template | |
run: | | |
mkdir helm-dist | |
for c in $(ls charts) | |
do | |
helm template "${c}" "charts/${c}" --output-dir helm-dist | |
done | |
- name: Read Kubernetes version from /kubernetes_version | |
run: "grep KUBERNETES_VERSION kubernetes_version >> $GITHUB_ENV" | |
- name: kubeconform | |
uses: docker://ghcr.io/yannh/kubeconform:latest-alpine | |
with: | |
entrypoint: /kubeconform | |
args: > | |
-kubernetes-version ${{ env.KUBERNETES_VERSION }} | |
-schema-location default | |
-schema-location "./schemas/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json" | |
-summary | |
helm-dist | |
shellcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0 | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1.1 | |
with: | |
format: github |