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

Use Eclipse Temurin, not AdoptOpenJDK in publish artifact action #6406

Merged
merged 1 commit into from
Mar 26, 2022

Conversation

MarkEWaite
Copy link
Contributor

@MarkEWaite MarkEWaite commented Mar 25, 2022

Use Eclipse Temurin, not AdoptOpenJDK in publish artifact action

The 'adopt' distribution has moved to Eclipse Temurin and won't be updated at the AdoptOpenJDK location.

The advanced usage describes the transition.

The setup-java usage provides more general purpose info.

The current Adopt version is reporting:

Run actions/setup-java@v2
Resolved Java 8.0.292+1 from tool-cache
Setting Java 8.0.292+1 as the default

Java configuration:
  Distribution: adopt
  Version: 8.0.292+1
  Path: /opt/hostedtoolcache/Java_Adopt_jdk/8.0.292-1/x64

The current Temurin version reports:

Run actions/[email protected]
Resolved Java 8.0.322+6 from tool-cache
Setting Java 8.0.322+6 as the default

Java configuration:
  Distribution: temurin
  Version: 8.0.322+6
  Path: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.322-6/x64

The upgrade from JDK 8u292 to 8u322 is a positive step, since it is using a JDK version that is 12 months newer.

Proposed changelog entries

N/A - skip changelog because there are no user visible results from this change

Proposed upgrade guidelines

N/A

Submitter checklist

  • (If applicable) Jira issue is well described
  • Changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developer, depending on the change) and are in the imperative mood. Examples
    • Fill-in the Proposed changelog entries section only if there are breaking changes or other changes which may require extra steps from users during the upgrade
  • Appropriate autotests or explanation to why this change has no tests
  • New public classes, fields, and methods are annotated with @Restricted or have @since TODO Javadoc, as appropriate.
  • For dependency updates: links to external changelogs and, if possible, full diffs

Desired reviewers

Any

Maintainer checklist

Before the changes are marked as ready-for-merge:

  • There are at least 2 approvals for the pull request and no outstanding requests for change
  • Conversations in the pull request are over OR it is explicit that a reviewer does not block the change
  • Changelog entries in the PR title and/or Proposed changelog entries are accurate, human-readable, and in the imperative mood
  • Proper changelog labels are set so that the changelog can be generated automatically
  • If the change needs additional upgrade steps from users, upgrade-guide-needed label is set and there is a Proposed upgrade guidelines section in the PR title. (example)
  • If it would make sense to backport the change to LTS, a Jira issue must exist, be a Bug or Improvement, and be labeled as lts-candidate to be considered (see query).

The 'adopt' distribution has moved to Eclipse Temurin and won't be
updated at the AdoptOpenJDK location.

https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#adopt
describes the transition.

https://github.com/actions/setup-java#usage provides more general
purpose info.

The current Adopt version is reporting:

Run actions/setup-java@v2
Resolved Java 8.0.292+1 from tool-cache
Setting Java 8.0.292+1 as the default

Java configuration:
  Distribution: adopt
  Version: 8.0.292+1
  Path: /opt/hostedtoolcache/Java_Adopt_jdk/8.0.292-1/x64

The current Temurin version reports:

Run actions/[email protected]
Resolved Java 8.0.322+6 from tool-cache
Setting Java 8.0.322+6 as the default

Java configuration:
  Distribution: temurin
  Version: 8.0.322+6
  Path: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.322-6/x64

The upgrade from JDK 8u292 to 8u322 is a positive step, since it is
using a JDK version that is 12 months newer.
@MarkEWaite MarkEWaite added the skip-changelog Should not be shown in the changelog label Mar 25, 2022
Copy link
Member

@basil basil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is now ready for merge. We will merge it after approximately 24 hours if there is no negative feedback. Please see the merge process documentation for more information about the merge process. Thanks!

@basil basil merged commit 28ccfcd into jenkinsci:master Mar 26, 2022
MarkEWaite added a commit to MarkEWaite/adobe-cloud-manager-plugin that referenced this pull request Mar 27, 2022
@MarkEWaite MarkEWaite deleted the use-eclipse-temurin branch March 27, 2022 13:28
MarkEWaite added a commit to MarkEWaite/artifactz-plugin that referenced this pull request Mar 27, 2022
MarkEWaite added a commit to MarkEWaite/autonomiq-plugin that referenced this pull request Mar 27, 2022
MarkEWaite added a commit to MarkEWaite/autonomiq-plugin that referenced this pull request Mar 27, 2022
MarkEWaite added a commit to MarkEWaite/azure-artifact-manager-plugin that referenced this pull request Mar 27, 2022
MarkEWaite added a commit to MarkEWaite/azure-keyvault-plugin that referenced this pull request Mar 27, 2022
MarkEWaite added a commit to MarkEWaite/azure-sdk-plugin that referenced this pull request Mar 27, 2022
MarkEWaite added a commit to MarkEWaite/azure-storage-plugin that referenced this pull request Mar 27, 2022
MarkEWaite added a commit to MarkEWaite/bitbucket-plugin that referenced this pull request Mar 27, 2022
@@ -13,9 +13,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v2
uses: actions/setup-java@v3.0.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jenkinsci/file-parameters-plugin#90 (comment) I think also applicable here given

on:
release:
types: [published]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the purpose of reviewing a PR that has already been merged?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just informational, in case the author (or anyone else) thinks it would be appropriate to file a follow-up.

(In this case I did not see this PR until after it is was merged, due to a link from a plugin PR.)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you considered doing a quick glance at the PRs with the ready-for-merge label every day or two to see if you have feedback for them? If the purpose of code review is to make the code of tangibly higher quality, then leaving feedback before a pull request is merged is far more likely to achieve this outcome. To be clear, there are many valid reasons for reviewing a PR after it has been merged, such as to notify authors of serious regressions, but in cases like this where there is no regression and where the suggestion is fairly trivial, it can come across as an example of "bring me a rock" style leadership.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not familiar with that metaphor.

I do not normally attempt to follow all core PRs (or PRs in major plugins for that matter) since I simply lack the time for that sort of volume and there are already a number of diligent reviewers. This one I just stumbled across after the fact, via a link from a PR in a plugin I help maintain.

JohnNiang pushed a commit to jenkinsci/generic-event-plugin that referenced this pull request Mar 27, 2022
timja pushed a commit to jenkinsci/pipeline-graph-view-plugin that referenced this pull request Mar 27, 2022
timja added a commit to jenkinsci/junit-sql-storage-plugin that referenced this pull request Mar 27, 2022
* Use Eclipse Temurin, not AdoptOpenJDK in action

The 'adopt' distribution has moved to Eclipse Temurin.

It won't be updated at the AdoptOpenJDK location.

See jenkinsci/jenkins#6406

https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#adopt

https://github.com/actions/setup-java#usage

* Update .github/workflows/cd.yaml

Co-authored-by: Tim Jacomb <[email protected]>
timja added a commit to jenkinsci/jenkins-infra-test-plugin that referenced this pull request Mar 27, 2022
* Use Eclipse Temurin, not AdoptOpenJDK in action

The 'adopt' distribution has moved to Eclipse Temurin.

It won't be updated at the AdoptOpenJDK location.

See jenkinsci/jenkins#6406

https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#adopt

https://github.com/actions/setup-java#usage

* Update .github/workflows/cd.yml

Co-authored-by: Tim Jacomb <[email protected]>
timja added a commit to jenkinsci/dark-theme-plugin that referenced this pull request Mar 27, 2022
* Use Eclipse Temurin, not AdoptOpenJDK in action

The 'adopt' distribution has moved to Eclipse Temurin.

It won't be updated at the AdoptOpenJDK location.

See jenkinsci/jenkins#6406

https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#adopt

https://github.com/actions/setup-java#usage

* Update .github/workflows/cd.yml

Co-authored-by: Tim Jacomb <[email protected]>
timja added a commit to jenkinsci/azure-storage-plugin that referenced this pull request Mar 27, 2022
* Use Eclipse Temurin, not AdoptOpenJDK in action

The 'adopt' distribution has moved to Eclipse Temurin.

It won't be updated at the AdoptOpenJDK location.

See jenkinsci/jenkins#6406

https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#adopt

https://github.com/actions/setup-java#usage

* Update .github/workflows/cd.yaml

Co-authored-by: Tim Jacomb <[email protected]>
timja added a commit to jenkinsci/azure-sdk-plugin that referenced this pull request Mar 27, 2022
* Use Eclipse Temurin, not AdoptOpenJDK in action

The 'adopt' distribution has moved to Eclipse Temurin.

It won't be updated at the AdoptOpenJDK location.

See jenkinsci/jenkins#6406

https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#adopt

https://github.com/actions/setup-java#usage

* Update .github/workflows/cd.yaml

Co-authored-by: Tim Jacomb <[email protected]>
timja added a commit to jenkinsci/azure-keyvault-plugin that referenced this pull request Mar 27, 2022
* Use Eclipse Temurin, not AdoptOpenJDK in action

The 'adopt' distribution has moved to Eclipse Temurin.

It won't be updated at the AdoptOpenJDK location.

See jenkinsci/jenkins#6406

https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#adopt

https://github.com/actions/setup-java#usage

* Update .github/workflows/cd.yaml

Co-authored-by: Tim Jacomb <[email protected]>
timja added a commit to jenkinsci/azure-artifact-manager-plugin that referenced this pull request Mar 27, 2022
* Use Eclipse Temurin, not AdoptOpenJDK in action

The 'adopt' distribution has moved to Eclipse Temurin.

It won't be updated at the AdoptOpenJDK location.

See jenkinsci/jenkins#6406

https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#adopt

https://github.com/actions/setup-java#usage

* Update .github/workflows/cd.yaml

Co-authored-by: Tim Jacomb <[email protected]>
rkosegi pushed a commit to jenkinsci/hetzner-cloud-plugin that referenced this pull request Mar 27, 2022
LeSuisse pushed a commit to jenkinsci/tuleap-oauth-plugin that referenced this pull request Mar 28, 2022
LeSuisse pushed a commit to jenkinsci/tuleap-api-plugin that referenced this pull request Mar 28, 2022
pedrompflopes pushed a commit to jenkinsci/checkmarx-ast-scanner-plugin that referenced this pull request Apr 1, 2022
car-roll pushed a commit to jenkinsci/lib-durable-task that referenced this pull request Apr 7, 2022
MarkEWaite added a commit to MarkEWaite/credentials-plugin that referenced this pull request Apr 22, 2022
See jenkinsci/jenkins#6406 for more details

The 'adopt' distribution has moved to Eclipse Temurin and won't be
updated at the AdoptOpenJDK location.  Switch to the Temurin
distribution so that we use a current version of Java.
MarkEWaite added a commit to MarkEWaite/sshd-plugin that referenced this pull request Apr 22, 2022
See jenkinsci/jenkins#6406 for more details

The 'adopt' distribution has moved to Eclipse Temurin and won't be updated
at the AdoptOpenJDK location.  Switch to the Temurin distribution so
that we use a current version of Java.
MarkEWaite added a commit to MarkEWaite/pipeline-model-definition-plugin that referenced this pull request May 26, 2022
See jenkinsci/jenkins#6406 for more details

The 'adopt' distribution has moved to Eclipse Temurin and won't be updated at the AdoptOpenJDK location.  Switch to the Temurin distribution so that we use a current version of Java.

- Bump actions/setup-java from 2 to 3 (dependabot proposed in jenkinsci#300)
- Use Eclipse Temurin in the action, not AdoptOpenJDK

Supersedes jenkinsci#511
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback skip-changelog Should not be shown in the changelog squash-merge-me Unclean or useless commit history, should be merged only with squash-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants