[jdk8u-dev] RFR: 8336928: GHA: Bundle artifacts removal broken

Zdenek Zambersky zzambers at openjdk.org
Mon Aug 19 10:21:52 UTC 2024


On Fri, 16 Aug 2024 12:59:54 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>> Backport fixes code, which removes unnecessary artifacts (jdk builds), as it longer works after [JDK-8324723](https://bugs.openjdk.org/browse/JDK-8324723).
>> 
>> **Notes:**
>> - changeset is quite different form newer JDKs, because there are significant differences to GHA code
>> - in jdk 8 bundle artifacts use transient prefix instead of bundle
>> - `Display current artifacts`  and `Delete transient artifacts` steps were updated to use documented [REST API](https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28)
>> - I switched last step to use new `actions/upload-artifact/merge at v4`, which allows to turn last 3 steps into one
>> 
>> **Testing:**
>> - GHA: OK
>> - only single artifacts with resulst of all ran tests (checked) is produced, as expected on 8 (see [artifacts in summary tab](https://github.com/zzambers/jdk8u-dev/actions/runs/10375295565#artifacts))
>> - windows x86 build failures are unrelated, see: https://github.com/openjdk/jdk8u-dev/pull/555
>> - macos test failures are unrelates, see: https://github.com/openjdk/jdk8u-dev/pull/544#issuecomment-2250636257
>
> Marked as reviewed by sgehwolf (Reviewer).

@jerboaa thanks

-------------

PR Comment: https://git.openjdk.org/jdk8u-dev/pull/560#issuecomment-2296218592


More information about the jdk8u-dev mailing list