-
Notifications
You must be signed in to change notification settings - Fork 767
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
Add github action to release helm charts #35
Add github action to release helm charts #35
Conversation
400771b
to
554afc5
Compare
Signed-off-by: Yonatan Kahana <yonatankahana.il@gmail.com>
554afc5
to
f44ac23
Compare
I'm not sure if I have permission to create a new branch, will try. Also will need make sure the gh-pages branch gets marked unprotected so that the action has permission to write to it (obviously github action cannot sign a cla): |
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "$GITHUB_ACTOR@users.noreply.github.com" | ||
|
||
- name: Install Helm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this part unnecessary, chart releaser action should be enough like at https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/.github/workflows/helm-chart-release.yaml#L22
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
excellent, i deleted that.
Signed-off-by: Yonatan Kahana <yonatankahana.il@gmail.com>
follow: kubernetes/test-infra#20453 |
Was able to push in the gh-pages branch. @yonatankahana @wongma7 - please check if you would like to modify/update the default index.md with any further information. |
i have left 2 cosmetics comments and 1 important comment about the readme location. edit: |
Signed-off-by: kmova <kiran.mova@mayadata.io>
@yonatankahana - just wondering if we should keep the charts in the following location => The chart release can be configured with a custom directory as follows: https://github.com/openebs/node-disk-manager/blob/master/.github/workflows/release-charts.yml#L33 |
I always prefer to stick with as many defaults as possible, it leads to conventions. If everyone uses the default it will be easier for the user to find what they are looking for because it will be the same in every (git as helm) repositories. tl;dr |
@yonatankahana, I agree with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kmova, yonatankahana The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Add github action to create chart releases automatically once the chart version is bumped.
After this PR and creation of orphan branch named
gh-pages
- this repository could be used inhelm repo add
command.helm repo add nfs-subdir-external-provisioner https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner/
For example, my fork can be used:
To create the
gh-pages
branch use:git checkout --orphan gh-pages
.