From a679fa38e7183efd706481f5abadb27ce5c4f98e Mon Sep 17 00:00:00 2001 From: Harrison Affel Date: Wed, 4 Sep 2024 16:28:43 -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 066bb0568d8..17fa57f42b7 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -86,7 +86,7 @@ ENV DOCKER_MACHINE_HARVESTER_VERSION v0.6.7 ENV CATTLE_KDM_BRANCH ${CATTLE_KDM_BRANCH} ENV HELM_VERSION v3.13.3 ENV KUSTOMIZE_VERSION v5.0.1 -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 7186dc6b951..b13a9f8b6ac 100644 --- a/package/windows/Dockerfile.agent +++ b/package/windows/Dockerfile.agent @@ -18,7 +18,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 e2f3e94f9dc..6eccb17d1bd 100644 --- a/pkg/settings/setting.go +++ b/pkg/settings/setting.go @@ -103,7 +103,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.8/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 5c4a405e8f4..a71a3866df3 100644 --- a/tests/v2/codecoverage/package/Dockerfile +++ b/tests/v2/codecoverage/package/Dockerfile @@ -42,7 +42,7 @@ ENV DOCKER_MACHINE_HARVESTER_VERSION v0.6.5 ENV CATTLE_KDM_BRANCH ${CATTLE_KDM_BRANCH} ENV HELM_VERSION v3.12.3 ENV KUSTOMIZE_VERSION v5.0.1 -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}