-
Notifications
You must be signed in to change notification settings - Fork 28
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
🚀 Helm Chart publish using Github Pages and actions #68
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Muhammed Hussein Karimi <[email protected]>
.github/workflows/helm-chart.yml
Outdated
git config user.email "[email protected]" | ||
|
||
- name: Run chart-releaser | ||
uses: helm/[email protected] |
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.
Does this publish the release as well right?
How do we manage when to bump the chart version? On the other openebs repos we now do this via release branches, rather than develop, allowing for some more automated and manual testing before actually releasing.
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.
Yeah
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.
Can you give me some example for that?
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.
We can mark versions as pre
(with a suffix) when it's not running on a tag
Or when running on a branch other than develop
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.
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.
For that we have to refactor the entire CI pipelines that are related to build/publish to follow the branching that we want
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.
Alright, let's do this simple approach for now and introduce branching strategy later on.
But meanwhile, am I correct to assume as soon as this is merged a new release v0.9.0 would be done? And if so, do we want to do that now, or is there anything else we might want to do before releasing that? (nothing I can think of as of now, asking just in case)
Signed-off-by: Muhammed Hussein karimi <[email protected]>
Signed-off-by: Muhammed Hussein Karimi <[email protected]>
Signed-off-by: Muhammed Hussein Karimi <[email protected]>
33ea354
to
2dc38c3
Compare
We are having a single helm chart so we don't need to include chart name Signed-off-by: Muhammed Hussein Karimi <[email protected]>
7210683
to
fd11d51
Compare
I wasn't able to rebase because of conflicts :( |
You need to resolve the conflicts when rebasing, especially since you're renaming files, you don't want to miss changes. |
Yeah, but it's a bit hard since I'm creating my PRs from my own fork In this PR I wanted to make the helm chart file structure the same as other projects and provided the yams installation option |
I think should be fine as long as you squash when merging this |
.github/workflows/helm-chart.yml
Outdated
git config user.email "[email protected]" | ||
|
||
- name: Run chart-releaser | ||
uses: helm/[email protected] |
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.
Alright, let's do this simple approach for now and introduce branching strategy later on.
But meanwhile, am I correct to assume as soon as this is merged a new release v0.9.0 would be done? And if so, do we want to do that now, or is there anything else we might want to do before releasing that? (nothing I can think of as of now, asking just in case)
Signed-off-by: Muhammed Hussein Karimi <[email protected]>
ecc20b9
to
d5d5e20
Compare
Yeah, but before that we have to merge the fstype I think Also I have created the first version of json schemas that I can push them to this branch :) |
After that I will change the helm-docs template to include how to install helm chart using the repository |
Before the release we have to also bump up the version of the project itself and create a tag from it to publish the image and bump up app version here |
266877a
to
e40acdc
Compare
e40acdc
to
257e5f5
Compare
Signed-off-by: Muhammed Hussein Karimi <[email protected]>
Sorry for spamming commits, It was a bit hard to solve conflict, will squash commits when merging with develop |
with: | ||
fetch-depth: 0 | ||
- uses: DeterminateSystems/nix-installer-action@v14 | ||
- uses: DeterminateSystems/magic-nix-cache-action@v8 |
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.
I think we can remove the cache, it's not doing anything at the moment and if triggers warnings in the files
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.
Yeah, let's remove that in another PR :)
If I merge this, It will create a helm chart related release So, we have to do the left things that I said or merge? |
Signed-off-by: Muhammed Hussein karimi <[email protected]>
Closes #67