Skip to content

Rewrite dockerhub_doc_config_update in Python and remove hardcoded config#903

Merged
gdams merged 1 commit into
adoptium:mainfrom
gdams:docker_generator
Apr 1, 2026
Merged

Rewrite dockerhub_doc_config_update in Python and remove hardcoded config#903
gdams merged 1 commit into
adoptium:mainfrom
gdams:docker_generator

Conversation

@gdams

@gdams gdams commented Apr 1, 2026

Copy link
Copy Markdown
Member
  • Rename config/hotspot.yml to config/temurin.yml
  • Replace dockerhub_doc_config_update.sh with a Python equivalent
  • Create shared adoptium_api module to fetch supported versions and latest LTS from https://api.adoptium.net/v3/info/available_releases
  • Use adoptium_api in both generate_dockerfiles.py and dockerhub_doc_config_update.py, eliminating duplicated version lists
  • Derive default_linux_image and default_alpine_image from the first entry in each OS family config rather than hardcoding them
  • Remove supported_distributions section from temurin.yml
  • Update CI workflow and README to reference the new Python script

@github-actions github-actions Bot 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.

A block has been put on this Pull Request as this repository is temporarily under a code freeze due to an ongoing release cycle.

If this pull request needs to be merged during the release cycle then please comment /merge and a PMC member will be able to remove the block.

If the code freeze is over you can remove this block by commenting /thaw.

…nfig

- Rename config/hotspot.yml to config/temurin.yml
- Replace dockerhub_doc_config_update.sh with a Python equivalent
- Create shared adoptium_api module to fetch supported versions and
  latest LTS from https://api.adoptium.net/v3/info/available_releases
- Use adoptium_api in both generate_dockerfiles.py and
  dockerhub_doc_config_update.py, eliminating duplicated version lists
- Derive default_linux_image and default_alpine_image from the first
  entry in each OS family config rather than hardcoding them
- Remove supported_distributions section from temurin.yml
- Update CI workflow and README to reference the new Python script
@gdams gdams force-pushed the docker_generator branch from dffcac0 to d601ca1 Compare April 1, 2026 14:14
@gdams

gdams commented Apr 1, 2026

Copy link
Copy Markdown
Member Author

/merge

@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Approval to merge during the lockdown cycle

Please can two Adoptium PMC members comment /approve?

@steelhead31 steelhead31 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good

@steelhead31

Copy link
Copy Markdown

/approve

@gdams gdams enabled auto-merge (squash) April 1, 2026 14:53
@smlambert

Copy link
Copy Markdown
Contributor

/approve

@github-actions github-actions Bot dismissed their stale review April 1, 2026 15:16

Thank you @steelhead31 and @smlambert for your approvals, this pull request is now approved to merge during release.

@gdams gdams merged commit 5813ca0 into adoptium:main Apr 1, 2026
107 checks passed
@gdams gdams deleted the docker_generator branch April 1, 2026 15:37
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.

3 participants