CodePipeline
From JstVerify
In order to utilize our Pipeline service you will need to follow these instructions.
Contents
JstVerify API Key Generation
- Login to JstVerify.com
- Got to the Dashboard
- Click the Home Tab
- Then Select Profile
- Select "API Keys"
- Choose "Create Key"
- Choose "Create Key" again to confirm
- Your new key has been created
AWS Systems Manager Parameter Store
The SSM Parameter store is utilized to securely store your API key.
- Log into AWS Console
- Select the region you will be working in
- Select the Services Dropdown from the Top Left
- Type SSM
- Click Systems Manager
- In the left Menu under Application Management click Parameter Store
- Click Create Parameter
- Name it "JstVerifyAPIKey" it has to be an exact match
- For Type Select Secure String
- You can use either Key Store
- For the value input put the API Key as it appears on the JstVerify Dashboard
- Then Select create Parameter
Serverless Application Repository
We'll create all the resources we need use a custom action that facilitates communication with JstVerify within CodePipeline by deploying a SAM application.
- Log into AWS Console
- Select the region you will be working in
- Select the Services Dropdown from the Top Left
- Type SAM
- Click Serverless Application Repository
- Check the "Show apps that create custom IAM roles or resource problems"
- Type JstVerify into the search bar
- Select JstVerify
- Scroll down to the bottom
- Check "I acknowledge that this app creates custom IAM roles and resource policies"
- Click Deploy
Setting Up Tests in Code Pipeline
This shows the steps for setting up the tests in your Code Pipeline
- Log into AWS Console
- Select the region you will be working in
- Select the Services Dropdown from the Top Left
- Type CodePipeline
- Click CodePipeline
- Go into the Pipeline where you wish to have your testing
- Edit your Pipeline
- Add/Edit a Stage
- Add an Action Group
- Name the Action something relevant to what it will be testing
- For Action Provider Select "Custom JstVerify"
- Put the Test name exactly as it is found in the JstVerify Dashboard into the "JstVerifyTestName"
- Click Done
- Please note that you can have more than one test per action, the limit is based on your Subscription level