Repository navigation
Publish 6.14.0-hubspot-SNAPSHOT from the pom instead of SET_VERSION_OVERRIDE - #389
Merged
Merged
Conversation
…ON_OVERRIDE` Blazar's privileged deploy step now refuses branch builds whose version does not end in `-<branch>-SNAPSHOT`. `SET_VERSION_OVERRIDE: $GIT_BRANCH-SNAPSHOT` yields exactly `<branch>-SNAPSHOT`, so every build of this repo was refused, including `6.14.0-hubspot`. HubSpotEngineering/Buildpacks#3152 exempts `6.14.0-hubspot`, which causes the buildpack to skip version munging on that branch. The poms therefore need to carry the version `parent-pom` pins (`6.14.0-hubspot-SNAPSHOT`) themselves; otherwise the build would try to deploy the release version `6.14.0`. Dropping `SET_VERSION_OVERRIDE` lets other branches fall back to the buildpack default (`1.0-<branch>-SNAPSHOT`), which passes the new check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The `provides` version mirrored `SET_VERSION_OVERRIDE: $GIT_BRANCH-SNAPSHOT`, which the previous commit removed. On every branch except `6.14.0-hubspot` it now advertises `<branch>-SNAPSHOT`, while the build actually publishes `1.0-<branch>-SNAPSHOT`. Nothing depends on it: no `.blazar.yaml` declares `depends` on `kubernetes-client`, and Java consumers are already linked through the provides Blazar discovers from the poms. Blazar's provides names are global rather than per-repo, so a generic name like `kubernetes-client` could also match an unrelated module's `depends` by accident. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mbc1990
approved these changes
Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Blazar's privileged deploy step now refuses branch builds whose version
doesn't end in
-<branch>-SNAPSHOT.SET_VERSION_OVERRIDE: $GIT_BRANCH-SNAPSHOTyields exactly<branch>-SNAPSHOT, so every buildof this repo was refused, including
6.14.0-hubspot.HubSpotEngineering/Buildpacks#3152 exempts
6.14.0-hubspot, which makesthe buildpack skip version munging on that branch. The poms therefore
need to carry the version
parent-pompins (6.14.0-hubspot-SNAPSHOT)themselves; otherwise the build would try to deploy the release version
6.14.0.Dropping
SET_VERSION_OVERRIDElets other branches fall back to thebuildpack default (
1.0-<branch>-SNAPSHOT), which passes the check.