Skip to content

Commit

Permalink
changing branch references for charts to release
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasSUSE committed Aug 23, 2024
1 parent ef17914 commit 205e2f1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ WORKDIR /var/lib/rancher
ARG ARCH=amd64
ARG ETCD_UNSUPPORTED_ARCH
ARG IMAGE_REPO=rancher
ARG SYSTEM_CHART_DEFAULT_BRANCH=dev-v2.9
ARG CHART_DEFAULT_BRANCH=dev-v2.9
ARG SYSTEM_CHART_DEFAULT_BRANCH=release-v2.9
ARG CHART_DEFAULT_BRANCH=release-v2.9
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
Expand Down
2 changes: 1 addition & 1 deletion pkg/settings/setting.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,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.9")
ChartDefaultBranch = NewSetting("chart-default-branch", "release-v2.9")
SystemManagedChartsOperationTimeout = NewSetting("system-managed-charts-operation-timeout", "300s")
FleetDefaultWorkspaceName = NewSetting("fleet-default-workspace-name", fleetconst.ClustersDefaultNamespace) // fleetWorkspaceName to assign to clusters with none
ShellImage = NewSetting("shell-image", buildconfig.DefaultShellVersion)
Expand Down
4 changes: 2 additions & 2 deletions scripts/package-env
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

ARCH=${ARCH:-"amd64"}
SYSTEM_CHART_REPO_DIR=build/system-charts
SYSTEM_CHART_DEFAULT_BRANCH=${SYSTEM_CHART_DEFAULT_BRANCH:-"dev-v2.9"}
SYSTEM_CHART_DEFAULT_BRANCH=${SYSTEM_CHART_DEFAULT_BRANCH:-"release-v2.9"}
CHART_REPO_DIR=build/charts
CHART_DEFAULT_BRANCH=${CHART_DEFAULT_BRANCH:-"dev-v2.9"}
CHART_DEFAULT_BRANCH=${CHART_DEFAULT_BRANCH:-"release-v2.9"}

REGISTRY=${REGISTRY:-""}
IMAGE=${REGISTRY}${REPO}/rancher:${TAG}
Expand Down
4 changes: 2 additions & 2 deletions tests/v2/codecoverage/package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ WORKDIR /var/lib/rancher
ARG ARCH=amd64
ARG ETCD_UNSUPPORTED_ARCH
ARG IMAGE_REPO=rancher
ARG SYSTEM_CHART_DEFAULT_BRANCH=dev-v2.9
ARG CHART_DEFAULT_BRANCH=dev-v2.9
ARG SYSTEM_CHART_DEFAULT_BRANCH=release-v2.9
ARG CHART_DEFAULT_BRANCH=release-v2.9
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
Expand Down

0 comments on commit 205e2f1

Please sign in to comment.