Page MenuHomeDevCentral

Deploy static sites requiring npm build
ClosedPublic

Authored by dereckson on Oct 12 2018, 12:17.
Tags
None
Referenced Files
F6853110: D1902.diff
Tue, Apr 15, 12:01
F6839293: D1902.id4808.diff
Tue, Apr 15, 00:24
Unknown Object (File)
Fri, Apr 11, 10:16
Unknown Object (File)
Fri, Apr 11, 09:43
Unknown Object (File)
Fri, Apr 11, 01:51
Unknown Object (File)
Wed, Apr 9, 07:55
Unknown Object (File)
Wed, Apr 9, 03:16
Unknown Object (File)
Tue, Apr 8, 05:15
Subscribers
None

Details

Summary

A bunch of sites use the ZURB WebApp template to generate static
sites from Foundation, handlebars templates and YAML data, with
a Gulp build chain to pack and minimize assets.

For each of them, a Jenkins job has been created to clone the
repository and prepare the npm build.

Deployment consists of two steps:

  • create a directory with deploy account access
  • run the Jenkins job to build and publish the site there

Fixes T1465.

Test Plan
salt-call --local state.apply roles/webserver-content/org/nasqueron/daeghrefn
salt-call --local state.apply roles/webserver-content/org/nasqueron/docs
salt-call --local state.apply roles/webserver-content/org/nasqueron/infra
salt-call --local state.apply roles/webserver-content/org/nasqueron/rain

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
jenkins-docs (branched from master)
Build Status
Buildable 2948
Build 3196: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Oct 12 2018, 15:23
This revision was automatically updated to reflect the committed changes.