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

Zdenek Zambersky zzambers at openjdk.org
Mon Aug 19 10:21:53 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

This pull request has now been integrated.

Changeset: edbdf053
Author:    Zdenek Zambersky <zzambers at openjdk.org>
URL:       https://git.openjdk.org/jdk8u-dev/commit/edbdf0538df3fe764ea6a109c3e07cb145dbfe48
Stats:     41 lines in 1 file changed: 3 ins; 14 del; 24 mod

8336928: GHA: Bundle artifacts removal broken

Reviewed-by: sgehwolf
Backport-of: 98562166e4a4c8921709014423c6cbc993aa0d97

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

PR: https://git.openjdk.org/jdk8u-dev/pull/560


More information about the jdk8u-dev mailing list