Update scripts and documentation with RC.2 version (#5688)

This commit is contained in:
Travis Plunk
2017-12-14 13:15:19 -08:00
committed by GitHub
parent 092413ae58
commit 02cc3db3fb
13 changed files with 116 additions and 105 deletions
+2 -2
View File
@@ -2,8 +2,8 @@
FROM amazonlinux:latest
ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc-linux-x64.tar.gz
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc.2-linux-x64.tar.gz
ARG IMAGE_NAME=microsoft/powershell:amazonlinux
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
+1 -1
View File
@@ -2,7 +2,7 @@
FROM centos:7
ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell:centos7
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
+1 -1
View File
@@ -2,7 +2,7 @@
FROM fedora:25
ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell:fedora25
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
+1 -1
View File
@@ -2,7 +2,7 @@
FROM fedora:26
ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell:fedora26
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
+2 -2
View File
@@ -10,7 +10,7 @@ ARG NanoServerRepo=microsoft/nanoserver
FROM ${WindowsServerCoreRepo}:$WindowsServerCoreVersion AS installer-env
# Arguments for installing powershell, must be defined in the container they are used
ARG PS_VERSION=6.0.0-rc
ARG PS_VERSION=6.0.0-rc.2
ENV PS_DOWNLOAD_URL https://github.com/PowerShell/PowerShell/releases/download/v$PS_VERSION/PowerShell-$PS_VERSION-win-x64.zip
@@ -25,7 +25,7 @@ RUN Expand-Archive powershell.zip -DestinationPath \PowerShell
FROM ${NanoServerRepo}:$NanoServerVersion
ARG VCS_REF="none"
ARG PS_VERSION=6.0.0-rc
ARG PS_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" `
+2 -2
View File
@@ -2,8 +2,8 @@
FROM opensuse:42.2
ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc-linux-x64.tar.gz
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG POWERSHELL_PACKAGE=powershell-6.0.0-rc.2-linux-x64.tar.gz
ARG IMAGE_NAME=microsoft/powershell:opensuse42.2
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
+1 -1
View File
@@ -2,7 +2,7 @@
FROM ubuntu:trusty
ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell:ubuntu14.04
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
+1 -1
View File
@@ -2,7 +2,7 @@
FROM ubuntu:xenial
ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell:ubuntu16.04
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" \
+2 -2
View File
@@ -1,8 +1,8 @@
# escape=`
FROM microsoft/windowsservercore:latest
ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc/PowerShell-6.0.0-rc-win-x64.msi
ARG POWERSHELL_VERSION=6.0.0-rc
ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-rc.2/PowerShell-6.0.0-rc.2-win-x64.msi
ARG POWERSHELL_VERSION=6.0.0-rc.2
ARG IMAGE_NAME=microsoft/powershell:windowsservercore
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>" `
+2 -2
View File
@@ -74,7 +74,7 @@ Describe "Linux Containers run PowerShell" -Tags 'Behavior', 'Linux' {
$path
)
Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc'
Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc.2'
}
}
@@ -99,6 +99,6 @@ Describe "Windows Containers run PowerShell" -Tags 'Behavior', 'Windows' {
$path
)
Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc'
Get-ContainerPowerShellVersion -TestContext $testContext -Name $Name -RepoName (Get-RepoName) | should be '6.0.0-rc.2'
}
}
+1 -1
View File
@@ -202,7 +202,7 @@ function Test-PSPackage
[Parameter(Mandatory=$true)]
$PSPackageLocation, # e.g. Azure storage
[string]
$PSVersion = "6.0.0-rc",
$PSVersion = "6.0.0-rc.2",
[string]
$TestList = "/PowerShell/test/powershell/Modules/PackageManagement/PackageManagement.Tests.ps1,/PowerShell/test/powershell/engine/Module"
)