CircleCI-Public / cimg-openjdk

The CircleCI OpenJDK (Java) Docker Convenience Image.
https://circleci.com/developer/images/image/cimg/openjdk
MIT License
18 stars 25 forks source link

Bug Report: Automation parsing is broken due to naming convention changes #177

Closed JalexChen closed 9 months ago

JalexChen commented 11 months ago

Note: We also welcome PRs to fix bugs! This helps us take action faster where a bug has been identified!

For our official CircleCI Docker Convenience Image support policy, please see CircleCI docs.

This policy outlines the release, update, and deprecation policy for CircleCI Docker Convenience Images.


Describe the bug Adoptium changed their naming conventions, resulting in the automation unintentionally parsing a year to create update PRs. This replaces the version and build within the download URLs

build parameters are also built by the automation, but do not need to be anymore due to #156

To Reproduce

Included version updates: 2022#https://github.com/adoptium/temurin20-binaries/releases/download/jdk-2022%2B2022/OpenJDK20U-jdk_x64_linux_hotspot_2022_2022.tar.gz 

2022#https://github.com/adoptium/temurin20-binaries/releases/download/jdk-2022%2B2022/OpenJDK20U-jdk_x64_linux_hotspot_2022_2022.tar.gz

Expected behavior 1) version and build are parsed, not the year

Workarounds running this manually still works github's API should allow us more effectively parse out their release tags and download URLs

Screenshots and Build Links

Additional context Add any other context about the problem here.

JalexChen commented 9 months ago

180 closes this