Skip to content

Source OS release information from (draft) GitHub release, not pre-prod [DI-693] - #95

Merged
JackPGreen merged 3 commits into
hazelcast:masterfrom
JackPGreen:use-github-artifacts
Oct 13, 2026
Merged

JackPGreen merged 3 commits into
hazelcast:masterfrom
JackPGreen:use-github-artifacts

Conversation

@JackPGreen

@JackPGreen JackPGreen commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

The action expects both OS & EE artifacts to be available in the pre-prod repo during package to query their filesize.

This is the case for EE - but not OS, where instead the artifacts are exclusively hosted on GitHub, initially in a draft GitHub release in the hazelcast repo, which is then published during promotion.

As a result, the fails.

Updated to - in the case of OS - identify the draft-release asset URL (e.g. something like https://github.com/hz-devops-test/hazelcast/releases/tag/untagged-625337d5ad7956e85462) and use that for artefact resolution instead.

Additionally - refactored VersionMetadata class (that had OS+EE artefacts) to be abstract with OS/EE specific implementations.

Tested locally, not in sandbox - I think easier to retest in sandbox once merged, as requires real artifacts to be built and published as a draft in the OS repo.

@JackPGreen JackPGreen self-assigned this Oct 8, 2026
@JackPGreen
JackPGreen force-pushed the use-github-artifacts branch 2 times, most recently from 772f0b3 to f5cfcd9 Compare October 9, 2026 09:32
@JackPGreen
JackPGreen marked this pull request as draft October 9, 2026 09:43
@JackPGreen
JackPGreen force-pushed the use-github-artifacts branch from f5cfcd9 to 0132084 Compare October 9, 2026 11:27
@JackPGreen
JackPGreen force-pushed the use-github-artifacts branch from 2171c4f to 9870b86 Compare October 9, 2026 11:31
@JackPGreen
JackPGreen marked this pull request as ready for review October 9, 2026 11:33

@nishaatr nishaatr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@JackPGreen
I can test this in my next sandbox run which I will be running soon

Comment thread .github/python/add-release/version_metadata.py
Comment thread .github/python/add-release/version_metadata.py
@nishaatr

Copy link
Copy Markdown
Contributor

Sonar is failing with token error
worth fixing if possible!

@JackPGreen

Copy link
Copy Markdown
Contributor Author

Sonar is failing with token error worth fixing if possible!

it's because it's a PR from a fork.

@JackPGreen
JackPGreen requested a review from nishaatr October 13, 2026 09:57
@JackPGreen
JackPGreen merged commit a896fc6 into hazelcast:master Oct 13, 2026
5 of 6 checks passed
JackPGreen added a commit that referenced this pull request Oct 15, 2026
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