-
Notifications
You must be signed in to change notification settings - Fork 21
Upgrade Windows WorkerTools to ltsc2025 #122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
octonautcal
wants to merge
8
commits into
main
Choose a base branch
from
cal/md-1763-add-a-windowsltsc2025-workertools-build
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
045089d
Upgrade Windows WorkerTools(noop)
octonautcal edb3ecb
Add Windows LTSC 2025 worker tools build
octonautcal 30ebd27
test using cicd
octonautcal 124e7fe
update
octonautcal 1585883
parsing errors
octonautcal 48206eb
pin helm back to helm 3
octonautcal 85e8f5e
Remove github workflow
octonautcal 7a87a91
Small fixes
octonautcal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,127 @@ | ||
| # escape=` | ||
|
|
||
| FROM mcr.microsoft.com/dotnet/framework/runtime:4.8.1-20260512-windowsservercore-ltsc2025 | ||
| SHELL ["powershell", "-Command"] | ||
|
|
||
| ARG 7Zip_Version=26.0.0 | ||
| ARG Argo_Cli_Version=3.4.2 | ||
| ARG Aws_Cli_Version=2.34.53 | ||
| ARG Aws_Iam_Authenticator_Version=0.7.16 | ||
| ARG Aws_Powershell_Version=5.0.218 | ||
| ARG Azure_Cli_Version=2.86.0 | ||
| ARG Azure_Powershell_Version=15.6.1 | ||
| ARG Eks_Cli_Version=0.226.0 | ||
| ARG Git_Version=2.54.0 | ||
| ARG Google_Cloud_Cli_Version=569.0.0 | ||
| ARG Helm_Version=3.21.0 | ||
| ARG Java_Jdk_Version=25.0.0.1 | ||
| ARG Kubectl_Version=1.36.1 | ||
| ARG Kubelogin_Version=0.2.17 | ||
| ARG Node_Version=24.16.0 | ||
| ARG Octopus_Cli_Legacy_Version=9.1.7 | ||
| ARG Octopus_Cli_Version=2.21.1 | ||
| ARG Octopus_Client_Version=21.11.2726 | ||
| ARG Powershell_Version=7.6.1 | ||
| ARG Python_Version=3.14.5 | ||
| ARG ScriptCs_Version=0.17.1 | ||
| ARG Terraform_Version=1.15.4 | ||
|
|
||
| # Install Choco | ||
| RUN $ProgressPreference = 'SilentlyContinue'; ` | ||
| Set-ExecutionPolicy Bypass -Scope Process -Force; ` | ||
| [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; ` | ||
| iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | ||
|
|
||
| # Install dotnet 8.0+ | ||
| RUN Invoke-WebRequest 'https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1' -outFile 'dotnet-install.ps1'; ` | ||
| [Environment]::SetEnvironmentVariable('DOTNET_CLI_TELEMETRY_OPTOUT', '1', 'Machine'); ` | ||
| .\dotnet-install.ps1 -Channel '8.0'; ` | ||
| rm dotnet-install.ps1 | ||
|
|
||
| # Install JDK | ||
| RUN choco install openjdk --allow-empty-checksums --y --no-progress --version $Env:Java_Jdk_Version; ` | ||
| Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1; ` | ||
| Update-SessionEnvironment | ||
|
|
||
| # Install Azure CLI | ||
| RUN choco install azure-cli -y --version $Env:Azure_Cli_Version --no-progress | ||
|
|
||
| # remove az cli warning - https://github.com/Azure/arm-deploy/issues/173 | ||
| RUN az config set bicep.use_binary_from_path=false | ||
|
|
||
| # Install the AWS CLI | ||
| RUN choco install awscli -y --version $Env:Aws_Cli_Version --no-progress | ||
|
|
||
| # Install the AWS IAM Authenticator | ||
| RUN choco install aws-iam-authenticator -y --version $Env:Aws_Iam_Authenticator_Version --no-progress | ||
|
|
||
| # Install AWS PowerShell modules | ||
| # https://docs.aws.amazon.com/powershell/latest/userguide/pstools-getting-set-up-windows.html#ps-installing-awspowershellnetcore | ||
| RUN Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force; ` | ||
| Install-Module -name AWSPowerShell.NetCore -RequiredVersion $Env:Aws_Powershell_Version -Force | ||
|
|
||
| # Install Azure PowerShell modules | ||
| # https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-3.6.1 | ||
| RUN Install-Module -Force -Name Az -AllowClobber -Scope AllUsers -MaximumVersion $Env:Azure_Powershell_Version; ` | ||
| Enable-AzureRmAlias -Scope LocalMachine | ||
|
|
||
| # Install NodeJS | ||
| RUN choco install nodejs-lts -y --version $Env:Node_Version --no-progress | ||
|
|
||
| # Install kubectl | ||
| RUN Invoke-WebRequest "https://dl.k8s.io/release/v${Env:Kubectl_Version}/bin/windows/amd64/kubectl.exe" -OutFile .\kubectl.exe; ` | ||
| mv .\kubectl.exe C:\Windows\system32\; | ||
|
|
||
| # Install Kubelogin | ||
| RUN choco install azure-kubelogin --version $Env:Kubelogin_Version --no-progress -y | ||
|
|
||
| # Install helm 3 | ||
| RUN Invoke-WebRequest "https://get.helm.sh/helm-v${Env:Helm_Version}-windows-amd64.zip" -OutFile helm.zip; ` | ||
| Expand-Archive helm.zip -DestinationPath helm; ` | ||
| mv helm\windows-amd64\helm.exe C:\Windows\system32\; ` | ||
| Remove-Item -Recurse -Force helm, helm.zip | ||
|
|
||
| # Install Terraform | ||
| RUN choco install -y terraform --version $Env:Terraform_Version --no-progress | ||
|
|
||
| # Install python | ||
| RUN choco install -y python3 --version $Env:Python_Version --no-progress; ` | ||
| Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1; ` | ||
| Update-SessionEnvironment | ||
|
|
||
| # Install 7ZIP because gcloud | ||
| RUN choco install 7zip -y --version $Env:7Zip_Version --no-progress | ||
|
|
||
| # Install gcloud | ||
| RUN choco install gcloudsdk -y --version $Env:Google_Cloud_Cli_Version --no-progress | ||
|
|
||
| # Install gcloud kubectl auth | ||
| RUN gcloud components install gke-gcloud-auth-plugin --quiet | ||
|
|
||
| # Install ScriptCS | ||
| RUN choco install scriptcs -y --version $Env:ScriptCs_Version --no-progress | ||
|
|
||
| # Install Octopus CLI | ||
| RUN choco install octopus-cli -y --version $Env:Octopus_Cli_Version --no-progress | ||
|
|
||
| # Install octo | ||
| RUN choco install octopustools -y --version $Env:Octopus_Cli_Legacy_Version --no-progress | ||
|
|
||
| # Install Octopus Client | ||
| RUN Install-Package Octopus.Client -source https://www.nuget.org/api/v2 -SkipDependencies -Force -RequiredVersion $Env:Octopus_Client_Version | ||
|
|
||
| # Install eksctl | ||
| RUN choco install eksctl -y --version $Env:Eks_Cli_Version --no-progress | ||
|
|
||
| # Install Powershell Core | ||
| RUN choco install powershell-core --yes --version $Env:Powershell_Version --no-progress | ||
|
|
||
| # Install Git | ||
| RUN choco install git.install --yes --version $Env:Git_Version --no-progress | ||
|
|
||
| # Install Argo CD | ||
| RUN choco install argocd-cli --yes --version $Env:Argo_Cli_Version --no-progress | ||
|
|
||
| # Update path for new tools | ||
| ADD .\scripts\update_path.cmd C:\update_path.cmd | ||
| RUN .\update_path.cmd; | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| # Windows WorkerTools | ||
|
|
||
| > Please note that we update this document periodically to match the latest version on DockerHub which is publicly available. | ||
| > This does not necessarily match the content of Dockerfiles in this repository, as they may contain changes that are not released yet. | ||
|
|
||
| ## Image Name | ||
|
|
||
| `octopusdeploy/worker-tools` | ||
|
|
||
| ## Tags | ||
|
|
||
| - `6.0.0-windows.ltsc2025` | ||
| - `6.0-windows.ltsc2025` | ||
| - `6-windows.ltsc2025` | ||
| - `windows.ltsc2025` | ||
|
|
||
| ## Digest | ||
|
|
||
| `<populated after first publish>` | ||
|
|
||
| ## Base Image | ||
|
|
||
| `mcr.microsoft.com/windows/servercore:ltsc2025-amd64` | ||
|
|
||
| ## Installed Software | ||
|
|
||
| - Argo CD CLI 3.4.2 | ||
| - Aws CLI 2.34.53 | ||
| - Aws Iam Authenticator 0.7.16 | ||
| - Aws PowerShell Modules 5.0.218 | ||
| - Azure CLI 2.86.0 | ||
| - Azure PowerShell Modules 15.6.1 | ||
| - Eksctl 0.226.0 | ||
| - Google Cloud CLI 569.0.0 | ||
| - Google Cloud GKE auth plugin 569.0.0-0 | ||
| - Helm 3.21.0 | ||
| - Java Jdk 25.0.0.1 | ||
| - Kubectl 1.36.1 | ||
| - Kubelogin (azure-kubelogin) 0.2.17 | ||
| - Node 24.16.0 | ||
| - Octopus CLI Legacy 9.1.7 | ||
| - Octopus CLI 2.21.1 | ||
| - Octopus Client 21.11.2726 | ||
| - Powershell 7.6.1 | ||
| - Python 3.14.5 | ||
| - ScriptCs 0.17.1 | ||
| - Terraform 1.15.4 | ||
| - 7Zip 26.0 | ||
| - Chocolatey - Latest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| ARG ContainerUnderTest=octopusdeploy/worker-tools | ||
|
|
||
| FROM ${ContainerUnderTest} | ||
| SHELL ["powershell", "-Command"] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dotnet 10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
based it off a current release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
base it off latest image of dotnet 10