-
Notifications
You must be signed in to change notification settings - Fork 30k
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
build: add a OFFLINE var to Makefile #16686
Conversation
All the other flags in the Makefile appear to be ALL_CAPS, so for consistency, how about General idea seems like a good idea to me though. Putting a line at the top would probably be good for visibility too. Lines 3 to 16 in 841e305
cc/ @nodejs/build |
Out of interest how do you get node onto your machines? Seems like the ideal solution would be to have a |
Yeah that makes sense and I like OFFLINE which sounds much better. I'll update, thanks!
It is placed on the machine by an internal system that packages node as a tar.gz file. |
So it does a |
The machine that does this is internal and has the same restrictions I'm afraid. |
So is there a firewall exception for https://github.com/nodejs/node ? |
I don't know how it is configured, but there is no way to access anything external to this environment, github or anything else. |
I think #16635 will stop the |
By the way, does that build machine need to build docs and run linters? If not, then it can just do |
Thanks for the suggestion but we also have to build the docs, but running the linters would be alright to skip. |
We have a build environment that restricts our internet connection and currently building fails due to the lint-md target needs to be able to install npm modules. This commit suggests adding a OFFLINE variable to the Makefile which can be used like in the following examples: $ env OFFLINE=true make -j8 test $ make -j8 test OFFLINE=true
e1b025c
to
c6ffc7a
Compare
Closing as this PR is out of date. |
We have a build environment that restricts our internet connection and
currently building fails due to the lint-md target needs to be able to
install npm modules.
This commit suggests adding a OFFLINE variable to the Makefile which
can be used like in the following examples:
$ env OFFLINE=true make -j8 test
$ make -j8 test OFFLINE=true
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
build