Skip to content

Commit

Permalink
chore: update to v1.5 branch for harvester and addons repos
Browse files Browse the repository at this point in the history
Signed-off-by: Zespre Chang <[email protected]>
  • Loading branch information
starbops committed Jan 20, 2025
1 parent 24a0933 commit 3c989a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cd ${TOP_DIR}
harvester_path=../harvester
if [ ! -d ${harvester_path} ];then
echo "No existing harvester source. Pulling..."
git clone --branch master --single-branch --depth 1 https://github.com/harvester/harvester.git ../harvester
git clone --branch v1.5 --single-branch --depth 1 https://github.com/harvester/harvester.git ../harvester
else
# When building against locally modified harvester source with
# "-v /path/to/local/harvester/repo:/go/src/github.com/harvester/harvester"
Expand All @@ -30,7 +30,7 @@ fi
addons_path=../addons
if [ ! -d ${addons_path} ];then
echo "No existing addons source. Pulling..."
git clone --branch main --single-branch --depth 1 https://github.com/harvester/addons.git ../addons
git clone --branch v1.5 --single-branch --depth 1 https://github.com/harvester/addons.git ../addons
fi

source ${SCRIPTS_DIR}/version-harvester $harvester_path
Expand Down
4 changes: 2 additions & 2 deletions scripts/build-bundle
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cd ${TOP_DIR}
addons_path=../addons
if [ ! -d ${addons_path} ];then
echo "No existing addons source. Pulling..."
git clone --branch main --single-branch --depth 1 https://github.com/harvester/addons.git ../addons
git clone --branch v1.5 --single-branch --depth 1 https://github.com/harvester/addons.git ../addons
fi

source ${SCRIPTS_DIR}/version-monitoring
Expand Down Expand Up @@ -95,7 +95,7 @@ mkdir -p ${RANCHERD_IMAGES_DIR}
harvester_path=../harvester
if [ ! -d ${harvester_path} ];then
echo "No existing harvester source. Pulling..."
git clone --branch master --single-branch --depth 1 https://github.com/harvester/harvester.git ../harvester
git clone --branch v1.5 --single-branch --depth 1 https://github.com/harvester/harvester.git ../harvester
fi

# Revert harvester chart version patch to clean dirty git status
Expand Down
2 changes: 1 addition & 1 deletion scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cd $(dirname $0)/..
addons_path=../addons
if [ ! -d ${addons_path} ];then
echo "No existing addons source. Pulling..."
git clone --branch main --single-branch --depth 1 https://github.com/harvester/addons.git ../addons
git clone --branch v1.5 --single-branch --depth 1 https://github.com/harvester/addons.git ../addons
fi
cp ${addons_path}/pkg/templates/*.yaml ./pkg/config/templates

Expand Down

0 comments on commit 3c989a8

Please sign in to comment.