setup-java icon indicating copy to clipboard operation
setup-java copied to clipboard

add support for artifact proxy repositories

Open kacamific opened this issue 3 years ago • 2 comments

Description: This change supports teams that have configured their self-managed runners without internet access. They are proxying all the necessary public repositories via platforms like JFrog, Nexus etc. This can support especially teams that are using GHES.

I am proposing to add three inputs to action.yml 1- base url of the platform that is proxying the remote repositories 2- the download link that needs to be rewritten so the java binaries are download from this platforms 3- a context which might be necessary to build a proper download link. This might be necessary because the URL of the metadata.json file is different from the URL of the download link and the assumption is that teams have only one platform to proxy the remote repositores.

Related issue:

Check list:

  • [ x] Mark if documentation changes are required.
  • [ x] Mark if tests were added or updated to cover the changes.

kacamific avatar Dec 22 '22 14:12 kacamific

@marko-zivic-93 Any feedback on this PR?

kuhlman-labs avatar Jun 02 '23 13:06 kuhlman-labs

Hi, @kuhlman-labs 👋 We will investigate it and get back with our feedback.

IvanZosimov avatar Jun 05 '23 09:06 IvanZosimov