Commit Graph

12 Commits

Author SHA1 Message Date
Monty Taylor 1aa7a72ea0 Update node to v10
Change-Id: Idd3ae6007f14d4e03c7960431819c7d44df2910b
2020-03-28 11:03:36 -05:00
Monty Taylor 9834cbd75f Build container images
So that we can do a fully containerized deployment, build images
based on Apache.

Change-Id: Ia3099370c86f02dc0000b7ec81c5e20594d180a7
2020-03-28 11:03:34 -05:00
Jeremy Stanley 4b6ca7642c Override javascript_content_dir in build job
In change Ia8bf1dc99ee18d31a6d269b243eade71fe519b7d grunt was
changed to start assembling JS content in a directory named "build"
instead of "dist" but the build-javascript-content expected to find
these files in wherever javascript_content_dir said (and it
defaulted to "dist"). Explicitly set the variable in our local
variant so our client draft builds will start containing files
again.

Change-Id: Ibcf042612791a8443701234899b59b43b7f8e104
2019-04-09 17:49:11 +00:00
Adam Coldrick adc71f6f0b Don't create a tarball in the post job
Our Gruntfile already produces a tarball, so producing another
differently-named tarball breaks publish-openstack-javascript-content.

Change-Id: Iec6e565d7db40ce8d30ceb0bbfc5fb1ac0838455
2019-03-26 10:24:34 +00:00
Adam Coldrick b3ec6245cd Fix post job by setting some variables
`node_version` is set to cause a version of node to be installed that
actually works to build StoryBoard on bionic.

The remaining issue with this job is that zuul currently uploads
everything in the dist/ directory to tarballs.openstack.org. The
output directory of our build script is also modified to not be "dist"
to stop this causing an untarballed webclient being uploaded to
tarballs.openstack.org. `create_tarball_directory` is set in .zuul.yaml
to reflect the new location.

Needed-By: I9f435c12df2b355ac9d735e9eda3f70cc396f1d9
Change-Id: Ia8bf1dc99ee18d31a6d269b243eade71fe519b7d
2019-03-15 14:30:59 +00:00
Adam Coldrick acb4a1cc8c Move the post job in-tree
Its convenient to have jobs defined in-tree where possible, so the post
job is moved into .zuul.yaml from project-config. The only jobs
remaining in project-config are the tag-based release job, and the
legacy experimental integration test jobs.

Needed-By: Idbe32ec873b9838043620139ce89d2b2f6ec5d47
Change-Id: I9c6bc7cecbe3ff70153be5d0da4c6996dafd9732
2019-03-15 09:53:50 +00:00
Adam Coldrick 7e62db8f78 Update to a newer version (8) of Node.js for testing
Change-Id: I5f78cacc791aede1bb17e61bbba820dd8152a8c9
2019-03-14 08:33:59 +00:00
Adam Coldrick 89b60c35ef Upgrade node version in tests to 6
This commit also moves the pipeline stanza for the lint job in-tree to
benefit from zuul's dynamic config reloading.

Change-Id: I42c0d82422714aa0c0014db6c7ae7b8c96cb770b
2018-02-27 08:47:58 +00:00
James E. Blair 0b381ae72a Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: Ief81c2d6f2295ab011c95e26b5a79a962655e445
2018-02-02 05:49:42 -08:00
Andreas Jaeger aff3f59926 Fix zuul job names
The npm jobs are only used here and should have a prefix of repo-name
(storyboard-webclient). Rename them to avoid clashes since we have a
global namespace.

Change-Id: I6d88ff9820a80484f0d9cdf5f24c2a8dff76ecb4
2017-12-22 13:56:48 +01:00
Monty Taylor 640ea59135 Migrate js-draft job to be zuul v3 native
Use the build-javascript-content job instead.

The job uses "npm build", update to use "npm draft".

Depends-On: I9b96656aa5f225e4b069a78442cf0159cadc9009
Change-Id: Ie418b3fc4f5903fdc0ed0f1f8683e30ccfb640cf
2017-12-22 12:54:53 +00:00
Andreas Jaeger 3155bb4701 Migrate some jobs in-tree
This project currently runs a few legacy nodejs jobs.

This change adds new Zuul v3 native nodejs jobs and tests that they
work, so that we can remove the legacy jobs (see needed-by).

Depends-On: Id533690cfad380ceaa88ad08f5c97f35112c8f79
Needed-By: I6187f97b0b32b5140d7e29bc5333e8cf3b8addc1
Change-Id: Ibb4d38f150ab8f2029ea704cab0c9719efd57396
2017-12-15 17:48:49 +01:00