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

build: INFENG-937: Publish Helm chart release candidates #10141

Merged
merged 1 commit into from
Oct 26, 2024

Conversation

davidfluck-hpe
Copy link
Contributor

Ticket

INFENG-937

Description

This changeset adds a Helm makefile target and CircleCI job to publish release candidate Determined Helm charts. This is necessary to deploy release candidates onto the new GKE cluster.

Previously, bumpversion would increment the rc version of the Helm chart, then commit this to the release branch (along with other similar version bumps). rph would then use this in-tree version of the Helm chart to upgrade the Helm release on the (old/existing) release party GKE cluster. Because we aren't managing versions on disk anymore, though, we need to install the Helm chart from somewhere else, which means we have to publish it somewhere in the first place for ArgoCD to find. This is more consistent anyway; we already publish Python package release candidates, for example.

We already publish production releases to helm.determined.ai, so this attempts to use that existing automation to publish release candidates.

Test Plan

We'll have to do this one live, unfortunately. I don't quite have the time to figure out how to modify the dryrun job to produce the results we want, especially given the additional automation that publishing Helm charts uses (GitHub Actions, specifically).

Checklist

  • Changes have been manually QA'd
  • New features have been approved by the corresponding PM
  • User-facing API changes have the "User-facing API Change" label
  • Release notes have been added as a separate file under docs/release-notes/
    See Release Note for details.
  • Licenses have been included for new code which was copied and/or modified from any external code

Add Helm makefile and CircleCI job to publish Helm chart release
candidates. This is necessary to properly deploy release candidates onto
the new release party cluster. Previously, bumpversion adjusted the
chart version in Chart.yaml and committed that to the release branch,
then rph used this in-tree version as a chart repository to do GKE
cluster upgrades during testing. This is no longer possible, though, so
we need to publish these release candidate versions. (We should probably
be doing this anyway, in the interest of transparency.)

This will create an additional GitHub release every time we cut a
release candidate.
Copy link

codecov bot commented Oct 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.71%. Comparing base (782f7a0) to head (16a3493).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10141      +/-   ##
==========================================
- Coverage   54.71%   54.71%   -0.01%     
==========================================
  Files        1266     1266              
  Lines      159970   159970              
  Branches     3662     3662              
==========================================
- Hits        87525    87524       -1     
- Misses      72312    72313       +1     
  Partials      133      133              
Flag Coverage Δ
backend 46.01% <ø> (-0.01%) ⬇️
harness 72.56% <ø> (ø)
web 54.30% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

Copy link

netlify bot commented Oct 26, 2024

Deploy Preview for determined-ui ready!

Name Link
🔨 Latest commit 16a3493
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/671d15cecb1d530008ed49f0
😎 Deploy Preview https://deploy-preview-10141--determined-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@davidfluck-hpe davidfluck-hpe merged commit 00870f5 into main Oct 26, 2024
86 of 98 checks passed
@davidfluck-hpe davidfluck-hpe deleted the INFENG-937-publish-helm-rcs branch October 26, 2024 19:11
thiagodallacqua-hpe pushed a commit that referenced this pull request Oct 28, 2024
INFENG-937: Publish Helm RCs

Add Helm makefile and CircleCI job to publish Helm chart release
candidates. This is necessary to properly deploy release candidates onto
the new release party cluster. Previously, bumpversion adjusted the
chart version in Chart.yaml and committed that to the release branch,
then rph used this in-tree version as a chart repository to do GKE
cluster upgrades during testing. This is no longer possible, though, so
we need to publish these release candidate versions. (We should probably
be doing this anyway, in the interest of transparency.)

This will create an additional GitHub release every time we cut a
release candidate.
thiagodallacqua-hpe pushed a commit that referenced this pull request Oct 28, 2024
INFENG-937: Publish Helm RCs

Add Helm makefile and CircleCI job to publish Helm chart release
candidates. This is necessary to properly deploy release candidates onto
the new release party cluster. Previously, bumpversion adjusted the
chart version in Chart.yaml and committed that to the release branch,
then rph used this in-tree version as a chart repository to do GKE
cluster upgrades during testing. This is no longer possible, though, so
we need to publish these release candidate versions. (We should probably
be doing this anyway, in the interest of transparency.)

This will create an additional GitHub release every time we cut a
release candidate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant