Skip to content

Commit

Permalink
install python for chart-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
mariomac committed Apr 24, 2024
1 parent 429ff7f commit 0956eef
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: Release Helm chart
on:
workflow_dispatch:

env:
CR_CONFIGFILE: "${{ github.workspace }}/source/.github/configs/cr.yml"
CT_CONFIGFILE: "${{ github.workspace }}/source/.github/configs/ct.yml"
CR_INDEX_PATH: "${{ github.workspace }}/.cr-index"
CR_PACKAGE_PATH: "${{ github.workspace }}/.cr-release-packages"
CR_TOOL_PATH: "${{ github.workspace }}/.cr-tool"
CR_VERSION: "1.5.0"

jobs:
setup:
runs-on: ubuntu-latest
Expand All @@ -21,6 +23,13 @@ jobs:
fetch-depth: 0
path: source

# required for chart-testing action
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
check-latest: true

- name: Install chart-testing
uses: helm/chart-testing-action@v2

Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/helm-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ jobs:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# required for chart-testing action
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9'
check-latest: true

- name: Set up Linting with chart-testing
uses: helm/chart-testing-action@v2.1.0

Expand Down

0 comments on commit 0956eef

Please sign in to comment.