Skip to content

[charts/cosi] add COSI driver helm chart #5

[charts/cosi] add COSI driver helm chart

[charts/cosi] add COSI driver helm chart #5

Workflow file for this run

name: COSI driver
on:
push:
branches: [main]
pull_request:
branches: ["**"]
env:
GOPRIVATE: github.com/dell/*
TOKEN: ${{ secrets.GH_DELL_ACCESS }}
jobs:
kube-linter:
name: Kube Linter
runs-on: ubuntu-latest
steps:
- name: Configure git for private modules
run: |
git config --global url."https://csmbot:[email protected]".insteadOf "https://github.com"
echo "machine github.com login csmbot password $TOKEN" >> ~/.netrc
- name: Checkout the code
uses: actions/[email protected]
- name: Scan repo with kube-linter
uses: stackrox/[email protected]
with:
directory: charts/cosi
config: cosi-kubelinter-config.yaml
helm-check:
name: Chart Testing
runs-on: ubuntu-latest
steps:
- name: Configure git for private modules
run: |
git config --global url."https://csmbot:[email protected]".insteadOf "https://github.com"
echo "machine github.com login csmbot password $TOKEN" >> ~/.netrc
- name: Checkout the code
uses: actions/[email protected]
- name: Set up Helm
uses: azure/setup-helm@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
check-latest: true
- name: Set up chart-testing
uses: helm/[email protected]
- name: Run chart-testing (lint)
run: ct lint --config cosi-ct-config.yaml