-
Notifications
You must be signed in to change notification settings - Fork 5
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
HDDS-11039. Release initial version of the Helm chart #4
HDDS-11039. Release initial version of the Helm chart #4
Conversation
@adoroszlai Could you please make the following prerequisite steps to proceed with the chart release?
|
Thanks @dnskr for working on this. I think we need to discuss whether the project must vote about chart releases, and if so, automating it in Github may not be OK. |
Got it. Just for information, the pipeline releases the chart if ozone-helm-charts/charts/ozone/Chart.yaml Line 21 in 5e965d0
So, we can agree to deny |
2da21bf
to
fabfe51
Compare
Updated README files based on the assumption https://apache.github.io/ozone-helm-charts/ is used for GitHub Pages. Not sure why Test Charts workflow failed. Error message says that actions
@adoroszlai Please, let me know if I can help to proceed with the PR. |
Please open an INFRA ticket in Apache Jira to help understand why it's getting rejected. Maybe the error description is not up-to-date with the restriction. |
Started discussion at https://lists.apache.org/thread/bl1zdbkp0g92b3k02lgv9t7y18xfdqjg |
INFRA ticket created - https://issues.apache.org/jira/browse/INFRA-26018 |
@adoroszlai Could you please rerun Test Charts workflow? Action versions should be pinned now, I'll ping infra team once again if not. |
I don't see any option to re-run it, probably because it encountered |
Thanks again @dnskr for the patch. After discussion on the dev mailing list, I think we can use this automated release method. Please let me know if I should go ahead with the |
91e97df
to
767d36b
Compare
@adoroszlai Great! We can evaluate release approach later again for 1.0 and further versions. Unfortunately
Do you know what might be the reason or should I open another issue? WDYT about using git submodules workaround used in Apache Superset apache/superset#14211 ? |
According to GitHub Docs, actions can be whitelisted using glob-like pattern that only allows
It looks like the way we should move forward. |
@adoroszlai Working on it. Meanwhile, could you please have a look at whitelisted actions in Ozone and Ozone Helm Charts repos?
|
Only Infra team has access to repo settings. |
767d36b
to
bfae1e2
Compare
b9b0c1c
to
70b6443
Compare
Added git submodule add --force https://github.com/helm/chart-releaser-action .github/actions/chart-releaser-action
cd .github/actions/chart-releaser-action
git checkout a917fd15b20e8b64b94d9158ad54cd6345335584 Tested changes in fork repo:
Test the chart release
@adoroszlai Please take a look at the changes and I think we can proceed with the release. |
@dnskr |
Right, we only need to merge the PR to release the chart and make it available for users. |
Thanks @dnskr for continued efforts on this. |
Hi and thank you for the helm chart! PersistentVolumeClaim "YXZ-datanode" is invalid: spec.accessModes: Required value: at least 1 access mode is required Would it be fixed if accessModes can be set by values.yaml? And is it correct to have only one pvc for 3 instances of OM,SCM,DATANODE and S3G? |
@dnskr can you please check? @pyttel please report the issue in Jira |
Yes of cause :) I requested a login over ASF. When it is approved I will add the Ticket. |
Opened the issue HDDS-11597 |
I created the pull requests. Sorry for the delay but I needed to test a lot manually and the setup takes some time ^^ #9 There is another thing I found: Using more than 1 replicas for OM crashes. In my opinion the env variables from DOC should be applied to OM and SCM. If I'm correct I will open a new Ticket and implement the changes. |
What changes were proposed in this pull request?
The PR adds basic workflow to release Helm charts.
The release happens each time the chart version is bumped in
Chart.yaml
in themain
branch.The workflow turns current GitHub project into a self-hosted Helm chart repo and requires the following:
gh-pages
(ideally created from the initial commit) to store the published charts.gh-pages
(go to Settings/Pages and change the Source Branch).Caution! The workflow will release the initial version of the chart as soon as it's merged!
Links for more details:
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-11039
How was this patch tested?
Tested in the repository fork: