@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)

Keywords

none

install

npm i @studyportals/product-deploy

Downloadsweekly downloads

244

version

4.1.1

license

BSD-3-Clause

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability