14718ec544
This adds a gulp task that runs at the end of `gulp e2e` to copy the built production site into the 'reports/' directory. This directory will be uploaded to the log server during the npm test jobs and should be viewable from browsers for quick evaluation of client-side patches. A default config file is also included that points to the official http://health.openstack.org/ API server so this build preview can work against live data. Change-Id: Ideb59ae050f77dab99a4f025e27519fd0fd11f6f
18 lines
268 B
JavaScript
18 lines
268 B
JavaScript
'use strict';
|
|
|
|
var gulp = require('gulp');
|
|
var runSequence = require('run-sequence');
|
|
|
|
gulp.task('e2e', function(callback) {
|
|
|
|
callback = callback || function() {};
|
|
|
|
runSequence(
|
|
'prod',
|
|
'dev-resources',
|
|
'reports',
|
|
'protractor',
|
|
callback);
|
|
|
|
});
|