Skip to content

Commit

Permalink
Merge pull request #217 from theMobiusStrip/master
Browse files Browse the repository at this point in the history
Update Workbench upgrade script
  • Loading branch information
theMobiusStrip committed Dec 11, 2019
2 parents 3347cc3 + bf38acd commit e6e08ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<#
.SYNOPSIS
Upgrades Azure Blockchain Workbench to version 1.7.3.
Upgrades Azure Blockchain Workbench to version 1.8.0.
.DESCRIPTION
Upgrades Azure Blockchain Workbench to version 1.7.3.
Upgrades Azure Blockchain Workbench to version 1.8.0.
.PARAMETER SubscriptionID
SubscriptionID to create or locate all resources.
Expand All @@ -24,16 +24,16 @@ None. You cannot pipe objects to this script.
None. This script does not generate any output.
.EXAMPLE
C:\tmp> .\azureBlockchainWorkbenchUpgradeTov1_7_3.ps1 -SubscriptionID "<subscription_id>" -ResourceGroupName "<workbench-resource-group-name>"
C:\tmp> .\azureBlockchainWorkbenchUpgradeTov1_8_0.ps1 -SubscriptionID "<subscription_id>" -ResourceGroupName "<workbench-resource-group-name>"
#>


param(
[Parameter(Mandatory = $true)][string]$SubscriptionID,
[Parameter(Mandatory = $true)][string]$ResourceGroupName,
[Parameter(Mandatory = $false)][string]$TargetDockerTag = "1.7.3",
[Parameter(Mandatory = $false)][string]$ArtifactsRoot = "https://catalogartifact.azureedge.net/publicartifacts/microsoft-azure-blockchain.azure-blockchain-workbench-fbfa6ed1-74c3-4c74-a0f8-373bf89b5fc8-azure-blockchain-workbench/Artifacts",
[Parameter(Mandatory = $false)][string]$TargetDockerTag = "1.8.0",
[Parameter(Mandatory = $false)][string]$ArtifactsRoot = "https://catalogartifact.azureedge.net/publicartifacts/microsoft-azure-blockchain.azure-blockchain-workbench-466ec686-381e-4fbc-856a-fd1e76aaddaa-azure-blockchain-workbench/Artifacts",
[Parameter(Mandatory = $false)][string]$DockerRepository = "blockchainworkbenchprod.azurecr.io",
[Parameter(Mandatory = $false)][string]$DockerLogin = $null,
[Parameter(Mandatory = $false)][string]$DockerPw = $null,
Expand Down Expand Up @@ -586,4 +586,4 @@ if ($TestApi) {
# Script exit
#############################################

Write-Output "Azure Blockchain Workbench in Resource Group $ResourceGroupName was successfully updated to version 1.7.3."
Write-Output "Azure Blockchain Workbench in Resource Group $ResourceGroupName was successfully updated to version 1.8.0."
2 changes: 1 addition & 1 deletion blockchain-workbench/scripts/upgrade/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ cd; Invoke-WebRequest -Uri https://aka.ms/workbenchUpgradeScript -OutFile azureB
When the upgrade completes, you will see the following message:

```powershell
Azure Blockchain Workbench in Resource Group $ResourceGroupName was successfully updated to version 1.7.3.
Azure Blockchain Workbench in Resource Group $ResourceGroupName was successfully updated to version 1.8.0.
```

Expand Down

0 comments on commit e6e08ef

Please sign in to comment.