Skip to content

Commit

Permalink
GH-124 - Merge changes to master (#136)
Browse files Browse the repository at this point in the history
* Update valid versions
* Update CHANGELOG.md
* GH-121: Update valid-supported versions (add not released 14.0.1, 14.0.2)
* GH-126: Restore mock database has a fixed sqlserver2014 path to the demo or empty database
* GH-126: Update CHANGELOG
* GH-128: Update valid/supported versions (released 14.0.2, unreleased 15.0.0 and 14.0.3) 
* Install .NET Core Hosting (#130)
* fix ISHServerVersion ValidateSet (#131)
* Revert "Install-ISHDotNetHosting for 14.0.3 (#132)" (#134)
* GH-123 - Review-README,-CHANGELOG,-RELEASNOTES, ... (#135)

Co-authored-by: Pascal Beutels <pbeutels@sdl.com>
Co-authored-by: Alexander Kuzmin <42138790+olekuz@users.noreply.github.com>
Co-authored-by: Oleksandr Kuzmin <okuzmin@sdl.com>
  • Loading branch information
4 people authored Nov 26, 2020
1 parent 1f3dcfe commit 4637f15
Show file tree
Hide file tree
Showing 15 changed files with 64 additions and 21 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# Change log

## release v1.4

- GH-130: Install .NET Core Hosting (future v15.0.0)
- GH-128: Update valid/supported versions (released 14.0.2, 14.0.3 and unreleased 15.0.0)
- GH-119: Update valid/supported versions (released: 13.0.1, 13.0.2, 14.0.0, not released 14.0.1)
- GH-121: Update valid/supported versions (add not released 14.0.2)
- GH-126: Restore mock database has a fixed sqlserver2014 path to the demo or empty database. Use wildcard.

## release v1.3

- GH-111: Packer - Provide the correct ps_java_... inputparameters
- GH-107: Changes required for new 'ISHCS' web application (InstallTool inputparameters)
- GH-102: Database - Add the option to restore the Demo or and Empty database from the ISHCD as local/'mock' database
- GH-101: DevelopFriendly - Improve PowerShell scripts to help in troubleshooting instances
Expand Down
3 changes: 1 addition & 2 deletions Source/Bake-ISHFromAWSS3.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
param(
[Parameter(Mandatory=$true,ParameterSetName="Default Authorization")]
[Parameter(Mandatory=$true,ParameterSetName="Custom Authorization")]
[ValidateSet("12.0.3","12.0.4","13.0.0","13.0.1","13.0.2","14.0.0")]
[ValidateSet("12.0.3","12.0.4","13.0.0","13.0.1","13.0.2","14.0.0","14.0.1","14.0.2","14.0.3","15.0.0")]
[string]$ISHVersion,
[Parameter(Mandatory=$false,ParameterSetName="Default Authorization")]
[Parameter(Mandatory=$false,ParameterSetName="Custom Authorization")]
Expand Down Expand Up @@ -61,4 +61,3 @@ if($PSCmdlet.ParameterSetName -eq "Custom Authorization")
$hash.ConnectionString=$MockConnectionString

& $buildersPath\Initialize-ISHImage.ps1 @hash -ISHVersion $ishVersion

4 changes: 2 additions & 2 deletions Source/Builders/Database/Install-MockDatabaseServer.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
param(
[Parameter(Mandatory=$true,ParameterSetName="Database")]
[ValidateSet("12.0.3","12.0.4","13.0.0","13.0.1","13.0.2","14.0.0")]
[ValidateSet("12.0.3","12.0.4","13.0.0","13.0.1","13.0.2","14.0.0","14.0.1","14.0.2","14.0.3","15.0.0")]
[string]$ISHVersion,
[Parameter(Mandatory=$false,ParameterSetName="Database")]
[string]$MockConnectionString=$null
Expand Down Expand Up @@ -29,7 +29,7 @@ if($mockDatabase)
switch -regex ($ISHVersion) {
'12.0.3|12.0.4' {$sql_express_download_url= $sql_express_2014_download_url}
'13.0.0|13.0.1' {$sql_express_download_url= $sql_express_2016_download_url}
'13.0.2|14.0.0' {$sql_express_download_url= $sql_express_2017_download_url}
'13.0.2|14.0.0|14.0.1|14.0.2|14.0.3|15.0.0' {$sql_express_download_url= $sql_express_2017_download_url}
default {$sql_express_download_url= $sql_express_2017_download_url}
}
$sqlExpressPath=Join-Path $PSScriptRoot "sqlexpress.exe"
Expand Down
4 changes: 2 additions & 2 deletions Source/Builders/Database/Restore-MockDatabase.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
param(
[Parameter(Mandatory=$true)]
[ValidateSet("12.0.3","12.0.4","13.0.0","13.0.1","13.0.2","14.0.0")]
[ValidateSet("12.0.3","12.0.4","13.0.0","13.0.1","13.0.2","14.0.0","14.0.1","14.0.2","14.0.3","15.0.0")]
[string]$ISHVersion,
[Parameter(Mandatory=$false)]
[switch]$EmptyDB
Expand Down Expand Up @@ -57,7 +57,7 @@ $segments=@(
$ishCDPath
"Database"
"Dump"
"SQLServer2014"
"SQLServer*"
)

if ($EmptyDB.IsPresent)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
param(
[Parameter(Mandatory=$true,ParameterSetName="From AWS S3")]
[Parameter(Mandatory=$true,ParameterSetName="From FTP")]
[ValidateSet("12.0.3","12.0.4","13.0.0","13.0.1","13.0.2","14.0.0")]
[ValidateSet("12.0.3","12.0.4","13.0.0","13.0.1","13.0.2","14.0.0","14.0.1","14.0.2","14.0.3","15.0.0")]
[string]$ISHVersion,
[Parameter(Mandatory=$false,ParameterSetName="From AWS S3")]
[Parameter(Mandatory=$false,ParameterSetName="From FTP")]
Expand Down
38 changes: 35 additions & 3 deletions Source/Builders/Default/New-ISHBootstrapAWSReferences.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
param(
[Parameter(Mandatory=$true)]
[ValidateSet("12.0.3","12.0.4","13.0.0","13.0.1","13.0.2","14.0.0")]
[ValidateSet("12.0.3","12.0.4","13.0.0","13.0.1","13.0.2","14.0.0","14.0.1","14.0.2","14.0.3","15.0.0")]
[string]$ISHVersion
)

Expand Down Expand Up @@ -51,10 +51,42 @@ switch($ISHVersion) {
}
'14.0.0' {
$hash=@{
BucketName="sct-notreleased"
BucketName="sct-released"
ISHServerFolder="InfoShare/14.0/PreRequisites"
ISHCDFolder="InfoShare/14.0/"
ISHCDFileName="20190705.CD.InfoShare.14.0.3105.0.Trisoft-DITA-OT.exe"
}
}
'14.0.1' {
$hash=@{
BucketName="sct-released"
ISHServerFolder="InfoShare/14.0/PreRequisites"
ISHCDFolder="InfoShare/14.0/"
ISHCDFileName="20191206.CD.InfoShare.14.0.3606.1.Trisoft-DITA-OT.exe"
}
}
'14.0.2' {
$hash=@{
BucketName="sct-released"
ISHServerFolder="InfoShare/14.0/PreRequisites"
ISHCDFolder="InfoShare/14.0/"
ISHCDFileName="20200501.CD.InfoShare.14.0.4101.2.Trisoft-DITA-OT.exe"
}
}
'14.0.3' {
$hash=@{
BucketName="sct-released"
ISHServerFolder="InfoShare/14.0/PreRequisites"
ISHCDFolder="InfoShare/14.0/"
ISHCDFileName="20181026a.CD.InfoShare.14.0.2226.0.Test.Trisoft-DITA-OT.exe"
ISHCDFileName="20200701.CD.InfoShare.14.0.4301.3.Trisoft-DITA-OT.exe"
}
}
'15.0.0' {
$hash=@{
BucketName="sct-notreleased"
ISHServerFolder="InfoShare/15.0/PreRequisites"
ISHCDFolder="InfoShare/15.0/"
ISHCDFileName="20200630.CD.InfoShare.15.0.630.0.Trisoft-DITA-OT.exe"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Source/Builders/Initialize-ISHImage.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
param(
[Parameter(Mandatory=$true,ParameterSetName="From FTP")]
[Parameter(Mandatory=$true,ParameterSetName="From AWS S3")]
[ValidateSet("12.0.3","12.0.4","13.0.0","13.0.1","13.0.2","14.0.0")]
[ValidateSet("12.0.3","12.0.4","13.0.0","13.0.1","13.0.2","14.0.0","14.0.1","14.0.2","14.0.3","15.0.0")]
[string]$ISHVersion,
[Parameter(Mandatory=$false,ParameterSetName="From FTP")]
[Parameter(Mandatory=$false,ParameterSetName="From AWS S3")]
Expand Down
2 changes: 1 addition & 1 deletion Source/Server/ISHServer/Copy-ISHCD.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ param (
[Parameter(Mandatory=$false)]
[pscredential]$Credential=$null,
[Parameter(Mandatory=$true)]
[ValidateSet("12","13","14")]
[ValidateSet("12","13","14","15")]
[string]$ISHServerVersion,
[Parameter(Mandatory=$true,ParameterSetName="From FTP")]
[string]$FTPHost,
Expand Down
2 changes: 1 addition & 1 deletion Source/Server/ISHServer/Get-ISHServerPrerequisites.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ param (
[Parameter(Mandatory=$false)]
[pscredential]$Credential=$null,
[Parameter(Mandatory=$true)]
[ValidateSet("12","13","14")]
[ValidateSet("12","13","14","15")]
[string]$ISHServerVersion,
[Parameter(Mandatory=$true,ParameterSetName="From FTP")]
[string]$FTPHost,
Expand Down
2 changes: 1 addition & 1 deletion Source/Server/ISHServer/Initialize-ISHServerOSUser.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ param (
[PSCredential]$OSUserCredential,
[Parameter(Mandatory=$true,ParameterSetName="Local")]
[Parameter(ParameterSetName="Remote")]
[ValidateSet("12","13","14")]
[ValidateSet("12","13","14","15")]
[string]$ISHServerVersion
)
$cmdletsPaths="$PSScriptRoot\..\..\Cmdlets"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ param (
[Parameter(Mandatory=$true)]
[PSCredential]$OSUserCredential,
[Parameter(Mandatory=$true)]
[ValidateSet("12","13","14")]
[ValidateSet("12","13","14","15")]
[string]$ISHServerVersion
)
$cmdletsPaths="$PSScriptRoot\..\..\Cmdlets"
Expand Down
9 changes: 6 additions & 3 deletions Source/Server/ISHServer/Install-ISHServerPrerequisites.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ param (
[Parameter(Mandatory=$false)]
[pscredential]$Credential=$null,
[Parameter(Mandatory=$true)]
[ValidateSet("12","13","14")]
[ValidateSet("12","13","14","15")]
[string]$ISHServerVersion,
[Parameter(Mandatory=$false)]
[switch]$InstallOracle=$false,
Expand Down Expand Up @@ -64,7 +64,7 @@ try
{
Install-ISHToolMSXML4
}
if($ISHServerVersion -eq "14")
if($ISHServerVersion -ge "14")
{
Install-ISHToolAdoptOpenJRE
Install-ISHToolAdoptOpenJDK
Expand All @@ -80,7 +80,10 @@ try
{
Install-ISHToolOracleODAC
}

if($ISHServerVersion -eq "15")
{
Install-ISHDotNetHosting
}
Write-Progress @scriptProgress -Status "Initializing"
Initialize-ISHLocale
Initialize-ISHIIS
Expand Down
2 changes: 1 addition & 1 deletion Source/Server/ISHServer/Set-ISHAntennaHouseLicense.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ param (
[Parameter(Mandatory=$false)]
[pscredential]$Credential=$null,
[Parameter(Mandatory=$true)]
[ValidateSet("12","13","14")]
[ValidateSet("12","13","14","15")]
[string]$ISHServerVersion,
[Parameter(Mandatory=$true,ParameterSetName="From FTP")]
[string]$FTPHost,
Expand Down
2 changes: 1 addition & 1 deletion Source/Server/ISHServer/Test-SupportedServer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ param (
[Parameter(Mandatory=$false)]
[pscredential]$Credential=$null,
[Parameter(Mandatory=$true)]
[ValidateSet("12","13","14")]
[ValidateSet("12","13","14","15")]
[string]$ISHServerVersion
)
$cmdletsPaths="$PSScriptRoot\..\..\Cmdlets"
Expand Down
2 changes: 1 addition & 1 deletion Source/Server/ISHServer/Upload-ISHServerPrerequisites.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ param (
[Parameter(Mandatory=$true)]
[string]$PrerequisitesSourcePath,
[Parameter(Mandatory=$true)]
[ValidateSet("12","13","14")]
[ValidateSet("12","13","14","15")]
[string]$ISHServerVersion
)
$cmdletsPaths="$PSScriptRoot\..\..\Cmdlets"
Expand Down

0 comments on commit 4637f15

Please sign in to comment.