Commit Graph

11 Commits

Author SHA1 Message Date
Sorin Sbarnea 6b8cc6d468 More E208 (final)
Change-Id: I705d1b10696326f3d4d5bef4b5a88a83f2c3d960
2020-11-10 19:34:45 +00:00
Albin Vass 3dc7a78c9d fetch-javascript-output: do not synchronize owner
Change-Id: Icce95bf2d156359133df1d7c52f49dce292e3edc
2020-05-18 17:04:10 +02:00
Mohammed Naser db27d024ee fetch-javascript-output: add metadata.type
This adds a 'site' metadata type to the role so that we can pull
it down later based on type instead of a user friendly "name"

Change-Id: I4c59feac26971162a29fb998a21c422ccb4efc1a
2020-04-07 12:09:26 -04:00
James E. Blair ea00b6aa5a Use human-readable names for artifact returns
This will cause links to appear on the build page with text like
"Docs preview site".

Change-Id: I65f8990b65607e72190a871409c3e31014ce86df
2019-08-12 07:13:27 -07:00
James E. Blair 1814e8b316 Return npm site location as artifact
Later, we will update zuul-preview to look up artifact URLs for
sites and return that as the success url.

Change-Id: I8eae92e0b94085241a30b7d6e9b2894e1d07096e
2019-03-01 11:43:45 -08:00
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 8a86f7c7fc
Don't run npm shrinkwrap if using yarn
If we're using yarn, it means we started from a yarn.lock file in the
first place. If that's true, we don't need to *produce* a shrinkwrap
file.

Needed-By: I848f22dce6196b2df9de4b9f585e857e03cdb0d7
Change-Id: I6519ff5ea7ac4b79e46f29c6190d660718d03f1b
2017-12-15 19:26:30 -06:00
Andreas Jaeger 238b2aaf6d Collect npm-shrinkwrap for javascript
Collect npm-shrinkwrap.json if it exists.

Change-Id: I149dc99b1e9f08403a7f5c16ebf38dd7e734d975
2017-11-04 20:25:51 +01: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