Skip to content

Commit

Permalink
Change system chart build params
Browse files Browse the repository at this point in the history
  • Loading branch information
rmweir authored and Craig Jellick committed May 16, 2019
1 parent 3bd26df commit bcd07e3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ steps:
build_args:
- ARCH=amd64
- "VERSION=${DRONE_TAG}"
- SYSTEM_CHART_DEFAULT_BRANCH=master
context: package/
custom_dns: 1.1.1.1
dockerfile: package/Dockerfile
Expand Down Expand Up @@ -268,7 +267,6 @@ steps:
build_args:
- ARCH=arm64
- "VERSION=${DRONE_TAG}"
- SYSTEM_CHART_DEFAULT_BRANCH=master
context: package/
custom_dns: 1.1.1.1
dockerfile: package/Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ WORKDIR /var/lib/rancher

ARG ARCH=amd64
ARG IMAGE_REPO=rancher
ARG SYSTEM_CHART_DEFAULT_BRANCH
ARG SYSTEM_CHART_DEFAULT_BRANCH=release-v2.2

ENV CATTLE_SYSTEM_CHART_DEFAULT_BRANCH=$SYSTEM_CHART_DEFAULT_BRANCH
ENV CATTLE_HELM_VERSION v2.10.0-rancher10
Expand Down
2 changes: 1 addition & 1 deletion scripts/package
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
source $(dirname $0)/version

ARCH=${ARCH:-"amd64"}
SYSTEM_CHART_DEFAULT_BRANCH=${SYSTEM_CHART_DEFAULT_BRANCH:-"master"}
SYSTEM_CHART_DEFAULT_BRANCH=${SYSTEM_CHART_DEFAULT_BRANCH:-"dev"}
SUFFIX=""
[ "${ARCH}" != "amd64" ] && SUFFIX="_${ARCH}"

Expand Down

0 comments on commit bcd07e3

Please sign in to comment.