-
Notifications
You must be signed in to change notification settings - Fork 166
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
policy: no use of PR code in live jobs #1378
Comments
Do you have some specific examples (I'm ok if they identify me as the culprit :))? I have a few guesses as I think I've done what you are mentioned in a few cases. In the case of the compiler selection script I wanted to:
|
I think this is related to my personal branch to move all |
Over long periods of time, this would be a good policy. Anything that's stable should be using the main repo. +1 to the points raised by @mhdawson, plus:
|
I think having a clear policy documented somewhere regarding changing job settings is a good idea. IMO we should avoid using untested and unreviewed scripts/config on our main jobs unless something broke and the only way to fix it is by editing job configs. |
I think of the jobs in Jenkins as organized in 4 categories. I'll list them here, along with my opinion. If others agree with me this might serve as a base for this policy.
We require WG members to show some familiarity with Jenkins/Ansible/... before joining. This should translate into some trust afterwards. I fear that demanding a full review cycle for every small change will make collaborating too much of a burden. I believe it is reasonable in some cases, and too much in others, as listed above. |
I just noticed this while investigating smartos failures in curl https://raw.githubusercontent.com/maclover7/build/8fbce71/jenkins/scripts/node-test-commit.sh | bash -ex -s e.g. https://ci.nodejs.org/job/node-test-commit-smartos/nodes=smartos16-64/19818/consoleFull 02:43:22 [smartos16-64] $ /bin/sh -xe /var/tmp/jenkins5679813579958051228.sh
02:43:22 + bash -ex -s
02:43:22 + curl https://raw.githubusercontent.com/maclover7/build/8fbce71/jenkins/scripts/node-test-commit.sh There is currently no equivalent |
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made. |
Please don't use code from branches or forks in live jobs.
IMO also the use in testing jobs is questionable, since it's hard to audit.
The text was updated successfully, but these errors were encountered: