Page MenuHomeDevCentral

Deploy static sites requiring npm build

Authored by dereckson on Oct 12 2018, 12:17.



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

rOPS Nasqueron Operations
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

dereckson requested review of this revision.Oct 12 2018, 12:17
dereckson created this revision.
dereckson edited the test plan for this revision. (Show Details)Oct 12 2018, 12:18
dereckson accepted this revision.Oct 12 2018, 15:23
This revision is now accepted and ready to land.Oct 12 2018, 15:23
This revision was automatically updated to reflect the committed changes.