Skip to content

Conversation

fidencio
Copy link
Member

Let's take advantage that helm take and OCI registry as the charts, and upload our charts to the OCI registries we've been using so far.

NOTE: I'd like to ask someone from the @kata-containers/architecture-committee on what's the best way to try this out before the release, before it gets merged.. :-)

@katacontainersbot katacontainersbot added the size/small Small and simple task label May 12, 2025
release_version=$(./tools/packaging/release/release.sh release-version)
helm push kata-deploy-${release_version}.tgz oci://quay.io/kata-containers/kata-deploy-charts
helm push kata-deploy-${release-version}.tgz oci://docker.io/katadocker/kata-deploy-charts
helm push kata-deploy-${release-version}.tgz oci://ghcr.io/kata-containers/kata-deploy-charts
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we pushing to three different repos? Which should we use for the official release documentation?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's a very good question.

  • dockerhub: was the first one used
  • quay.io: I've created that one as dockerhub had the rate limit
  • ghcr.io Came up later, and I think we should use this one, but our kata-deploy releases go to both quay.io and docker.io

I'd stick to ghcr.io if possible, for the helm charts.

Copy link
Member

@stevenhorsman stevenhorsman May 13, 2025

Choose a reason for hiding this comment

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

Yeah, I think we are currently mostly using quay.io for release (and nightly) artifacts and ghcr.io for CI artifacts. It would be good to standardise on a single place and I guess that ghcr.io makes the most sense, but maybe publishing to all three is the pragmatic step for now until we have a better strategy? However if we are going to pick one then I guess ghcr is the most likely strategic direction I see?

Copy link
Contributor

Choose a reason for hiding this comment

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

For ghcr.io we do not have to save additional secrets. But having three directories in the documentation will confuse people, so I would say stick to ghcr.io in the public documentation?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, please, stick to ghcr.io in the public documentatiom.

Comment on lines 204 to 206
helm push kata-deploy-${release_version}.tgz oci://quay.io/kata-containers/kata-deploy-charts
helm push kata-deploy-${release-version}.tgz oci://docker.io/katadocker/kata-deploy-charts
helm push kata-deploy-${release-version}.tgz oci://ghcr.io/kata-containers/kata-deploy-charts
Copy link
Member

Choose a reason for hiding this comment

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

I think action-lint wants this change:

Suggested change
helm push kata-deploy-${release_version}.tgz oci://quay.io/kata-containers/kata-deploy-charts
helm push kata-deploy-${release-version}.tgz oci://docker.io/katadocker/kata-deploy-charts
helm push kata-deploy-${release-version}.tgz oci://ghcr.io/kata-containers/kata-deploy-charts
helm push "kata-deploy-${release_version}.tgz" oci://quay.io/kata-containers/kata-deploy-charts
helm push "kata-deploy-${release-version}.tgz" oci://docker.io/katadocker/kata-deploy-charts
helm push "kata-deploy-${release-version}.tgz" oci://ghcr.io/kata-containers/kata-deploy-charts

@stevenhorsman
Copy link
Member

NOTE: I'd like to ask someone from the @kata-containers/architecture-committee on what's the best way to try this out before the release, before it gets merged.. :-)

Is test it live not our usual approach? 🙃

@fidencio fidencio force-pushed the topic/helm-to-ci branch from b2f16b1 to 3519e74 Compare May 14, 2025 18:10
Copy link
Contributor

@zvonkok zvonkok left a comment

Choose a reason for hiding this comment

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

LGTM, as discussed we're sticking with ghcr.io as the OCI registry for the documentation

Let's take advantage that helm take and OCI registry as the charts, and
upload our charts to the OCI registries we've been using so far.

Signed-off-by: Fabiano Fidêncio <fidencio@northflank.com>
@fidencio fidencio force-pushed the topic/helm-to-ci branch from 3519e74 to 71e8c1b Compare May 14, 2025 18:20
Copy link
Member

@stevenhorsman stevenhorsman left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@stevenhorsman
Copy link
Member

This is a release workflow change, so we have no way of testing it (eek), and the gatekeeper run is green, so we'll need to use admin rights to get this merged.

@stevenhorsman stevenhorsman merged commit 95e5e0e into kata-containers:main May 15, 2025
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/small Small and simple task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants