5 Commits

Author SHA1 Message Date
Michael Krotscheck
e6d20ad130 Add NPM Command Execution as a Build Target
- Add npm-run as a build macro.
- Add xvfb-start as a build macro for generic xvfb startup.
- Added gate-{project}-npm-run-{command} as a build template.
- Made that same build template non-voting.
- Added gate-storyboard-webclient-npm-run-lint as a first job.

Note that using this target presumes that you will pipe your output reports
into ./reports.

Change-Id: Ie772bf2c7b56aaed3c36fc1cb1cb970dfc3f93ff
2015-04-06 13:13:57 -07:00
Marton Kiss
a90ce7d238 Added chrome to javascript selenium test
Selenium tests on Firefox 35.0 failing due to an open FF bug. Switching
to chrome solves this problem, and tests are passing. The FF bug not
affects usage, just the execution of the test environment.

This patch is related:
https://review.openstack.org/#/c/148928/

Change-Id: Iadd71846be7f64c51fb46bfb5c29f56a81c10e9e
2015-01-21 16:44:42 +01:00
Michael Krotscheck
a8f02ecb32 Call build:draft instead of build for js-draft build
The original thought - to use the build to separately upload
config.json for our CORS draft build - didn't work because
of lack of path munging control. Instead we've declared a
separate build target called 'build:draft' that compiles an
appropriate client, which can then be uploaded in one go.

Change-Id: I16ad8fd8b90aca93929e68ef3033715e0666795b
2014-09-29 18:28:19 -07:00
Michael Krotscheck
8c2da93198 Upload custom configuration for js-draft build.
With CORS support in the API, and custom configuration loading in the
webclient, we can now let our js-draft build connect to a live API and
function like a regular client. This change makes the assumption that
any javascript project will include static docs-draft assets in the
$PROJECT_ROOT/test/draft directory, which will be uploaded as-is to the
same destination as the draft build.

Depends on: https://review.openstack.org/#/c/124201

Change-Id: Ia68f1f5e13098faac9e94c9655cf4bd8aaceb02b
2014-09-27 12:03:22 -07:00
Anita Kuno
1d21cd635f Reorganizes project-config
This repo was created from filter branching the openstack-infra/
config repo. This process brought a lot of cruft with it in the
form of directories that we no longer need. This patch removes
that cruft so we begin with a tidier repo.

Change-Id: Ibffad1b11c0c5f84eedfb0365369f60c4961a0f3
2014-09-25 11:41:04 -04:00