This action disconnects a Parasoft Virtualize server from a given Continous Testing Platform endpoint.
Add the following entry to your Github workflow YAML file with the required inputs: Password will use a github encrypted secret. Please reference Encrypted Secrets Documentation on how to create an encrypted secret.
uses: parasoft/disconnect-server-action@v1 with: ctpUrl: 'http://exampleUrl' ctpUsername: 'username' ctpPassword: ${{ secrets.password }} serverMatch: 'host' server: 'localhost'The following inputs are required for this action:
| Input | Description |
|---|---|
ctpURL | Specifies the Continuous Testing Platform endpoint where the environment will be deployed. |
ctpUsername | Specifies a user name for accessing the Continuous Testing Platform endpoint. |
ctpPassword | Specifies a Github encrypted secret for accessing the Continuous Testing Platform endpoint. Refer to the Encrypted Secrets Documentation for details on how to create an encrypted secret. |
serverMatch | Specifies how to identify the server to disconnect. The following strings are valid:
|
server | Specifies either the host name or IP address to disconnect depending on the serverMatch input configuration. |
- Install the dependencies:
$ npm install- Build the typescript and package it for distribution:
$ npm run build && npm run package- Run the tests:
$ npm test PASS ./index.test.js ...