Closed Bug 1083249 Opened 10 years ago Closed 8 years ago

Run `npm test` in build automation as prerequisite for testing Firefox Tools Adapter

Categories

(Firefox Build System :: Task Configuration, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: evold, Unassigned)

References

Details

JPM is a node based cli for generating Firefox add-ons.

https://www.npmjs.org/package/jpm

In order to get cross platform tests it would be nice if we could run `npm test` for this module on tbpl/treeherder, but if that is not possible then I would like to have the tests run on local machines and have an ftp which I can upload log files to so that the test results will be visible on tbpl/treeherder.

Note: this will also be necessary for testing the Firefox Tools Adapter afaik.
Blocks: jpm
Component: Other → General Automation
QA Contact: pmoore → catlee
Summary: Need an ftp to upload jpm test logs to → Run `npm test` in build automation as prerequisite for testing Firefox Tools Adapter
Hey I would love some help with accomplishing this, any guidance would be greatly appreciated.

Chris maybe you know of some examples I can take a look at?
Flags: needinfo?(catlee)
Which platforms do you want this to run on?

What other dependencies does it have?
Flags: needinfo?(catlee)
(In reply to Chris AtLee [:catlee] from comment #2)
> Which platforms do you want this to run on?

Same list as https://tbpl.mozilla.org/?tree=Jetpack

> What other dependencies does it have?

There are 22 dependencies https://www.npmjs.com/package/jpm

We could working on trimming them down if that is important.
Flags: needinfo?(catlee)
Let's plan on doing this in TC.
Component: General Automation → General
Flags: needinfo?(catlee)
Product: Release Engineering → Taskcluster
QA Contact: catlee
@erikvold,
New tasks can be added in-tree. You can define your own dockerfiles that the test environment should be (re)-built from.

So hit us up on #taskcluster, if this still a thing you want to do.
Component: General → Task Configuration
Since Erik is gone, I'm guessing this isn't in progress..
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: TaskCluster → Firefox Build System
You need to log in before you can comment on or make changes to this bug.