AndreiBarbuOz / dockerized-robot

Dockerized UiPath Robot used in CI/CD pipelines

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UiPath Dockerized Robot for CI/CD pipelines

Build Status

A Docker image containing the UiPath Robot and the UiPath Orchestrator API Powershell module. Intended purpose to be used as part of a CI/CD pipeline.

Content

  • A Dockerfile which builds a dockerized UiRobot along with the UiPath Powershell module
  • The AWS build script, also pushing the image to an ECR repository

Building the docker image

Test locally with:

docker build -t uipath-robot .

Run locally with:

docker run -it uipath-robot

Building on Azure DevOps

architecture

  1. Create an account with Azure and a subscription within the account.
  2. Create a resource group and an Azure Container Registry within the RG.
  3. Create a project on Azure DevOps.
  4. Create a starter pipeline within the project, triggered by the GitHub repository hosting the code. Go through the steps to create the service principal on Azure which will allow the Azure DevOps pipeline to push the images to the ACR.
  5. git push -u origin on branch master to trigger the pipeline and build the dockerized uipath-robot

Azure devops prerequisites:

A variable named uipath-cicd group needs to be defined in the Azure DevOps project, containing at least these 2 variables:

  • repositoryName: containing the container repository name
  • containerRegistry: containing the container registry connection (can be found on the Project -> service connections page in the DevOps portal)

About

Dockerized UiPath Robot used in CI/CD pipelines

License:MIT License


Languages

Language:Dockerfile 53.8%Language:PowerShell 46.2%