-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Github workflow for releasing charts (#1067)
Also includes: - minor improvement to docs. - remove duplicate imagePullPolicy from Cinder CSI chart
- Loading branch information
Showing
8 changed files
with
119 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Lint and Test Charts | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
changes: | ||
outputs: | ||
charts: ${{ steps.filter.outputs.charts }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- id: filter | ||
uses: dorny/[email protected] | ||
with: | ||
filters: | | ||
charts: | ||
- 'charts/**/Chart.yaml' | ||
- 'charts/**/*' | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
helm-lint-test: | ||
if: ${{ needs.changes.outputs.charts == 'true' }} | ||
name: Helm chart | ||
needs: | ||
- changes | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Fetch history | ||
run: git fetch --prune --unshallow | ||
|
||
- id: lint | ||
name: Run chart-testing (lint) | ||
uses: helm/[email protected] | ||
with: | ||
command: lint | ||
|
||
# Only build a kind cluster if there are chart changes to test. | ||
- if: steps.lint.outputs.changed == 'true' | ||
name: Create kind cluster | ||
uses: helm/[email protected] | ||
|
||
- name: Run chart-testing (install) | ||
uses: helm/[email protected] | ||
with: | ||
command: install |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Release Charts | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Fetch history | ||
run: git fetch --prune --unshallow | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
apiVersion: v1 | ||
appVersion: "v1.18.0" | ||
appVersion: latest | ||
description: Cinder CSI Plugin for OpenStack | ||
name: openstack-cinder-csi | ||
version: 1.1.1 | ||
version: 1.1.2 | ||
home: https://github.com/kubernetes/cloud-provider-openstack | ||
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png | ||
maintainers: | ||
- name: brtknr | ||
email: [email protected] |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
apiVersion: v1 | ||
appVersion: "0.9" | ||
description: A Helm chart for Kubernetes | ||
appVersion: latest | ||
description: Manila CSI Plugin for OpenStack | ||
name: openstack-manila-csi | ||
version: 0.1.2 | ||
home: http://github.com/kubernetes/cloud-provider-openstack | ||
icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png | ||
maintainers: | ||
- name: brtknr | ||
email: [email protected] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Manila CSI provisioner | ||
|
||
First add the repo: | ||
|
||
helm repo add cpo https://kubernetes.github.io/cloud-provider-openstack | ||
helm repo update | ||
|
||
If you are using Helm v3: | ||
|
||
helm install manila-csi cpo/openstack-manila-csi | ||
|
||
If you are using Helm v2: | ||
|
||
helm install --name manila-csi cpo/openstack-manila-csi |
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