-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(helm_release): update chart releaser image. (#512)
fix(helm_release): update chart releaser image. 1. Updates the chart releaser action version to v1.1.0 2. Provides the chart directory to the releaser action. 3. Indents NOTES.txt Signed-off-by: Ashutosh Kumar <[email protected]>
- Loading branch information
Ashutosh Kumar
authored
Nov 19, 2020
1 parent
682db56
commit 015fbd6
Showing
4 changed files
with
42 additions
and
27 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 |
---|---|---|
|
@@ -4,34 +4,49 @@ on: | |
push: | ||
paths: | ||
- 'deploy/helm/**' | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- 'deploy/helm/**' | ||
branches: | ||
- master | ||
|
||
jobs: | ||
lint-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Fetch history | ||
run: git fetch --prune --unshallow | ||
- name: Set up Helm | ||
uses: azure/setup-helm@v1 | ||
with: | ||
version: v3.4.0 | ||
|
||
- name: Run chart-testing (lint) | ||
id: lint | ||
uses: helm/[email protected] | ||
- uses: actions/setup-python@v2 | ||
with: | ||
command: lint | ||
config: ct.yaml | ||
python-version: 3.7 | ||
|
||
- name: Set up chart-testing | ||
uses: helm/[email protected] | ||
|
||
- name: Run chart-testing (list-changed) | ||
id: list-changed | ||
run: | | ||
changed=$(ct list-changed --config ct.yaml) | ||
if [[ -n "$changed" ]]; then | ||
echo "::set-output name=changed::true" | ||
fi | ||
- name: Run chart-testing (lint) | ||
run: ct lint --config ct.yaml | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
# Only build a kind cluster if there are chart changes to test. | ||
if: steps.lint.outputs.changed == 'true' | ||
if: steps.list-changed.outputs.changed == 'true' | ||
|
||
- name: Run chart-testing (install) | ||
uses: helm/[email protected] | ||
with: | ||
command: install | ||
config: ct.yaml | ||
run: ct install --config ct.yaml |
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 |
---|---|---|
|
@@ -13,23 +13,22 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Fetch history | ||
run: git fetch --prune --unshallow | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
# See https://github.com/helm/chart-releaser-action/issues/6 | ||
- name: Install Helm | ||
run: | | ||
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | ||
chmod 700 get_helm.sh | ||
./get_helm.sh | ||
uses: azure/setup-helm@v1 | ||
with: | ||
version: v3.4.0 | ||
|
||
- name: Run chart-releaser | ||
uses: helm/chart-releaser-action@v1.0.0 | ||
uses: helm/chart-releaser-action@v1.1.0 | ||
env: | ||
CR_TOKEN: "${{ secrets.CR_TOKEN }}" | ||
with: | ||
charts_dir: deploy/helm |
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,7 +1,8 @@ | ||
The OpenEBS Node Disk Manager has been installed. Check its status by running: | ||
$ kubectl get pods -n {{ .Release.Namespace }} | ||
|
||
Use `kubectl get bd -n {{ .Release.Namespace }} ` to see the list of blockdevices attached to the | ||
Kubernetes cluster nodes. | ||
Use `kubectl get bd -n {{ .Release.Namespace }} ` to see the list of | ||
blockdevices attached to the Kubernetes cluster nodes. | ||
|
||
For more information, visit our Slack at https://openebs.io/community or view the documentation online at http://docs.openebs.io/. | ||
For more information, visit our Slack at https://openebs.io/community or view | ||
the documentation online at http://docs.openebs.io/. |