[jdk8u-dev] RFR: 8336928: GHA: Bundle artifacts removal broken
Severin Gehwolf
sgehwolf at openjdk.org
Fri Aug 16 13:02:55 UTC 2024
On Wed, 14 Aug 2024 12:03:56 GMT, Zdenek Zambersky <zzambers 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).
-------------
PR Review: https://git.openjdk.org/jdk8u-dev/pull/560#pullrequestreview-2242661077
More information about the jdk8u-dev
mailing list