code-server icon indicating copy to clipboard operation
code-server copied to clipboard

Serve helm chart more idiomatically

Open nhooyr opened this issue 5 years ago • 15 comments

See https://github.com/cdr/code-server/pull/2048#issuecomment-724951228

nhooyr avatar Nov 13 '20 21:11 nhooyr

Instead of GH pages, we can push to https://artifacthub.io

nhooyr avatar Nov 13 '20 21:11 nhooyr

@nhooyr is this to be picked up internally due to the dependence on ArtifactHub or are you looking for people to contribute to the CI/GitHub Actions element?

Matthew-Beckett avatar Nov 13 '20 23:11 Matthew-Beckett

So re artifact hub looks like I was wrong, we still need to host our own helm repository.

I think this is best handled internally. I'll try to get this done for the next release.

nhooyr avatar Nov 16 '20 15:11 nhooyr

Anything we (the community) can do to push this along?

maxirus avatar Oct 12 '21 00:10 maxirus

Good question! So I am not too familiar with helm chart, not sure exactly how I can help. Any ideas @jawnsy? (apologies for the lack of context, I know just about as much as you in terms of what this is, but you have Helm experience I believe)

jsjoeio avatar Oct 27 '21 23:10 jsjoeio

@jsjoeio My suggestion would be to use ArtifactHub. You'll need to create an Account/Organization. The Docs are located here and it's fairly simple to setup.

maxirus avatar Oct 28 '21 01:10 maxirus

            LitigationsSent using the mobile mail appOn 10/27/21 at 6:23 PM, Dan wrote:
            
        
        
            
                From: "Dan" ***@***.***>Date: October 27, 2021To: "cdr/code-server" ***@***.***>Cc: "Subscribed" ***@***.***>Subject: Re: [cdr/code-server] Serve helm chart more idiomatically (#2302)

@jsjoeio My suggestion would be to use ArtifactHub. You'll need to create an Account/Organization. The Docs are located here and it's fairly simple to setup.

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

knobArtIntel avatar Oct 28 '21 05:10 knobArtIntel

Hi @maxirus

Thank you for your interest in finally clearing this issue from the backlog!

Hopefully I can set you on the right track to getting this resolved and making it easier than ever to install the Helm chart.

As you mentioned, the first thing we'll need is a method of hosting the charts. Really this decision needs to be made by someone like @jsjoeio as it may affect commercials due to hosting costs.

I would first settle on a distribution method, be that Artifactory, ArtifactHub or ChartMuseum what ever, once we all agree. I'd PR changes to the pipelines to support publishing based on Git Refs to said repository.

I guess if we get to that point we can we review where we're up to and decide the next steps.

Hope this helps, if you have any questions don't hesitate to ask me!

Matthew-Beckett avatar Oct 28 '21 11:10 Matthew-Beckett

Stop please

Sent from my iPhone

On Oct 28, 2021, at 4:43 AM, Matthew Beckett @.***> wrote:

 Hi @maxirus

Thank you for your interest in finally clearing this issue from the backlog!

Hopefully I can set you on the right track to getting this resolved and easier than every to install the Helm chart.

As you mentioned, the first thing we'll need is a method of hosting the charts. Really this decision needs to be made by some like @jsjoeio as it may affect commercials due to hosting costs.

I would first settle on a distribution method, be that Artifactory or ChartMuseum what ever, once all agreee. I'd PR changes to the pipelines to support publishing based on Git Refs.

I guess if we get to that point we can we review where we're up to and decide the next steps.

Hope this helps, if you have any questions don't hesitate to ask me!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

knobArtIntel avatar Oct 28 '21 12:10 knobArtIntel

Thank you all for the context! Super helpful. We have some higher priorities but I've added it to the next milestone (after this one) so we'll tackle it together then.

jsjoeio avatar Oct 28 '21 21:10 jsjoeio

You can use GitHub actions to build the chart automatically and host it on this repo's gh-pages branch, there is no need for another service. It's super simple, here is a sample repo that uses this setup.

Let me know if I can help.

jgillich avatar Jan 04 '22 00:01 jgillich

Oh wow, good to know! Thanks for the links and offering to help. When we tackle this, we may add you as a PR reviewer if that's okay

jsjoeio avatar Jan 04 '22 18:01 jsjoeio

Any updates on this? Not sure if this chart is official or not, but it is quite out of date when compared to the Chart version in this git repo (1.0.3 vs 2.0.1 for Chart, 3.10.2 vs 4.0.2 for Application). Having a "real" Helm repository to refer to would make gitops deployments much easier.

geraldwuhoo avatar Feb 10 '22 08:02 geraldwuhoo

Hello,

Do we have any news on that issue?

anthosz avatar Sep 15 '25 19:09 anthosz

No plans on changing anything with the Helm chart at the moment.

code-asher avatar Sep 15 '25 20:09 code-asher

Proposal: Publish the Helm chart to an OCI registry (e.g., GitHub Container Registry) to enable direct installation.

Example pipeline

name: Publish Helm Chart

jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Login to GHCR
        run: echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io -u ${{ github.actor }} --password-stdin
      
      - name: Package and Push Chart
        run: |
          helm package ./ci/helm-chart
          helm push code-server-*.tgz oci://ghcr.io/${{ github.repository_owner }}/charts

egvimo avatar Dec 15 '25 19:12 egvimo