npm promotes metadefinitions
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    @studyportals/product-deploypublic

    @studyportals/product-deploy@v4.0.0-alpha.3

    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: Fri Feb 09 2018 13:31:04 GMT+0100 (W. Europe Standard Time)

    Keywords

    none

    install

    npm i @studyportals/product-deploy

    Downloadslast 7 days

    748

    version

    4.0.0-alpha.3

    license

    BSD-3-Clause

    repository

    github.com

    last publish

    collaborators

    • avatar
    • avatar
    • avatar