Skip to content
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

Add Helm CD for linting PRs and releasing charts #3398

Merged
merged 1 commit into from
Dec 12, 2021

Conversation

jonkerj
Copy link
Contributor

@jonkerj jonkerj commented Dec 3, 2021

chart-releaser-action creates chart tarballs, puts them under releases, and maintains a file index.yaml in branch gh-pages, which refers to these tgz release files.

helm/chart-releaser-action maintains a file `index.yaml` in branch
`gh-pages`, which refers to the chart tgz release files.
@jonkerj
Copy link
Contributor Author

jonkerj commented Dec 3, 2021

OK, it was kind of tricky to test, because:

  • The CD workflow needs to be in the default branch (ie, master)
  • The workflow is only triggered by changes in chart/**

So, what I did:

  1. I forked the repo (actually, already had a fork to create this PR)
  2. merged the branch into master (so the CD action was in place)
  3. changed something bogus under chart/, committing it into master
  4. Observed a helm-release was cut out
  5. Branched master, changed something bogus again, create a PR
  6. Observed that the chart was getting linted

image

image

@jcchavezs
Copy link
Contributor

jcchavezs commented Dec 3, 2021 via email

@jcchavezs
Copy link
Contributor

quick question, what would be the url to get the charts through helm? Do you mind adding a readme for that?

@jcchavezs jcchavezs merged commit d9235b9 into openzipkin:master Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants