-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Evaluate job restrictions plugin to improve build/test/(trestle?) machine isolation #3379
Comments
Initial tests have not been fruitful - may be an issue with the expressions but not clear what the issues are. |
Tried this again. I have tested this on one of the machines and it successfully restricts execution of anything other than build jobs on the machine. I will look at adding this criteria onto the AIX, ppc64le and windows x64 This has been applied to the following
I've kicked off https://ci.adoptium.net/job/build-scripts/job/openjdk11-pipeline/2723 to see how it goes and where the jobs end up. Individual build pipelines are as follows:
If a build fails to get scheduled you'll see something like this:
And then no further progress |
Other jobs that may be affected: |
October release is complete, so this can now been rolled out to other machines. Expression should be:
|
If you hit an issue with the plugin rejecting your job you will typically see something like this in the log (similar to if you specify an incorrect label that cannot be matched):
|
Closing this as it has now been implemented and appears to be working. Any problems can be raised as separate issues. |
|
Part of SSDF phase 3 PO 5.2
We installed the job restrictions plugin last year. This issue will cover testing it out and seeing if we can prevent jobs run by the test-triage team from being scheduled on production build machines. This should reduce the risks of any security issues on those machines. While we have improved isolation on Linux through the use of containerised systems, there is still a risk elsewhere, or if test jobs are scheuled on systems used for hosting build jobs.
The text was updated successfully, but these errors were encountered: