Skip to content

Publish 6.14.0-hubspot-SNAPSHOT from the pom instead of SET_VERSION_OVERRIDE - #389

Merged
nhirakawa merged 2 commits into
6.14.0-hubspotfrom
fix-branch-build
Nov 16, 2026
Merged

nhirakawa merged 2 commits into
6.14.0-hubspotfrom
fix-branch-build

Conversation

@nhirakawa

Copy link
Copy Markdown
Collaborator

Blazar's privileged deploy step now refuses branch builds whose version
doesn't 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 makes
the buildpack 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 check.

…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>
@nhirakawa
nhirakawa requested a review from mbc1990 November 16, 2026 15:58
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>
@nhirakawa
nhirakawa merged commit 4192942 into 6.14.0-hubspot Nov 16, 2026
5 of 14 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.

2 participants