Skip to content

Commit

Permalink
Updates on ci and add dependabot (#36)
Browse files Browse the repository at this point in the history
* add dependabot and update ci

Signed-off-by: cpanato <[email protected]>

* bump chart for testing

Signed-off-by: cpanato <[email protected]>
  • Loading branch information
cpanato authored Mar 30, 2022
1 parent d40ac88 commit 2c6c299
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
8 changes: 4 additions & 4 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Set up Helm
uses: azure/setup-helm@v1
with:
version: v3.4.1
version: v3.8.1

# Python is required because `ct lint` runs Yamale (https://github.com/23andMe/Yamale) and
# yamllint (https://github.com/adrienverge/yamllint) which require Python
Expand All @@ -24,9 +24,9 @@ jobs:
python-version: 3.7

- name: Set up chart-testing
uses: helm/chart-testing-action@v2.0.1
uses: helm/chart-testing-action@v2.2.1
with:
version: v3.3.0
version: v3.5.1

- name: Run chart-testing (list-changed)
id: list-changed
Expand All @@ -40,7 +40,7 @@ jobs:
run: ct lint --config ct.yaml

- name: Create kind cluster
uses: helm/kind-action@v1.1.0
uses: helm/kind-action@v1.2.0
if: steps.list-changed.outputs.changed == 'true'

- name: Run chart-testing (install)
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
jobs:
release:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -22,7 +26,7 @@ jobs:
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.4.1
version: v3.8.1

# Optional step if GPG signing is used
- name: Prepare GPG key
Expand All @@ -47,7 +51,7 @@ jobs:
helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.1.0
uses: helm/chart-releaser-action@v1.4.0
with:
charts_dir: charts
config: cr.yaml
Expand Down
2 changes: 1 addition & 1 deletion charts/example-v2/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ maintainers:
name: example-v2
sources:
- https://github.com/helm/helm
version: 0.2.7
version: 0.2.8

0 comments on commit 2c6c299

Please sign in to comment.