jellyfin / jellyfin-helm

Kubernetes Helm Chart for Jellyfin
GNU General Public License v2.0
25 stars 18 forks source link

Helm improvements and publishing #19

Closed Supporterino closed 2 months ago

Supporterino commented 2 months ago

Hey there,

after some quick chatting in matrix, I took a quick look over the jellyfin helm chart and made some improvements to the workflows and releasing of the chart. The following things have changed:

Some things can't be worked out in a fork so here is a list of TODOs before/while merging this PR.

Caveats of the current release process is that if you want to create a standalone release you have to create a tag with the command line and push it since the GitHub Release gets created by chart releaser and can't be present during the action run.

Supporterino commented 2 months ago

@crobibero yes that is the plan that once you release the docker container a new chart version is fully released.

I will check the pipeline error later. Had no chance to really test in the fork

Supporterino commented 2 months ago

@crobibero The PR workflow should work now

crobibero commented 2 months ago

@Supporterino ci still failed

Supporterino commented 2 months ago

@crobibero Alright had to move the documentation step to push on master to avoid issues with permissions when a PR comes from a forked repository but should work either way. Since only PR should trigger commit on master and version updates don't need documentation updates.

Supporterino commented 2 months ago

@crobibero The additional steps in the PR description still need to be done. Otherwise the actions will run into erorrs. If you are looking for someone to maintain this repo I would be open to help

crobibero commented 2 months ago

@Supporterino Does the gh-pages branch need to contain anything specific? I created an empty one thinking that the action would build something and push to that branch.

Supporterino commented 2 months ago

@crobibero yes it should be empty but present. The chart releaser will push to it. Have you implemented the trigger on the docker build side ? If not you could also trigger the Bump workflow now with the new jellyfin version. If the old releases and tags are removed

crobibero commented 2 months ago

https://github.com/jellyfin/jellyfin-helm/actions/runs/10773970978/job/29874940483

That's what I did but the run failed because Chart.yaml didn't exist

Supporterino commented 2 months ago

@crobibero just saw that. Give me a moment I will open a PR with the fix

Supporterino commented 2 months ago

@crobibero https://github.com/jellyfin/jellyfin-helm/pull/22 should fix it

crobibero commented 2 months ago

@Supporterino Got further 😄 https://github.com/jellyfin/jellyfin-helm/actions/runs/10774194377/job/29875676149

Supporterino commented 2 months ago

@crobibero My bad missed one path :) https://github.com/jellyfin/jellyfin-helm/pull/23 fixes it

Supporterino commented 2 months ago

@crobibero found another bug which needs a new token to push changes otherwise the release pipeline is not triggered. Check https://github.com/jellyfin/jellyfin-helm/pull/24 A Org PAT with push access should work