Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AndreiBarbuOz/dockerized-robot
Dockerized UiPath Robot used in CI/CD pipelines
https://github.com/AndreiBarbuOz/dockerized-robot
cicd docker-image rpa uipath uipath-robot
Last synced: 3 months ago
JSON representation
Dockerized UiPath Robot used in CI/CD pipelines
- Host: GitHub
- URL: https://github.com/AndreiBarbuOz/dockerized-robot
- Owner: AndreiBarbuOz
- License: mit
- Created: 2019-03-14T05:58:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-31T14:52:15.000Z (over 4 years ago)
- Last Synced: 2024-06-24T01:03:24.338Z (4 months ago)
- Topics: cicd, docker-image, rpa, uipath, uipath-robot
- Language: Dockerfile
- Size: 19.5 KB
- Stars: 21
- Watchers: 2
- Forks: 22
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-rpa - UiPath Dockerized Robot & CI/CD pipelines
README
# UiPath Dockerized Robot for CI/CD pipelines
[![Build Status](https://dev.azure.com/andbarbu0717/UiPath%20Good%20Practices/_apis/build/status/AndreiBarbuOz.dockerized-robot?branchName=master)](https://dev.azure.com/andbarbu0717/UiPath%20Good%20Practices/_build/latest?definitionId=9&branchName=master)
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:
```cmd
docker build -t uipath-robot .
```
Run locally with:
```cmd
docker run -it uipath-robot
```## Building on Azure DevOps
[![architecture](https://www.lucidchart.com/publicSegments/view/b3bd76c8-6f40-4588-b887-f2b87d480e16/image.png)](https://www.lucidchart.com/publicSegments/view/b3bd76c8-6f40-4588-b887-f2b87d480e16/image.png)
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)