update chart-releaser to v1.3.0 (#98)
This commit is contained in:
@@ -0,0 +1,33 @@
|
|||||||
|
name: test-chart-releaser
|
||||||
|
|
||||||
|
on: [pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test_chart_releaser_action:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
actions: none
|
||||||
|
checks: none
|
||||||
|
contents: none
|
||||||
|
deployments: none
|
||||||
|
issues: none
|
||||||
|
packages: none
|
||||||
|
pull-requests: none
|
||||||
|
repository-projects: none
|
||||||
|
security-events: none
|
||||||
|
statuses: none
|
||||||
|
name: Install chart-releaser and test presence in path
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install chart-releaser
|
||||||
|
uses: ./
|
||||||
|
- name: Check install!
|
||||||
|
run: cr version
|
||||||
|
- name: Check root directory
|
||||||
|
run: |
|
||||||
|
if [[ $(git diff --stat) != '' ]]; then
|
||||||
|
echo 'should be clean'
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
@@ -15,7 +15,7 @@ maintain your charts in a different directory, you must include a `charts_dir` i
|
|||||||
|
|
||||||
### Inputs
|
### Inputs
|
||||||
|
|
||||||
- `version`: The chart-releaser version to use (default: v1.2.1)
|
- `version`: The chart-releaser version to use (default: v1.3.0)
|
||||||
- `config`: Optional config file for chart-releaser. For more information on the config file, see the [documentation](https://github.com/helm/chart-releaser#config-file)
|
- `config`: Optional config file for chart-releaser. For more information on the config file, see the [documentation](https://github.com/helm/chart-releaser#config-file)
|
||||||
- `charts_dir`: The charts directory
|
- `charts_dir`: The charts directory
|
||||||
- `charts_repo_url`: The GitHub Pages URL to the charts repo (default: `https://<owner>.github.io/<project>`)
|
- `charts_repo_url`: The GitHub Pages URL to the charts repo (default: `https://<owner>.github.io/<project>`)
|
||||||
@@ -55,10 +55,10 @@ jobs:
|
|||||||
- name: Install Helm
|
- name: Install Helm
|
||||||
uses: azure/setup-helm@v1
|
uses: azure/setup-helm@v1
|
||||||
with:
|
with:
|
||||||
version: v3.4.0
|
version: v3.7.1
|
||||||
|
|
||||||
- name: Run chart-releaser
|
- name: Run chart-releaser
|
||||||
uses: helm/chart-releaser-action@v1.2.1
|
uses: helm/chart-releaser-action@v1.3.0
|
||||||
env:
|
env:
|
||||||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
```
|
```
|
||||||
@@ -86,7 +86,7 @@ owner: myaccount
|
|||||||
git-base-url: https://api.github.com/
|
git-base-url: https://api.github.com/
|
||||||
```
|
```
|
||||||
|
|
||||||
For options see [config-file](https://github.com/helm/chart-releaser#config-file).
|
For options see [config-file](https://github.com/helm/chart-releaser#config-file).
|
||||||
|
|
||||||
## Code of conduct
|
## Code of conduct
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ branding:
|
|||||||
icon: anchor
|
icon: anchor
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: "The chart-releaser version to use (default: v1.2.1)"
|
description: "The chart-releaser version to use (default: v1.3.0)"
|
||||||
config:
|
config:
|
||||||
description: "The relative path to the chart-releaser config file"
|
description: "The relative path to the chart-releaser config file"
|
||||||
charts_dir:
|
charts_dir:
|
||||||
|
|||||||
Reference in New Issue
Block a user