From 5dc4c713d603c91d12071734d19553d5e7e5641d Mon Sep 17 00:00:00 2001 From: Stephan Szabo Date: Mon, 23 Aug 2021 11:47:58 -0700 Subject: [PATCH 1/2] Add AWS safe windows-1809 based image Like we saw with 1809, we're having problems running certain executables on windows-1809. So, for now, add a windows-aws like aws on the newest base that works for us. --- .drone.jsonnet | 2 ++ Build-All.ps1 | 2 +- Publish-All.ps1 | 2 +- base/Dockerfile.windows-aws | 6 ++++++ 4 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 base/Dockerfile.windows-aws diff --git a/.drone.jsonnet b/.drone.jsonnet index 37cb48a..d723c92 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -22,6 +22,8 @@ local tags = [ 'windows-1909', 'windows-2004', 'windows-20H2', + 'aws', + 'windows-aws' ]; local pipeline_name(tag) = diff --git a/Build-All.ps1 b/Build-All.ps1 index 3eabfb9..be91a23 100644 --- a/Build-All.ps1 +++ b/Build-All.ps1 @@ -1,6 +1,6 @@ param( [Parameter(Mandatory)] - [ValidateSet('1809','1903','1909','2004','20H2','windows-1809','windows-1903','windows-1909','windows-2004','windows-20H2','aws')] + [ValidateSet('1809','1903','1909','2004','20H2','windows-1809','windows-1903','windows-1909','windows-2004','windows-20H2','aws', 'windows-aws')] [string]$tag ) diff --git a/Publish-All.ps1 b/Publish-All.ps1 index d0ede24..303acac 100644 --- a/Publish-All.ps1 +++ b/Publish-All.ps1 @@ -1,6 +1,6 @@ param( [Parameter(Mandatory)] - [ValidateSet('1809','1903','1909','2004','20H2','windows-1809','windows-1903','windows-1909','windows-2004','windows-20H2','aws')] + [ValidateSet('1809','1903','1909','2004','20H2','windows-1809','windows-1903','windows-1909','windows-2004','windows-20H2','aws', 'windows-aws')] [string]$tag ) diff --git a/base/Dockerfile.windows-aws b/base/Dockerfile.windows-aws new file mode 100644 index 0000000..dc62ed9 --- /dev/null +++ b/base/Dockerfile.windows-aws @@ -0,0 +1,6 @@ +FROM mcr.microsoft.com/windows:1809@sha256:bf5f60839adcb5cfd775243bb86069deb88083217c656c456d90fbb685369aa5 + +SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] + +RUN Set-ExecutionPolicy -ExecutionPolicy RemoteSigned; + From 26f4633533947d52f5e08daea3e90b5d919c0843 Mon Sep 17 00:00:00 2001 From: Stephan Szabo Date: Mon, 23 Aug 2021 14:40:44 -0700 Subject: [PATCH 2/2] Add windows-aws to ignore from renovate --- renovate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/renovate.json b/renovate.json index 948b594..d6656ba 100644 --- a/renovate.json +++ b/renovate.json @@ -7,6 +7,7 @@ "dockerfile": { "ignorePaths": [ "base/Dockerfile.aws", + "base/Dockerfile.windows-aws", "scripts/", "scm/", "tools/",