Prerequisites

Ensure the following requirements are fulfilled before integrating CI CD Harness with Avo Assure.

  1. Harness Username

  2. Harness Password

  3. Ensure you have installed and configure Docker with infrastructures.

  4. Ensure delegate have Cloud Avo Assure Client and it should be run as Custome delegate.

  5. To trigger the Avo Assure Client as an image, the custom delegate must be installed, active, and connected within the Harness Project.

Add Delegate to the Harness Project

Step-by-step instructions to add Delegate to the Harness Project.

  1. Navigate to Harness application.

  2. Select Account Settings option from the right pane of the Harness home page.

  3. Click Delegates option from the Account-level resources section.

  1. Click Install a Delegate button to bring the New Delegate window.

  1. To install Delegate in Harness we have two options.

    1. Kubernetes

    2. Docker

a. Docker

Steps after selecting Docker as option.

1. Enter the Name in the Delegate Name textbox.

2. Click Copy icon to copy the command to install Delegate.

Note: Past the copied command into the Notepad to use feather.

3. Open the Command Prompt in system and pull the Avo Assure Client Image in Command prompt and run it.

4. Past the copied command to the Command prompt which is copied from the New Delegate window in Harness.

Note: Ones the delegate run successful in command prompt you can see the status in the Account Resources: Delegates window.

Integrate the Delegate as a step in Harness Pipeline

Note: Most CI/CD tools support multiple scripting languages for pipeline execution (such as cURL, Javascript, Python, PowerShell- RestMethod, Shell- wget). In this documentation, we have provided an example using ShellScript. User can use other supported languages as needed.

Step-by-step instructions to add Delegate as a step in Harness Pipeline.

1. Navigate to the projects section in Harness and select Project

2. Navigate to the Pipeline that already has test steps, if not create a new pipeline to add Avo’s custom delegate with a shell script step.

3. Add Avo Assure as a pipeline step and select the running delegate in the Advance options Menu. This pipeline step has to run a shell script.

Last updated

Was this helpful?