From 9a508ad52a5048bc6dcb223a7a719fdfe8ce4f25 Mon Sep 17 00:00:00 2001 From: Harrison Affel Date: Wed, 4 Sep 2024 13:21:27 -0400 Subject: [PATCH] bump rancher-wins to v0.4.18-rc1 --- package/Dockerfile | 2 +- package/windows/Dockerfile.agent | 2 +- pkg/settings/setting.go | 2 +- tests/v2/codecoverage/package/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package/Dockerfile b/package/Dockerfile index 2d0d0cc1976..52b3d1a1d29 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -68,7 +68,7 @@ ENV DOCKER_MACHINE_HARVESTER_VERSION v0.6.7 ENV CATTLE_KDM_BRANCH ${CATTLE_KDM_BRANCH} ENV HELM_VERSION v3.15.2 ENV KUSTOMIZE_VERSION v5.4.2 -ENV CATTLE_WINS_AGENT_VERSION v0.4.17 +ENV CATTLE_WINS_AGENT_VERSION v0.4.18-rc1 ENV CATTLE_WINS_AGENT_INSTALL_SCRIPT https://raw.githubusercontent.com/rancher/wins/${CATTLE_WINS_AGENT_VERSION}/install.ps1 ENV CATTLE_WINS_AGENT_UNINSTALL_SCRIPT https://raw.githubusercontent.com/rancher/wins/${CATTLE_WINS_AGENT_VERSION}/uninstall.ps1 ENV CATTLE_WINS_AGENT_UPGRADE_IMAGE rancher/wins:${CATTLE_WINS_AGENT_VERSION} diff --git a/package/windows/Dockerfile.agent b/package/windows/Dockerfile.agent index 0fc22b60efb..913563a3591 100644 --- a/package/windows/Dockerfile.agent +++ b/package/windows/Dockerfile.agent @@ -17,7 +17,7 @@ RUN go build -tags "${TAGS}" -ldflags "${LDFLAGS}" -o agent.exe ./cmd/agent FROM mcr.microsoft.com/windows/servercore:${SERVERCORE_VERSION} AS builder SHELL ["powershell", "-NoLogo", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] # download wins -RUN $URL = 'https://github.com/rancher/wins/releases/download/v0.4.17/wins.exe'; \ +RUN $URL = 'https://github.com/rancher/wins/releases/download/v0.4.18-rc1/wins.exe'; \ \ Write-Host ('Downloading Wins from {0} ...' -f $URL); \ curl.exe -sfL $URL -o c:\wins.exe; \ diff --git a/pkg/settings/setting.go b/pkg/settings/setting.go index 96e1cae319c..0b3521bb565 100644 --- a/pkg/settings/setting.go +++ b/pkg/settings/setting.go @@ -104,7 +104,7 @@ var ( CSIProxyAgentVersion = NewSetting("csi-proxy-agent-version", "") CSIProxyAgentURL = NewSetting("csi-proxy-agent-url", "https://acs-mirror.azureedge.net/csi-proxy/%[1]s/binaries/csi-proxy-%[1]s.tar.gz") SystemAgentInstallScript = NewSetting("system-agent-install-script", "https://github.com/rancher/system-agent/releases/download/v0.3.9-rc.4/install.sh") // To ensure consistency between SystemAgentInstallScript default value and CATTLE_SYSTEM_AGENT_INSTALL_SCRIPT to utilize the local system-agent-install.sh script when both values are equal. - WinsAgentInstallScript = NewSetting("wins-agent-install-script", "https://raw.githubusercontent.com/rancher/wins/v0.4.17/install.ps1") + WinsAgentInstallScript = NewSetting("wins-agent-install-script", "https://raw.githubusercontent.com/rancher/wins/v0.4.18-rc1/install.ps1") SystemAgentInstallerImage = NewSetting("system-agent-installer-image", "") // Defined via environment variable SystemAgentUpgradeImage = NewSetting("system-agent-upgrade-image", "") // Defined via environment variable WinsAgentUpgradeImage = NewSetting("wins-agent-upgrade-image", "") diff --git a/tests/v2/codecoverage/package/Dockerfile b/tests/v2/codecoverage/package/Dockerfile index b2a0171611b..91d15ec8527 100644 --- a/tests/v2/codecoverage/package/Dockerfile +++ b/tests/v2/codecoverage/package/Dockerfile @@ -67,7 +67,7 @@ ENV DOCKER_MACHINE_HARVESTER_VERSION v0.6.7 ENV CATTLE_KDM_BRANCH ${CATTLE_KDM_BRANCH} ENV HELM_VERSION v3.15.2 ENV KUSTOMIZE_VERSION v5.4.2 -ENV CATTLE_WINS_AGENT_VERSION v0.4.17 +ENV CATTLE_WINS_AGENT_VERSION v0.4.18-rc1 ENV CATTLE_WINS_AGENT_INSTALL_SCRIPT https://raw.githubusercontent.com/rancher/wins/${CATTLE_WINS_AGENT_VERSION}/install.ps1 ENV CATTLE_WINS_AGENT_UNINSTALL_SCRIPT https://raw.githubusercontent.com/rancher/wins/${CATTLE_WINS_AGENT_VERSION}/uninstall.ps1 ENV CATTLE_WINS_AGENT_UPGRADE_IMAGE rancher/wins:${CATTLE_WINS_AGENT_VERSION}