Open
Bug 1493610
Opened 6 years ago
Updated 2 years ago
Update the ESLint builders to use the node toolchain rather than pre-installing node on the docker images
Categories
(Firefox Build System :: General, task, P3)
Firefox Build System
General
Tracking
(Not tracked)
NEW
People
(Reporter: standard8, Unassigned)
References
(Depends on 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
1.86 KB,
patch
|
Details | Diff | Splinter Review | |
46 bytes,
text/x-phabricator-request
|
Details | Review |
In bug 1482435 we are making the ESLint source test use the NODEJS environment variable for the location of node. At the moment, it is hard coded in the task to be the location to which node is extracted in the Docker file. It would be nicer if we could use the node toolchain, and drop the pre-installed node on the Docker image - as a result, we'll also ensure we have the same version of node as the rest of the builders.
Reporter | ||
Comment 1•6 years ago
|
||
This was the initial patch I had for getting this to work. The bit I couldn't workout was either: a) how to get a pre-existing script to download, install & run correctly. or b) what commands to invoke to use the variables in the correct manner. Tom, could you help me out here please?
Assignee: nobody → standard8
Flags: needinfo?(mozilla)
Reporter | ||
Comment 2•6 years ago
|
||
Note: we should probably do this for both the eslint (mozlint.yml) and eslint-plugin-mozilla (mocha.yml) tasks.
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Comment on attachment 9011838 [details] Bug 1493997 : [taskgraph] Add support for fetching toolchains via fetch-content; r?gps Gregory Szorc [:gps] has approved the revision.
Attachment #9011838 -
Flags: review+
Comment 6•6 years ago
|
||
:Standard8 I've attached a patch that gets the toolchain extracted. I'm not entirely sure how you want to integrate with it after that.
Flags: needinfo?(mozilla)
Updated•6 years ago
|
Attachment #9011838 -
Attachment description: Bug 1493610: [taskgraph] Add support for fetching toolchains via fetch-content; r?gps → Bug 1493997 : [taskgraph] Add support for fetching toolchains via fetch-content; r?gps
Updated•6 years ago
|
Attachment #9011838 -
Attachment is obsolete: true
Reporter | ||
Comment 7•6 years ago
|
||
Per discussion in phabricator, this really wants to wait until node_modules is vendored - to make it simpler to handle npm for the ESLint task (we probably won't need to).
Depends on: vendor-eslint
Reporter | ||
Updated•5 years ago
|
Priority: -- → P3
Reporter | ||
Updated•5 years ago
|
Type: enhancement → task
Reporter | ||
Comment 8•5 years ago
|
||
Until we can unblock bug 1491028, I'm not going to be working towards this.
Note: this will also require vendoring of jsdoc/yarn before we can move forward with it: https://searchfox.org/mozilla-central/rev/1097f59d0bc17f6f8f805325c2f607e60cf0d26b/taskcluster/docker/lint/system-setup.sh#52,54-55
Assignee: standard8 → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•