AndreiBarbuOz / dockerized-robot

Dockerized UiPath Robot used in CI/CD pipelines
MIT License
21 stars 22 forks source link
cicd docker-image rpa uipath uipath-robot

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

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: