Skip to content

[mlrun] Add manual bump workflow#1146

Merged
liranbg merged 1 commit into
v3io:developmentfrom
liranbg:bump-mlrun
May 27, 2026
Merged

[mlrun] Add manual bump workflow#1146
liranbg merged 1 commit into
v3io:developmentfrom
liranbg:bump-mlrun

Conversation

@liranbg

@liranbg liranbg commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Description

Adds .github/workflows/bump-mlrun.yml, a manually-dispatched workflow that takes a desired MLRun version (e.g. 1.10.3) and a chart bump level (patch / minor / major), then opens a PR against development with the corresponding chart update.

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove irrelevant fields.]

  • Chart Version bumped
  • Title of the PR starts with chart name (e.g. [mychartname])

What it does

  • Validates the input version is a x.y.z semver.
  • Bumps stable/mlrun/Chart.yaml version (per chart bump level) and appVersion (to the input).
  • Rewrites the three mlrun image tags in stable/mlrun/values.yaml (mlrun-api, log-collector, mlrun-ui) using targeted sed so the diff is minimal and matches the style of prior manual bump PRs (e.g. [mlrun] bump mlrun to 1.10.0 #1118, [mlrun] bump mlrun to 1.10.1 #1130, [mlrun] bump mlrun to 1.10.2 #1134).
  • Commits to a deterministic branch bump-mlrun-<version> and force-pushes it.
  • Creates a PR against development, or skips PR creation if one is already open for the branch (so re-runs just update the branch).
  • Bails out with a clear error if the bump produces no diff (i.e. mlrun is already at that version).

Re-run behavior

The branch name is deterministic per version, so re-dispatching for the same version overwrites the topic branch and either updates the existing PR or — if no PR exists yet — creates one.

Validation

Smoke-tested locally with act (with gh and git push stubbed). All steps succeed and produce the expected 5-line diff (Chart.yaml: version, appVersion; values.yaml: three tag lines).

Adds a workflow_dispatch GitHub Action that bumps the mlrun chart's
appVersion and image tags to a chosen MLRun version, bumps the chart's
own version (patch/minor/major), opens a PR against development.

The workflow is idempotent on re-runs: re-running for the same version
force-pushes the topic branch and skips PR creation if one is already
open for it.
@liranbg liranbg merged commit 47dec35 into v3io:development May 27, 2026
22 checks passed
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.

1 participant