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

Zdenek Zambersky zzambers at openjdk.org
Wed Aug 14 12:10:23 UTC 2024


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
- 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
- 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

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

Commit messages:
 - Backport 98562166e4a4c8921709014423c6cbc993aa0d97

Changes: https://git.openjdk.org/jdk8u-dev/pull/560/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=560&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8336928
  Stats: 41 lines in 1 file changed: 3 ins; 14 del; 24 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/560.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev.git pull/560/head:pull/560

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


More information about the jdk8u-dev mailing list