From bb349ba6be5f635ac3cd564b7d7fb675d43d0691 Mon Sep 17 00:00:00 2001 From: nicholasSSUSE Date: Thu, 31 Oct 2024 10:29:50 -0300 Subject: [PATCH] pointing to test branch for webhook --- package/Dockerfile | 4 ++-- pkg/settings/setting.go | 2 +- scripts/package-env | 4 ++-- tests/v2/codecoverage/package/Dockerfile | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package/Dockerfile b/package/Dockerfile index bb697610aa2..50cfbe60b3f 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -38,8 +38,8 @@ WORKDIR /var/lib/rancher ARG ARCH=amd64 ARG ETCD_UNSUPPORTED_ARCH ARG IMAGE_REPO=rancher -ARG SYSTEM_CHART_DEFAULT_BRANCH=dev-v2.7 -ARG CHART_DEFAULT_BRANCH=dev-v2.7 +ARG SYSTEM_CHART_DEFAULT_BRANCH=release-v2.7 +ARG CHART_DEFAULT_BRANCH=emerg-webhook-rc-test-2.7 ARG PARTNER_CHART_DEFAULT_BRANCH=main ARG RKE2_CHART_DEFAULT_BRANCH=main # kontainer-driver-metadata branch to be set for specific branch other than dev/master, logic at rancher/rancher/pkg/settings/setting.go diff --git a/pkg/settings/setting.go b/pkg/settings/setting.go index 422508aaf9f..8d1c326355e 100644 --- a/pkg/settings/setting.go +++ b/pkg/settings/setting.go @@ -115,7 +115,7 @@ var ( ClusterTemplateEnforcement = NewSetting("cluster-template-enforcement", "false") InitialDockerRootDir = NewSetting("initial-docker-root-dir", "/var/lib/docker") SystemCatalog = NewSetting("system-catalog", "external") // Options are 'external' or 'bundled' - ChartDefaultBranch = NewSetting("chart-default-branch", "dev-v2.7") + ChartDefaultBranch = NewSetting("chart-default-branch", "emerg-webhook-rc-test-2.7") PartnerChartDefaultBranch = NewSetting("partner-chart-default-branch", "main") RKE2ChartDefaultBranch = NewSetting("rke2-chart-default-branch", "main") FleetDefaultWorkspaceName = NewSetting("fleet-default-workspace-name", fleetconst.ClustersDefaultNamespace) // fleetWorkspaceName to assign to clusters with none diff --git a/scripts/package-env b/scripts/package-env index 41a5b426cc7..a0e22b4115a 100644 --- a/scripts/package-env +++ b/scripts/package-env @@ -2,9 +2,9 @@ ARCH=${ARCH:-"amd64"} SYSTEM_CHART_REPO_DIR=build/system-charts -SYSTEM_CHART_DEFAULT_BRANCH=${SYSTEM_CHART_DEFAULT_BRANCH:-"dev-v2.7"} +SYSTEM_CHART_DEFAULT_BRANCH=${SYSTEM_CHART_DEFAULT_BRANCH:-"release-v2.7"} CHART_REPO_DIR=build/charts -CHART_DEFAULT_BRANCH=${CHART_DEFAULT_BRANCH:-"dev-v2.7"} +CHART_DEFAULT_BRANCH=${CHART_DEFAULT_BRANCH:-"emerg-webhook-rc-test-2.7"} REGISTRY=${REGISTRY/:-""} IMAGE=${REGISTRY}${REPO}/rancher:${TAG} diff --git a/tests/v2/codecoverage/package/Dockerfile b/tests/v2/codecoverage/package/Dockerfile index 0a1a596a5fb..25bfebf58a3 100644 --- a/tests/v2/codecoverage/package/Dockerfile +++ b/tests/v2/codecoverage/package/Dockerfile @@ -16,8 +16,8 @@ WORKDIR /var/lib/rancher ARG ARCH=amd64 ARG ETCD_UNSUPPORTED_ARCH ARG IMAGE_REPO=rancher -ARG SYSTEM_CHART_DEFAULT_BRANCH=dev-v2.7 -ARG CHART_DEFAULT_BRANCH=dev-v2.7 +ARG SYSTEM_CHART_DEFAULT_BRANCH=release-v2.7 +ARG CHART_DEFAULT_BRANCH=emerg-webhook-rc-test-2.7 ARG PARTNER_CHART_DEFAULT_BRANCH=main ARG RKE2_CHART_DEFAULT_BRANCH=main # kontainer-driver-metadata branch to be set for specific branch other than dev/master, logic at rancher/rancher/pkg/settings/setting.go