Skip to content

Commit 50eee17

Browse files
committed
changed master references and updated docs for marketplace
1 parent 3b297e4 commit 50eee17

File tree

14 files changed

+42
-23
lines changed

14 files changed

+42
-23
lines changed

AWS/Terraform/Orchestrator/multi-node/data-templates.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if("${var.admin_password}"){
1414
1515
1616
$temp = "C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts"
17-
$link = "https://raw.githubusercontent.com/UiPath/Infrastructure/master/Setup/Install-UiPathOrchestrator.ps1"
17+
$link = "https://raw.githubusercontent.com/UiPath/Infrastructure/main/Setup/Install-UiPathOrchestrator.ps1"
1818
$file = "Install-UiPathOrchestrator.ps1"
1919
New-Item $temp -ItemType directory
2020
Set-Location -Path $temp

AWS/Terraform/Orchestrator/single-node/data-template.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ data "template_file" "init" {
1010
$admin.SetPassword("${var.admin_password}")
1111
### end of remove this if you don't want to setup a password for local admin account ###
1212
$temp = "C:\ProgramData\Amazon\EC2-Windows\Launch\Scripts"
13-
$link = "https://raw.githubusercontent.com/UiPath/Infrastructure/master/Setup/Install-UiPathOrchestrator.ps1"
13+
$link = "https://raw.githubusercontent.com/UiPath/Infrastructure/main/Setup/Install-UiPathOrchestrator.ps1"
1414
$file = "Install-UiPathOrchestrator.ps1"
1515
New-Item $temp -ItemType directory
1616
Set-Location -Path $temp

AWS/Terraform/Robots/data-template.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ data "template_file" "init" {
4141
Rename-Computer -NewName $newMachineName -Force
4242
4343
$temp = "C:\scripts"
44-
$link = "https://raw.githubusercontent.com/UiPath/Infrastructure/master/Setup/Install-UiRobot.ps1"
44+
$link = "https://raw.githubusercontent.com/UiPath/Infrastructure/main/Setup/Install-UiRobot.ps1"
4545
$file = "Install-UiRobot.ps1"
4646
New-Item $temp -ItemType directory
4747
Set-Location -Path $temp

Azure/Archive/Orchestrator/PaaS/Deploy/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# UiPathOrchestrator
22
[![HitCount](http://hits.dwyl.io/hteo1337/hteo1337/UiPathOrchestrator.svg)](http://hits.dwyl.io/hteo1337/hteo1337/UiPathOrchestrator)
33

4-
[![Build Status](https://dev.azure.com/hteo-dev/Orchestrator/_apis/build/status/hteo1337.UiPathOrchestrator?branchName=master)](https://dev.azure.com/hteo-dev/Orchestrator/_build/latest?definitionId=4&branchName=master)
4+
[![Build Status](https://dev.azure.com/hteo-dev/Orchestrator/_apis/build/status/hteo1337.UiPathOrchestrator?branchName=main)](https://dev.azure.com/hteo-dev/Orchestrator/_build/latest?definitionId=4&branchName=main)
55

66
This ARM template will deploy UiPath Orchestrator (WebApp - single/multi node with scale out and scale in settings, depending on the number of instances) with following resources:</br>
77
-App Service with UiPath Orchestrator </br>

Azure/Archive/Orchestrator/PaaS/Upgrade/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# UiPathOrchestrator
22
[![HitCount](http://hits.dwyl.io/hteo1337/hteo1337/UiPathOrchestrator.svg)](http://hits.dwyl.io/hteo1337/hteo1337/UiPathOrchestrator)
33

4-
[![Build Status](https://dev.azure.com/hteo-dev/Orchestrator/_apis/build/status/hteo1337.UiPathOrchestrator?branchName=master)](https://dev.azure.com/hteo-dev/Orchestrator/_build/latest?definitionId=4&branchName=master)
4+
[![Build Status](https://dev.azure.com/hteo-dev/Orchestrator/_apis/build/status/hteo1337.UiPathOrchestrator?branchName=main)](https://dev.azure.com/hteo-dev/Orchestrator/_build/latest?definitionId=4&branchName=main)
55

66
---
77
**WARNING, PLEASE READ BEFORE UPGRADING**

Azure/Archive/Robots/ScaleSet/azuredeploy.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
}
9999
},
100100
"variables": {
101-
"scriptUriBase": "https://raw.githubusercontent.com/UiPath/Infrastructure/master/Setup/Install-UiRobot.ps1",
101+
"scriptUriBase": "https://raw.githubusercontent.com/UiPath/Infrastructure/main/Setup/Install-UiRobot.ps1",
102102
"HostingType": "Standard",
103103
"CredentialType": "Default",
104104
"scriptUriNamePieces": "[split(variables('scriptUriBase'), '/')]",

Azure/Archive/Robots/VM/azuredeploy.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
}
117117
},
118118
"variables": {
119-
"scriptUriBase": "https://raw.githubusercontent.com/UiPath/Infrastructure/master/Setup/Install-UiRobot.ps1",
119+
"scriptUriBase": "https://raw.githubusercontent.com/UiPath/Infrastructure/main/Setup/Install-UiRobot.ps1",
120120
"HostingType": "Standard",
121121
"CredentialType": "Default",
122122
"vmName": "[parameters('virtualMachineName')]",

Azure/ReadMe.md

+27-8
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ https://docs.github.com/en/free-pro-team@latest/github/getting-started-with-gith
2525
``` cmd
2626
git clone https://github.com/<github username>/Infrastructure.git
2727
```
28-
4. Change directory to `Setup` and run script `Set-DeploymentConfiguration.ps1` with either -Robot or -Orchestrator, depending on what you need:
28+
4. Change directory to `Setup` and run script `Set-DeploymentConfiguration.ps1` with either -UiPathSolution Robot or -UiPathSolution Orchestrator, depending on what you need:
2929
```powershell
3030
cd Setup
31-
./Set-DeploymentConfiguration.ps1 -Orchestrator #or -Robot
31+
./Set-DeploymentConfiguration.ps1 -UiPathSolution Orchestrator #or Robot
3232
```
3333
5. Upload the files from the `Upload` folder to Azure blob storage (or any other storage solution from where it can be downloaded using an URL). Paths are printed in the command line also.
3434
```bash
@@ -38,8 +38,8 @@ az storage blob upload --account-name <storage account name> --container-name <c
3838
az storage blob url --account-name <storage account name> --container-name <container name> --name <file name> --output tsv
3939

4040
# Example
41-
az storage blob upload --account-name azmktstorcloudautomation --container-name iondinica --name file.txt --file "D:\UpiPath\Setup\Upload\file.txt"
42-
az storage blob url --account-name azmktstorcloudautomation --container-name iondinica --name file.txt --output tsv
41+
az storage blob upload --account-name azmktstorage --container-name container --name file.txt --file "D:\UpiPath\Setup\Upload\file.txt"
42+
az storage blob url --account-name azmktstorage --container-name container --name file.txt --output tsv
4343
```
4444
6. Change URLs as follows (mainTemplate.json):
4545
### Robot:
@@ -76,13 +76,32 @@ az storage blob url --account-name azmktstorcloudautomation --container-name ion
7676
| `UtilityArtifactsPaaS.CleanUpOrchestrationResources` | **Binary**: Copy the URL forked repository in the `raw` format for the `<orchestratorVersion>/CleanUpOrchestrationResources.ps1` file. See example below. |
7777
| `UtilityArtifactsPaaS.DeployOrchestratorMainScript` | **Binary**: Copy the URL forked repository in the `raw` format for the `<orchestratorVersion>/Deploy-UiPathOrchestratorPaaS.ps1` file. See example below. |
7878

79-
Example for raw github files (text files):
79+
Example (text files) for raw github files (you can `right-click` -> `copy link` on the `raw` button):
8080
`https://raw.githubusercontent.com/<github username>/Infrastructure/main/Azure/<filename>.<text>`
81-
Example for raw github files (binary files):
81+
Example (binary files) for raw github files (you can `right-click` -> `copy link` on the `download` button):
8282
`https://github.com/UiPath/<github username>/raw/main/<PathToFile>/<filename>.<binary>`
8383

84-
7. Finally, run:
84+
7. Remove the following parameters from `mainTemplate.json`:
85+
```json
86+
"_artifactsLocation": {
87+
"type": "string",
88+
"metadata": {
89+
"description": "The base URI where artifacts required by this template are located including a trailing '/'"
90+
},
91+
"defaultValue": "[deployment().properties.templateLink.uri]"
92+
},
93+
"_artifactsLocationSasToken": {
94+
"type": "securestring",
95+
"metadata": {
96+
"description": "The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated. Use the defaultValue if the staging location is not secured."
97+
},
98+
"defaultValue": ""
99+
},
100+
```
101+
102+
8. Finally, run:
85103
```bash
104+
# If running from powershell add ` before the @ symbol!
86105
az deployment group create --name <deployment name> --resource-group <resource group name> --template-file <path to mainTemplate.json> --parameters @<parameters file>
87106
```
88-
8. You got yourself a new UiPath deployment, ENJOY!
107+
9. You got yourself a new UiPath deployment, ENJOY!

GCP/Terraform/Orchestrator/Multi-Node/metadata.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ data "template_file" "init" {
4848
4949
if(![System.IO.File]::Exists("C:\Program Files\Google\Compute Engine\metadata_scripts\orchinstall")){
5050
Set-ExecutionPolicy Unrestricted -force
51-
Invoke-WebRequest https://raw.githubusercontent.com/UiPath/Infrastructure/master/Setup/Install-UiPathOrchestrator.ps1 -OutFile "C:\Program Files\Google\Compute Engine\metadata_scripts\Install-UiPathOrchestrator.ps1"
51+
Invoke-WebRequest https://raw.githubusercontent.com/UiPath/Infrastructure/main/Setup/Install-UiPathOrchestrator.ps1 -OutFile "C:\Program Files\Google\Compute Engine\metadata_scripts\Install-UiPathOrchestrator.ps1"
5252
powershell.exe -ExecutionPolicy Bypass -File "C:\Program Files\Google\Compute Engine\metadata_scripts\Install-UiPathOrchestrator.ps1" -orchestratorversion "${var.orchestrator_version}" -passphrase "${var.orchestrator_passphrase}" -databaseservername "${local.orchestrator_databaseservername}" -databasename "${local.orchestrator_databasename}" -databaseusername "${local.orchestrator_databaseusername}" -databaseuserpassword "${local.orchestrator_databaseuserpassword}" -orchestratoradminpassword "${var.orchestrator_orchestratoradminpassword}" -redisServerHost "${local.redis_host}:${local.redis_port}"
5353
New-Item "C:\Program Files\Google\Compute Engine\metadata_scripts\orchinstall" -type file
5454
#Start-Sleep -Seconds 10 ; Restart-Computer -Force

GCP/Terraform/Orchestrator/Single-Node/metadata.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ data "template_file" "init" {
3737
3838
if(![System.IO.File]::Exists("C:\Program Files\Google\Compute Engine\metadata_scripts\orchinstall")){
3939
Set-ExecutionPolicy Unrestricted -force
40-
Invoke-WebRequest https://raw.githubusercontent.com/UiPath/Infrastructure/master/Setup/Install-UiPathOrchestrator.ps1 -OutFile "C:\Program Files\Google\Compute Engine\metadata_scripts\Install-UiPathOrchestrator.ps1"
40+
Invoke-WebRequest https://raw.githubusercontent.com/UiPath/Infrastructure/main/Setup/Install-UiPathOrchestrator.ps1 -OutFile "C:\Program Files\Google\Compute Engine\metadata_scripts\Install-UiPathOrchestrator.ps1"
4141
powershell.exe -ExecutionPolicy Bypass -File "C:\Program Files\Google\Compute Engine\metadata_scripts\Install-UiPathOrchestrator.ps1" -orchestratorversion "${var.orchestrator_version}" -passphrase "${var.orchestrator_passphrase}" -databaseservername "${var.orchestrator_databaseservername}" -databasename "${var.orchestrator_databasename}" -databaseusername "${var.orchestrator_databaseusername}" -databaseuserpassword "${var.orchestrator_databaseuserpassword}" -orchestratoradminpassword "${var.orchestrator_orchestratoradminpassword}"
4242
New-Item "C:\Program Files\Google\Compute Engine\metadata_scripts\orchinstall" -type file
4343
#Start-Sleep -Seconds 10 ; Restart-Computer -Force

ML/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
## Installation steps
33
Run :
44

5-
```curl -fsSL https://raw.githubusercontent.com/UiPath/Infrastructure/master/ML/du_prereq_installer.sh | sudo bash -s -- --env cpu ``` for Serving environment </br>
5+
```curl -fsSL https://raw.githubusercontent.com/UiPath/Infrastructure/main/ML/du_prereq_installer.sh | sudo bash -s -- --env cpu ``` for Serving environment </br>
66
or </br>
7-
```curl -fsSL https://raw.githubusercontent.com/UiPath/Infrastructure/master/ML/du_prereq_installer.sh | sudo bash -s -- --env gpu ``` for Training environment
7+
```curl -fsSL https://raw.githubusercontent.com/UiPath/Infrastructure/main/ML/du_prereq_installer.sh | sudo bash -s -- --env gpu ``` for Training environment
88

99

1010
# Distros supported on cloud

ML/prereq_installer.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
55

66
if [[ "$distribution" = "rhel7"* ]]; then
7-
curl -fsSL https://raw.githubusercontent.com/UiPath/Infrastructure/master/ML/ml_prereqs_rhel7.sh | sh
7+
curl -fsSL https://raw.githubusercontent.com/UiPath/Infrastructure/main/ML/ml_prereqs_rhel7.sh | sh
88
elif [[ "$distribution" = "ubuntu"* ]]; then
9-
curl -fsSL https://raw.githubusercontent.com/UiPath/Infrastructure/master/ML/ml_prereqs_ubuntu16.sh | sh
9+
curl -fsSL https://raw.githubusercontent.com/UiPath/Infrastructure/main/ML/ml_prereqs_ubuntu16.sh | sh
1010
else
1111
echo "local OS is not supported"
1212
exit 1

OrangeFlexEngine/Terraform/Orchestrator/multi-node/data-tempaltes.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ $admin = [ADSI]("WinNT://./administrator, user")
1313
$admin.SetPassword("${var.admin_password}")
1414
### end of remove this if you don't want to setup a password for local admin account ###
1515
$temp = "C:\Temp"
16-
$link = "https://raw.githubusercontent.com/Mihai-CMM/Infrastructure/master/Setup/Install-UiPathOrchestrator.ps1"
16+
$link = "https://raw.githubusercontent.com/Mihai-CMM/Infrastructure/main/Setup/Install-UiPathOrchestrator.ps1"
1717
$file = "Install-UiPathOrchestrator.ps1"
1818
New-Item $temp -ItemType directory
1919
New-Item -Path "C:\Temp" -Name "log" -ItemType "directory"

OrangeFlexEngine/Terraform/Robots/data-template.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ data "template_file" "init" {
4040
Rename-Computer -NewName $newMachineName -Force
4141
4242
$temp = "C:\Temp"
43-
$link = "https://raw.githubusercontent.com/UiPath/Infrastructure/master/Setup/Install-UiRobot.ps1"
43+
$link = "https://raw.githubusercontent.com/UiPath/Infrastructure/main/Setup/Install-UiRobot.ps1"
4444
$file = "Install-UiRobot.ps1"
4545
New-Item $temp -ItemType directory
4646
New-Item -Path "C:\Temp" -Name "log" -ItemType "directory"

0 commit comments

Comments
 (0)