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

meta: permit Travis for doc-only changes instead of lite-pipeline CI job? #29770

Closed
Trott opened this issue Sep 30, 2019 · 13 comments
Closed

meta: permit Travis for doc-only changes instead of lite-pipeline CI job? #29770

Trott opened this issue Sep 30, 2019 · 13 comments

Comments

@Trott
Copy link
Member

Trott commented Sep 30, 2019

Does it make sense to update onboarding.md and COLLABORATOR_GUIDE.md to permit using Travis results for doc-only changes instead of requiring the CI lite-pipeline job? If that would be permissible, that might smooth the workflow a bit for landing doc PRs. (For one thing, the doc PRs will be land-able without someone manually starting a CI job.)

@Trott
Copy link
Member Author

Trott commented Sep 30, 2019

@nodejs/tsc @nodejs/build @nodejs/releasers

@richardlau
Copy link
Member

richardlau commented Sep 30, 2019

I have no objection but it would probably require changes to https://github.com/nodejs/node-core-utils as I don't think it currently looks for/at Travis results.

@richardlau
Copy link
Member

Actually although we run the linters I'm not sure we build the docs or run the doc tests on Travis.

@mcollina
Copy link
Member

+1 if we run the doc tests. On a side note, I’m ok with a specific github action.

@cjihrig
Copy link
Contributor

cjihrig commented Sep 30, 2019

I'm +1 to doing this, as long as the necessary tests run on Travis.

@targos
Copy link
Member

targos commented Sep 30, 2019

+1 as well. I'm in favor of doing a GitHub action only if there is a way to cache compilation artifacts, otherwise it's too slow.

@Trott
Copy link
Member Author

Trott commented Sep 30, 2019

I have no objection but it would probably require changes to https://github.com/nodejs/node-core-utils as I don't think it currently looks for/at Travis results.

@richardlau node-core-utils always fails to notice Lite CI runs for me. It didn't always, but this started at some point not-too-recently. I can document the next time it happens if that's helpful. I assume it has been that way for everyone.

@richardlau
Copy link
Member

I have no objection but it would probably require changes to https://github.com/nodejs/node-core-utils as I don't think it currently looks for/at Travis results.

@richardlau node-core-utils always fails to notice Lite CI runs for me. It didn't always, but this started at some point not-too-recently. I can document the next time it happens if that's helpful. I assume it has been that way for everyone.

@Trott Admittedly I've not tried it against a doc-only PR recently, but it has worked in the past (I've PR'ed fixes to it before, e.g. nodejs/node-core-utils#354). If you could document it the next time it happens it would be a very good step towards getting it fixed.

@richardlau
Copy link
Member

I have no objection but it would probably require changes to https://github.com/nodejs/node-core-utils as I don't think it currently looks for/at Travis results.

@richardlau node-core-utils always fails to notice Lite CI runs for me. It didn't always, but this started at some point not-too-recently. I can document the next time it happens if that's helpful. I assume it has been that way for everyone.

@Trott Admittedly I've not tried it against a doc-only PR recently, but it has worked in the past (I've PR'ed fixes to it before, e.g. nodejs/node-core-utils#354). If you could document it the next time it happens it would be a very good step towards getting it fixed.

Then again it looks like we haven't published a version of node-core-utils containing nodejs/node-core-utils#354 so it's quite possible you're running into the problem that fixes.

@richardlau
Copy link
Member

We're now building docs on Travis, which has already caught one issue that we wouldn't have spotted on Travis before.

@Trott
Copy link
Member Author

Trott commented Oct 9, 2019

We're now building docs on Travis, which has already caught one issue that we wouldn't have spotted on Travis before.

Cool! And thanks for setting it up! So how do you think we should proceed, @richardlau? Do we prepare node-core-utils and test it out in a prerelease before changing the policy? Or just change the policy and let node-core-utils catch up?

@richardlau
Copy link
Member

We're now building docs on Travis, which has already caught one issue that we wouldn't have spotted on Travis before.

Cool! And thanks for setting it up! So how do you think we should proceed, @richardlau? Do we prepare node-core-utils and test it out in a prerelease before changing the policy? Or just change the policy and let node-core-utils catch up?

I would kind of like the tooling to work otherwise it just encourages people to ignore the warnings. But it would require someone to do the work there.

On the other hand we do not require use of node-core-utils and haven't actually released a version of it containing stuff like the fix for pipeline job detection so ¯\_(ツ)_/¯.

@mmarchini
Copy link
Contributor

nodejs/node-core-utils#469 will check for Actions result (and not Jenkins) when only doc files are changed. After it lands and is released we should be able to close this issue.

mmarchini added a commit to mmarchini/node-core-utils that referenced this issue Aug 9, 2020
Doc-only changes don't need a full Jenkins CI, instead we can check
if the last Actions run was successful. Therefore this commit also adds
check for Action runs. Jenkins CI messages were improved as well.

Fix: nodejs#324
Fix: nodejs/node#32335
Fix: nodejs/node#29770
mmarchini added a commit to mmarchini/node-core-utils that referenced this issue Aug 15, 2020
Doc-only changes don't need a full Jenkins CI, instead we can check
if the last Actions run was successful. Therefore this commit also adds
check for Action runs. Jenkins CI messages were improved as well.

Fix: nodejs#324
Fix: nodejs/node#32335
Fix: nodejs/node#29770
mmarchini added a commit to mmarchini/node-core-utils that referenced this issue Aug 15, 2020
Doc-only changes don't need a full Jenkins CI, instead we can check
if the last Actions run was successful. Therefore this commit also adds
check for Action runs. Jenkins CI messages were improved as well.

Fix: nodejs#324
Fix: nodejs/node#32335
Fix: nodejs/node#29770
mmarchini added a commit to mmarchini/node-core-utils that referenced this issue Aug 20, 2020
Doc-only changes don't need a full Jenkins CI, instead we can check
if the last Actions run was successful. Therefore this commit also adds
check for Action runs. Jenkins CI messages were improved as well.

Fix: nodejs#324
Fix: nodejs/node#32335
Fix: nodejs/node#29770
johnfrench3 pushed a commit to johnfrench3/core-utils-node that referenced this issue Nov 2, 2022
Doc-only changes don't need a full Jenkins CI, instead we can check
if the last Actions run was successful. Therefore this commit also adds
check for Action runs. Jenkins CI messages were improved as well.

Fix: nodejs/node-core-utils#324
Fix: nodejs/node#32335
Fix: nodejs/node#29770
renawolford6 added a commit to renawolford6/node-dev-build-core-utils that referenced this issue Nov 10, 2022
Doc-only changes don't need a full Jenkins CI, instead we can check
if the last Actions run was successful. Therefore this commit also adds
check for Action runs. Jenkins CI messages were improved as well.

Fix: nodejs/node-core-utils#324
Fix: nodejs/node#32335
Fix: nodejs/node#29770
Developerarif2 pushed a commit to Developerarif2/node-core-utils that referenced this issue Jan 27, 2023
Doc-only changes don't need a full Jenkins CI, instead we can check
if the last Actions run was successful. Therefore this commit also adds
check for Action runs. Jenkins CI messages were improved as well.

Fix: nodejs/node-core-utils#324
Fix: nodejs/node#32335
Fix: nodejs/node#29770
gerkai added a commit to gerkai/node-core-utils-project-build that referenced this issue Jan 27, 2023
Doc-only changes don't need a full Jenkins CI, instead we can check
if the last Actions run was successful. Therefore this commit also adds
check for Action runs. Jenkins CI messages were improved as well.

Fix: nodejs/node-core-utils#324
Fix: nodejs/node#32335
Fix: nodejs/node#29770
shovon58 pushed a commit to shovon58/node-core-utils that referenced this issue Jun 9, 2023
Doc-only changes don't need a full Jenkins CI, instead we can check
if the last Actions run was successful. Therefore this commit also adds
check for Action runs. Jenkins CI messages were improved as well.

Fix: nodejs/node-core-utils#324
Fix: nodejs/node#32335
Fix: nodejs/node#29770
patrickm68 added a commit to patrickm68/NodeJS-core-utils that referenced this issue Sep 14, 2023
Doc-only changes don't need a full Jenkins CI, instead we can check
if the last Actions run was successful. Therefore this commit also adds
check for Action runs. Jenkins CI messages were improved as well.

Fix: nodejs/node-core-utils#324
Fix: nodejs/node#32335
Fix: nodejs/node#29770
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

No branches or pull requests

6 participants