4 Commits

Author SHA1 Message Date
Michael Johnson
b162a69c8b Collect the coverage report for npm test jobs
The npm test run can optionally create an html coverage report.
This change causes the post job to check if the directory exists,
and if so also collect the coverage report with the npm logs.

Change-Id: I7cc50c352c3feeed283888cbe7f02c6b1264b7b0
2018-06-12 21:27:03 +00:00
Monty Taylor
ce9a90ff8f
Add a job variable to control javascript link copying
The zuul multi-tenant dashboard job wants to make a few symlinks to
simulate what would happen on a real deployment with rewrite rules. The
current hard-coded behavior of copying the links causes ... havoc.

Add a job variable defaulting to the current behavior which such jobs
can flip if they need to.

Change-Id: I751524baa80353606d74b87dbaacfe7cd8b71a5e
2018-06-05 15:10:08 -05:00
Monty Taylor
89f68c5ca0
Fetch built web content in javascript jobs
If a javascript job produces web content that should be deployed (such
as zuul-web or storyboard-webclient) we should collect that in the post
step of the job and put it into the html/ directory.

While in there, add a bunch of get_*: false entries for the stat calls.
Calculating the md5 and whatnot is expensive, and we should really
always set them to false unless we're *using* the hash values.

Change-Id: I9b96656aa5f225e4b069a78442cf0159cadc9009
2017-12-16 20:07:02 -06:00
Monty Taylor
ad1ce4fc2f
Add base job and roles for javascript
This is in service of getting javascript tarball jobs going.

Change-Id: I20b4b4ce0bdf03c5585ca73471611178c94e2599
2017-10-09 08:32:45 -05:00