Skip to content

Conversation

@onelapahead
Copy link
Contributor

@onelapahead onelapahead commented Dec 13, 2021

Closes #271.

Helm offers the ability to publish and download charts via OCI registries AKA docker images.

This PR modifies the existing Helm workflow to publishes the latest chart version to GHCR underneath the ghcr.io/hyperledger/helm/firefly package (vs. the FireFly docker image being published under ghcr.io/hyperledger/firefly.) whenever there is a merge to main that changes either the chart files or workflow.

If a tag / GH release is made prefixed w/ helm-v*, and it matches the chart's current version, then an official semver release is published to GHCR.

Lastly, this includes some minor changes to the values, has the chart use the latest FireFly release, and overhauls the chart README so that folks can get started using the chart. See https://github.com/kaleido-io/firefly/tree/helm-oci-chart-publishing/deploy/charts/firefly for a preview of the README. The format of the chart README is inspired by other community charts like https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack and https://github.com/kubernetes/ingress-nginx/tree/main/charts/ingress-nginx.

@codecov-commenter
Copy link

codecov-commenter commented Dec 13, 2021

Codecov Report

Merging #359 (174bc6a) into main (e603455) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #359   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          239       239           
  Lines        12886     12886           
=========================================
  Hits         12886     12886           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e603455...174bc6a. Read the comment docs.

@onelapahead onelapahead force-pushed the helm-oci-chart-publishing branch from 434b617 to f427940 Compare December 26, 2021 14:39
Signed-off-by: hfuss <haydenfuss@gmail.com>
…support for older ingressses

Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
…ereum

Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
Signed-off-by: hfuss <haydenfuss@gmail.com>
@onelapahead onelapahead force-pushed the helm-oci-chart-publishing branch from dc1a15b to 4c078fd Compare December 31, 2021 20:40
Signed-off-by: hfuss <haydenfuss@gmail.com>
@onelapahead onelapahead changed the title [helm] WIP: Publishing Helm Chart to GHCR via OCI [helm] Publishing Helm Chart to GHCR via OCI Dec 31, 2021
@onelapahead onelapahead marked this pull request as ready for review December 31, 2021 20:49
steps:
- uses: actions/checkout@v2

- name: Filter Helm Releases
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will want @nguyer's input on this. This assumes we might make separate GH releases for the chart itself, and so we needed a way to prevent the Docker image from being re-published if that was done.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hayden and I chatted about this. I'm fine with this being in the GitHub Action for now, but I think I'd like to have further discussion about creating "Releases" in GitHub for the Helm chart. I'm not convinced that we want releases for multiple different things on the GitHub release page just yet.

@onelapahead onelapahead mentioned this pull request Jan 3, 2022
4 tasks
Copy link
Contributor

@drewmarshburn drewmarshburn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Love the detailed README, was super helpful and I think it'll really help get adoption.

steps:
- uses: actions/checkout@v2

- name: Filter Helm Releases
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hayden and I chatted about this. I'm fine with this being in the GitHub Action for now, but I think I'd like to have further discussion about creating "Releases" in GitHub for the Helm chart. I'm not convinced that we want releases for multiple different things on the GitHub release page just yet.

@nguyer nguyer merged commit 4f43903 into hyperledger:main Jan 4, 2022
@nguyer nguyer deleted the helm-oci-chart-publishing branch January 4, 2022 21:03
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.

Helm Repo for FireFly Chart(s)

4 participants