node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

@studyportals/product-deploy

@studyportals/product-deploy@v3.1.0

NPM version NPM license NPM downloads Dependencies Development Dependencies

Toolset to deploy StudyPortals products

Modules

@studyportals/product-deploy

Classes

SimplePageTester : SimplePageTester

Functions

attachToGulp(gulp)

Attach the deploy tasks to gulp

Tasks:

  • watch.cms
  • deploy.cms
  • watch.servicelayer
  • deploy.servicelayer

Behaviour can be changed by changing these env vars:

  • process.env.PRTL_ENV - Set the portal environment; @see ./lib/private/env
  • process.env.PRTL_DEPLOYLOG_ENDPOINT - The endpoint to which to send deploylogs.

@studyportals/product-deploy

SimplePageTester : SimplePageTester

Kind: global class

new SimplePageTester(repo, url)

Param Type Description
repo String Name of the GitHub repository @deprecated
url String The base url to test.

simplePageTester.run(pages)

Executes simple accessibility tests to the specified pages.

If the pages cannot be reached, the test will be marked as failed.

Kind: instance method of SimplePageTester

Param Type Description
pages Array.<String> List of pages to test for statuscode 200

attachToGulp(gulp)

Attach the deploy tasks to gulp

Tasks:

  • watch.cms
  • deploy.cms
  • watch.servicelayer
  • deploy.servicelayer

Behaviour can be changed by changing these env vars:

  • process.env.PRTL_ENV - Set the portal environment; @see ./lib/private/env
  • process.env.PRTL_DEPLOYLOG_ENDPOINT - The endpoint to which to send deploylogs.

Kind: global function

Param Type
gulp Gulp

README.md generated at: Wed Nov 01 2017 14:43:30 GMT+0100 (W. Europe Standard Time)