Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate helm chart release #191

Merged
merged 3 commits into from Apr 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/cr.yaml
@@ -0,0 +1 @@
release-name-template: "helm-chart-{{ .Name }}-{{ .Version }}"
27 changes: 27 additions & 0 deletions .github/workflows/helm_chart_release.yaml
@@ -0,0 +1,27 @@
name: Release Helm Charts

on:
push:
branches:
- master
paths:
- "charts/**"

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.1.0
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
config: .github/cr.yaml
4 changes: 3 additions & 1 deletion charts/aws-cloud-controller-manager/Chart.yaml
@@ -1,10 +1,12 @@
---
apiVersion: v1
name: aws-cloud-controller-manager
description: This will install Cloud Controller Manager for AWS Cloud Provider
description: Installs Cloud Controller Manager for AWS Cloud Provider
version: 0.0.2
appVersion: v1.20.0-alpha.0
maintainers:
- name: Jeswin K Ninan
email: jeswinjkn@gmail.com
- name: Ayberk Yilmaz
email: yayberk@amazon.com
---
4 changes: 2 additions & 2 deletions charts/aws-cloud-controller-manager/Readme.md
Expand Up @@ -5,7 +5,7 @@ Installs the [aws cloud-controller-manager ](https://github.com/kubernetes/cloud
## Get Repo Info

```console
helm repo add aws-cloud-controller-manager https://github.com/kubernetes/cloud-provider-aws
helm repo add aws-cloud-controller-manager https://kubernetes.github.io/cloud-provider-aws
helm repo update
```

Expand All @@ -15,7 +15,7 @@ _See [helm repo](https://helm.sh/docs/helm/helm_repo/) for command documentation

```console
# Helm 3
$ helm install [RELEASE_NAME] cloud-provider-aws/charts/aws-cloud-controller-manager [flags]
$ helm upgrade --install aws-cloud-controller-manager aws-cloud-controller-manager/aws-cloud-controller-manager

```

Expand Down