Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Zulu in GH actions #6988

Closed
wants to merge 1 commit into from
Closed

Using Zulu in GH actions #6988

wants to merge 1 commit into from

Conversation

carldea
Copy link

@carldea carldea commented Aug 26, 2021

What is it?

  • Bugfix (user facing)
  • Feature (user facing)
  • Codebase improvement (dev facing)
  • Meta improvement to the project (dev facing)

Description of the changes in your PR

  • The CI build workflow uses Zulu as its setup-java version distribution. AdoptOpenJDK is discontinued.

Before/After Screenshots/Screen Record

  • Before: N/A
  • After: N/A

Fixes the following issue(s)

Due diligence

Switched the GH action setup-java distribution to use Zulu. The AdoptOpenJDK is discontinued as of July 2021.

Zulu OpenJDK builds are TCK tested and has all up to date versions available. 
:-)
@triallax
Copy link
Contributor

triallax commented Aug 26, 2021

https://github.com/actions/setup-java#supported-distributions

Adopt OpenJDK got moved to Eclipse Temurin and won't be updated anymore. It is highly recommended to migrate workflows from adopt to temurin to keep receiving software and security updates.

Any reason not to use temurin? I don't have anything against zulu; I'm just wondering why we should ignore their recommendation. :)

Edit: also, please fill in the template properly.

@triallax triallax added the CI Everything related to CI (Continuous integration) label Aug 26, 2021
@litetex
Copy link
Member

litetex commented Aug 26, 2021

I would also not recommend using zulu as already discussed in #6360

@XiangRongLin
Copy link
Collaborator

Also please write meaningful commit messages and PR titles.

Switched the GH action setup-java distribution to use Zulu

Does tell me what changed

Update to ci.yml

Does not

@geertjanw
Copy link

I would also not recommend using zulu as already discussed in #6360

AdoptOpenJDK does not exist anymore.

@triallax
Copy link
Contributor

@geertjanw https://github.com/actions/setup-java#supported-distributions

Adopt OpenJDK got moved to Eclipse Temurin and won't be updated anymore.

Indeed it does not exist anymore, but zulu is not the only alternative.

@geertjanw
Copy link

geertjanw commented Aug 27, 2021

Well, here's one reason to use Zulu: if you had been using Zulu all along, instead of Adopt, you wouldn't now need to think about an alternative. You'd simply still be using Zulu, without any change needed, and your CI/CD pipeline would have continued on as normal. :-)

@triallax
Copy link
Contributor

@geertjanw that's in the past. Who's to say the same argument couldn't have been applied if Zulu had been the discontinued distribution instead?

You'd simply still be using Zulu, without any change needed, and your CI/CD pipeline would have continued on as normal.

It's really not as big of a problem as you make it out to be. It's a three-line PR, whatever distribution we choose.

@geertjanw
Copy link

geertjanw commented Aug 27, 2021

But the point is that Zulu isn't the discontinued distribution and it won't be either.

And, you're right, it isn't a big problem. However, make sure that all the JDK versions you need to test on, on all the operating systems you need to run on, are supported by the distribution you chose.

@carldea
Copy link
Author

carldea commented Aug 27, 2021

Also please write meaningful commit messages and PR titles.

Switched the GH action setup-java distribution to use Zulu

Does tell me what changed

Update to ci.yml

Does not
If you don’t mind I will do an amend to fix the comment.

@carldea
Copy link
Author

carldea commented Aug 27, 2021

https://github.com/actions/setup-java#supported-distributions

Adopt OpenJDK got moved to Eclipse Temurin and won't be updated anymore. It is highly recommended to migrate workflows from adopt to temurin to keep receiving software and security updates.

Any reason not to use temurin? I don't have anything against zulu; I'm just wondering why we should ignore their recommendation. :)

No reason, to not use temurin, I can also add that too if you would like.

Edit: also, please fill in the template properly.

Will do.
Sorry about that.

@carldea carldea changed the title Update to ci.yml Using Zulu in GH actions Aug 27, 2021
@litetex
Copy link
Member

litetex commented Aug 27, 2021

@geertjanw

I'm getting kind of annoyed by this discussion as we had it already in #6360 but anyway here we go again:

AdoptOpenJDK does not exist anymore.

It does still exist: https://adoptopenjdk.net/
Also as mentioned in https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/

To ensure a smooth transition we will keep the AdoptOpenJDK website and the AdoptOpenJDK API active for some time to come, and we are retaining the old archived AdoptOpenJDK builds - though we recommend you always use the latest build in production which can now be found at adoptium.net/releases.

And it will also still exists for some time.
Also also: Eclipse temurin (the successor) is de-facto AoptOpenJDK Hotfspot just with another name.


Well, here's one reason to use Zulu: if you had been using Zulu all along, instead of Adopt, you wouldn't now need to think about an alternative. You'd simply still be using Zulu, without any change needed, and your CI/CD pipeline would have continued on as normal. :-)

That is an extremely weak argument. This can happen to everything... Maybe Azul Systems gets destroyed by a meteor, bankruptcy, ... tomorrow


But the point is that Zulu isn't the discontinued distribution and it won't be either.

... and it won't be either

Where is that written?
I didn't find anything in there Terms of use.

So please tell me what do you think is more likely to happen:

@Redirion
Copy link
Member

6360

as discussed there, we will use the logical successor of adopt.

Thank you for pointing out that adopt is now obsolete carldea!

@Redirion Redirion closed this Aug 27, 2021
@geertjanw
Copy link

Also also: Eclipse temurin (the successor) is de-facto AoptOpenJDK Hotfspot just with another name.

But that really isn't true. Check with the Eclipse Foundation, where Temurin, and not Adopt is found. Temurin, and not Adopt, is TCK licensed. They're totally different distributions.

@geertjanw
Copy link

Well, here's one reason to use Zulu: if you had been using Zulu all along, instead of Adopt, you wouldn't now need to think about an alternative. You'd simply still be using Zulu, without any change needed, and your CI/CD pipeline would have continued on as normal. :-)

That is an extremely weak argument. This can happen to everything... Maybe Azul Systems gets destroyed by a meteor, bankruptcy, ... tomorrow

But the point is that it hasn't. And all the places where Adopt is used now has the problem of needing to be updated, retested, etc, whereas Zulu has been consistent throughout, nothing changes for anyone making use of Zulu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Everything related to CI (Continuous integration)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants