Git Product home page Git Product logo

parasoft / destroy-environment-action Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 11.0 519 KB

A GitHub Action for destroying a temporary service virtualization environment in a remote Parasoft Continuous Testing Platform

Home Page: https://www.parasoft.com/

License: Apache License 2.0

TypeScript 97.84% JavaScript 2.16%
testing api environment service virtualization destroy parasoft ctp virtualize

destroy-environment-action's Introduction

typescript-action status

Destroy an Environment

This action allows you to destroy a Parasoft service virtualization environment in a given Continous Testing Platform endpoint.

Usage

Add the following entry to your Github workflow YAML file with the required inputs:

uses: parasoft/destroy-environment-action@v1
with:
  ctpUrl: 'http://exampleUrl'
  ctpUsername: 'username'
  ctpPassword: ${{ secrets.password }}
  system: 'system'
  environment: 'environment'

Required Inputs

The following inputs are required to use this action:

Input Description
ctpURL Specifies the Continuous Testing Platform endpoint where the environment you want to destroy is 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.
system Specifies the name of the system in Continous Testing Platform that contains the environment you want to destroy.
environment Specifies the name of the environment that you want to destroy. If you deployed a replicated environment, this value should match the value specified with newEnvironmentName in the deploy-environment-action.

Build and Test this Action Locally

  1. Install the dependencies:
$ npm install
  1. Build the typescript and package it for distribution:
$ npm run build && npm run package
  1. Run the tests:
$ npm test

 PASS  ./index.test.js

...

destroy-environment-action's People

Contributors

adam-trujillo avatar dependabot[bot] avatar kailunc avatar mattloveparasoft avatar swang-parasoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

destroy-environment-action's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.