Comments (5)
This would be an excellent workflow for my use case. I develop my charts in a monorepo with most of the application's source code; I'd like to have an action which releases the chart from that repo, saving it to a shared charts
repo for my organization.
@sagikazarmark did you figure out a strategy for releasing charts from multiple projects into another repo?
from chart-releaser-action.
Alternative of releasing charts from other repo can be gather releases from several github repos to a single Helm repo index.
For example, here https://github.com/300481/seafile-server we have a separate git repo for seafile-server
chart with it's own releases and similar https://github.com/300481/shield with shield
.
And instead of publishing all release archives to https://github.com/300481/charts repo as files (as done now) - we can generate index.yaml file with urls like:
https://github.com/300481/seafile-server/archive/refs/tags/0.5.0.tar.gz
instead of
https://300481.github.io/charts/seafile-0.5.0.tgz
This way will keep external git repo as main source of code and releases, and convert Helm charts
repo to only aggregator of needed charts, without storing duplicates of sources and release archives for each included chart.
And here is my feature request for this feature: #104
What do you think about this idea?
from chart-releaser-action.
I've invented a good workaround for this task using git submodules, and seems it works well:
Here https://github.com/murz-helm-charts/murz-helm-charts/tree/main/charts the matrix-hookshot
is a git submodule that linked to external git repository.
So before running releaser action we need to download all submodules via additional step: https://github.com/murz-helm-charts/murz-helm-charts/blob/main/.github/workflows/release.yml
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
+ git submodule update --init
And all works well. As result I can have separate git repos for each chart, and one Helm repo with all releases.
Not such good as keeping releases in original repo, but much better than have one large monorepo mess...
from chart-releaser-action.
Honestly, I think this is going to become less important once OCI support in Helm becomes stable (already happened in 3.8) and registries, like GHCR start supporting other artifact types: github/roadmap#122
The latter has been delayed, but hopefully they will bump the priority, now that Helm OCI support is stable. If not, we can always use low-cost alternatives.
from chart-releaser-action.
I would also love to have a way to keep my charts in their own individual git repositories
from chart-releaser-action.
Related Issues (20)
- Add skip-packaging option
- Missing permission in README example HOT 4
- Cannot push index to gh-pages branch HOT 2
- git fetch don't work as expect during the calculation of the release
- Why release with tgz instead of putting them in gh-pages branch? HOT 1
- Does not seem to work when running locally with act
- add an option to override package path
- How to add notes to release archive? HOT 4
- How to force trigger an initial release? HOT 2
- Flag --charts-repo is deprecated HOT 2
- skip_packaging input isn't working
- where is tgz file? HOT 1
- Error: could not find : no matching version HOT 1
- Skip packaging option value HOT 1
- Values table output broken due to unescaped pipe HOT 1
- Feature request: single chart repository with chart files in repository root HOT 2
- Ignore change of directories or files in chart directory
- `charts_repo_url` is outdated? HOT 5
- cr index does not remove old releases that no longer exist. HOT 1
- Add flag package-with-index HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chart-releaser-action.