Skip to content

Add release guardrail ensuring OSP versions match the git tag - #666

Merged
kubermatic-bot merged 4 commits into
kubermatic:mainfrom
buraksekili:osp-release-version-guardrail
Nov 18, 2026
Merged

kubermatic-bot merged 4 commits into
kubermatic:mainfrom
buraksekili:osp-release-version-guardrail

Conversation

@buraksekili

@buraksekili buraksekili commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Adds hack/verify-osp-versions.sh and runs it from docker-image-publish on semantic-version tags (v1.2.3, v1.12.0-rc.1), failing the publish when any OSP in deploy/osps/default/ carries a version that differs from the tag; other tags and untagged builds are ignored. Release v1.11.6 shipped OSPs stamped v1.11.5 because nothing checked this.

Which issue(s) this PR fixes:

What type of PR is this?
/kind feature

Special notes for your reviewer:

Does this PR introduce a user-facing change? Then add your Release Note here:

NONE

Documentation:

NONE

@kubermatic-bot kubermatic-bot added docs/none Denotes a PR that doesn't need documentation (changes). release-note-none Denotes a PR that doesn't merit a release note. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/feature Categorizes issue or PR as related to a new feature. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. labels Oct 8, 2026
@kubermatic-bot

Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@kubermatic-bot kubermatic-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Oct 8, 2026
Signed-off-by: Burak Sekili <32663655+buraksekili@users.noreply.github.com>
Signed-off-by: Burak Sekili <32663655+buraksekili@users.noreply.github.com>
Signed-off-by: Burak Sekili <32663655+buraksekili@users.noreply.github.com>
@buraksekili
buraksekili force-pushed the osp-release-version-guardrail branch from dbf37b7 to 63ea14e Compare November 18, 2026 15:55
@buraksekili
buraksekili marked this pull request as ready for review November 18, 2026 16:29
@kubermatic-bot kubermatic-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 18, 2026
Comment thread hack/verify-osp-versions.sh Resolved
Signed-off-by: Burak Sekili <32663655+buraksekili@users.noreply.github.com>

@kron4eg kron4eg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/approve

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 18, 2026
@kubermatic-bot

Copy link
Copy Markdown
Contributor

LGTM label has been added.

DetailsGit tree hash: 4c9408b6b737ec5851d31e5a2c863a3726a228a4

@kubermatic-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kron4eg

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubermatic-bot kubermatic-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 18, 2026
@kubermatic-bot
kubermatic-bot merged commit c881ab1 into kubermatic:main Nov 18, 2026
13 checks passed
@buraksekili

Copy link
Copy Markdown
Contributor Author

/cherrypick release/v1.11

@buraksekili

Copy link
Copy Markdown
Contributor Author

/cherrypick release/v1.10

@buraksekili

Copy link
Copy Markdown
Contributor Author

/cherrypick release/v1.8

@kubermatic-bot

Copy link
Copy Markdown
Contributor

@buraksekili: new pull request created: #694

Details

In response to this:

/cherrypick release/v1.11

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kubermatic-bot

Copy link
Copy Markdown
Contributor

@buraksekili: failed to push cherry-picked changes in GitHub: error pushing "cherry-pick-666-to-release/v1.10": exit status 1 remote:
remote: Create a pull request for 'cherry-pick-666-to-release/v1.10' on GitHub by visiting:
remote: https://github.com/kubermatic-bot/operating-system-manager/pull/new/cherry-pick-666-to-release/v1.10
remote:
To https://github.com/kubermatic-bot/operating-system-manager
! [remote rejected] cherry-pick-666-to-release/v1.10 -> cherry-pick-666-to-release/v1.10 (failed)
error: failed to push some refs to 'https://github.com/kubermatic-bot/operating-system-manager'

Details

In response to this:

/cherrypick release/v1.10

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kubermatic-bot

Copy link
Copy Markdown
Contributor

@buraksekili: new pull request created: #695

Details

In response to this:

/cherrypick release/v1.8

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@buraksekili

Copy link
Copy Markdown
Contributor Author

/cherrypick release/v1.10

@kubermatic-bot

Copy link
Copy Markdown
Contributor

@buraksekili: new pull request created: #696

Details

In response to this:

/cherrypick release/v1.10

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. docs/none Denotes a PR that doesn't need documentation (changes). kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants