bernardbdas / simplifyqa-azuredevops-tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimplifyQA Azure DevOps Tools

SimplifyQA Pipeline Executor Workflow

This guide provides instructions on using the simplifyqa-pipeline-executor Docker image to execute pipelines for the SimplifyQA application.

Table of Contents

Getting Started

To get started with the simplifyqa-pipeline-executor, you will need Docker and Docker Compose installed on your system. Follow the instructions below to set up and run the container.

Prerequisites

Ensure you have Docker and Docker Compose installed. You can download them from the following links:

Usage

Step 1: Pull the Docker Image

First, pull the latest simplifyqa-pipeline-executor image from Docker Hub.

docker pull bernardbdas/simplifyqa-pipeline-executor

Step 2: Building the services

Using docker run command

Run the Docker container using the docker run command. Make sure to replace the environment variable values with your actual configuration.

docker run -d \
  --name simplifyqa-pipeline-executor \
  -e INPUT_EXECTOKEN=U2FsdGVkX18vNvpp************************************************************************ \
  -e INPUT_APPURL=https://simplifyqa.app \
  -e INPUT_THRESHOLD=40 \
  -e INPUT_VERBOSE=true \
  -w /app \
  bernardbdas/simplifyqa-pipeline-executor \
  sh -c "node ./dist/src/index.js"

Using a docker-compose.yml File

Create a docker-compose.yml file with the following content:

version: '3.8'

services:
  simplifyqa-pipeline-executor:
    container_name: simplifyqa-pipeline-executor
    image: bernardbdas/simplifyqa-pipeline-executor
    environment:
      INPUT_EXECTOKEN: U2FsdGVkX18vNvpp************************************************************************
      INPUT_APPURL: https://simplifyqa.app
      INPUT_THRESHOLD: 40
      INPUT_VERBOSE: "true"
    command: >
      sh -c "node ./dist/src/index.js"
    working_dir: /app

Update the environment variables in the docker-compose.yml file according to your requirements. Refer to the Environment Variables section for details.

Step 3: Pull and Run the Docker Image

Use Docker Compose to pull the latest image and run the container.

docker-compose up -d

This command will pull the latest simplifyqa-pipeline-executor image from Docker Hub and start the service in detached mode.

Environment Variables

The simplifyqa-pipeline-executor service uses the following environment variables:

  • INPUT_EXECTOKEN: The execution token used for authentication.
  • INPUT_APPURL: The URL of the SimplifyQA application.
  • INPUT_THRESHOLD: The threshold value for the pipeline execution.
  • INPUT_VERBOSE: Set to true to enable verbose logging.
environment:
  INPUT_EXECTOKEN: U2FsdGVkX18vNvpp************************************************************************
  INPUT_APPURL: https://simplifyqa.app
  INPUT_THRESHOLD: 40
  INPUT_VERBOSE: "true"

Docker Compose Configuration

Below is the complete docker-compose.yml file used to configure and run the simplifyqa-pipeline-executor Docker image.

version: '3.8'

services:
  simplifyqa-pipeline-executor:
    container_name: simplifyqa-pipeline-executor
    image: bernardbdas/simplifyqa-pipeline-executor
    environment:
      INPUT_EXECTOKEN: U2FsdGVkX18vNvpp*****************************************************************
      INPUT_APPURL: https://simplifyqa.app
      INPUT_THRESHOLD: 40
      INPUT_VERBOSE: "true"
    command: >
      sh -c "node ./dist/src/index.js"
    working_dir: /app

Stopping the Service

To stop the service, use the following command:

docker-compose down

This command will stop and remove the containers defined in the docker-compose.yml file.

Additional Information

For more information on using Docker and Docker Compose, refer to the official documentation:

If you encounter any issues or have questions, please open an issue in the repository or contact the maintainer.

About