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

sign node label #467

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from
Draft

sign node label #467

wants to merge 9 commits into from

Conversation

cornelia247
Copy link
Contributor

Parameterized the SIGN_NODE_LABEL to allow users conveniently change defaults #51

@github-actions
Copy link

Thank you for creating a pull request!

Please check out the information below if you have not made a pull request here before (or if you need a reminder how things work).

Code Quality and Contributing Guidelines

If you have not done so already, please familiarise yourself with our Contributing Guidelines and Code Of Conduct, even if you have contributed before.

Tests

Github actions will run a set of jobs against your PR that will lint and unit test your changes. Keep an eye out for the results from these on the latest commit you submitted. For more information, please see our testing documentation.

In order to run the advanced pipeline tests (executing a set of mock pipelines), it requires an admin to post run tests on this PR.
If you are not an admin, please ask for one's attention in #infrastructure on Slack or ping one here.
To run full set of tests, use "run tests"; a subset of tests on specific jdk version, use "run tests quick 11,19"

pipelines/defaults.json Outdated Show resolved Hide resolved
pipelines/defaults.json Outdated Show resolved Hide resolved
@github-actions github-actions bot added documentation generation Issues that provide enhancements or fixes to the job generators labels Oct 13, 2022
@@ -485,6 +485,7 @@ class Build {
Run the Sign downstream job. We run this job on windows and jdk8 hotspot & jdk13 mac builds.
The job code signs and notarizes the binaries so they can run on these operating systems without encountering issues.
*/
def SIGN_NODE_LABEL = DEFAULTS_JSON['signNodeLabel']
Copy link
Contributor

@sophia-guo sophia-guo Oct 24, 2022

Choose a reason for hiding this comment

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

It is better to move this definition to the function build() to be visible to sign(), signInstaller() and probably other functions.

@sophia-guo
Copy link
Contributor

context.node('eclipse-codesign') , feels this node is also used to sign jmods. @andrew-m-leonard is it good to update the line mentioned here to `context.node("${SIGN_NODE_LABEL}")?

@zdtsw
Copy link
Contributor

zdtsw commented Oct 25, 2022

maybe ask AdamBrousseau to take a look too, since he is the one created original issue

Comment on lines +706 to +707
/* groovylint-disable-next-line VariableTypeRequired */
def nodeFilter = "${SIGN_NODE_LABEL}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
/* groovylint-disable-next-line VariableTypeRequired */
def nodeFilter = "${SIGN_NODE_LABEL}"
String nodeFilter = "${SIGN_NODE_LABEL}"

@zdtsw
Copy link
Contributor

zdtsw commented Nov 24, 2022

@cornelia247 need a rebase first

@andrew-m-leonard
Copy link
Contributor

this has been stale for over a year, converting to "draft", if no longer needed please close.

@andrew-m-leonard andrew-m-leonard marked this pull request as draft April 3, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-merge-post-release documentation generation Issues that provide enhancements or fixes to the job generators jenkins-pipeline
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants