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 credentials for release tool job #139

Merged
merged 7 commits into from
Oct 11, 2023
Merged

Conversation

sophia-guo
Copy link
Contributor

dependabot bot and others added 4 commits October 5, 2023 11:45
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0
to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@3df4ab1...8ade135)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
Copy link
Contributor

@smlambert smlambert left a comment

Choose a reason for hiding this comment

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

Minor comment change request, otherwise LGTM, thanks @sophia-guo !

Jenkinsfile Outdated Show resolved Hide resolved
Jenkinsfile Outdated
withEnv(["GITHUB_TOKEN=${secretToken}"]) {
sh '''
export VERSION=`echo $VERSION | awk '{print toupper($0)}'`
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 ./sbin/Release.sh
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we rely on a more modern Java here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the java the current job is using https://ci.adoptium.net/job/build-scripts/job/release/job/refactor_openjdk_release_tool/. Which modern java is available and can be used in https://ci.adoptium.net/computer/C3jenkins/? @sxa

Copy link
Member

Choose a reason for hiding this comment

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

There is /usr/lib/jvm/java-17-openjdk-amd64 on that machine, but we could install another version if desired.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@karianna update to jdk17, thanks!

Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
@smlambert smlambert changed the title Using credentials for release too job Using credentials for release tool job Oct 6, 2023
Signed-off-by: Sophia Guo <sophia.gwf@gmail.com>
@karianna karianna merged commit 7f0d1ae into adoptium:master Oct 11, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set up release tool job by repo jenkinsfile
4 participants