@studyportals/product-deploy

4.1.1 • Public • Published

@studyportals/product-deploy@v4.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: Thu Aug 02 2018 17:31:55 GMT+0200 (W. Europe Summer Time)

Versions

Current Tags

Version History

Package Sidebar

Install

npm i @studyportals/product-deploy

Weekly Downloads

1

Version

4.1.1

License

BSD-3-Clause

Unpacked Size

1.65 MB

Total Files

46

Last publish

Collaborators

  • studyportals-devops