Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aalves08 committed Dec 4, 2024
1 parent e08f032 commit 22fcd37
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/scripts/test-extensions-creators-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ validate_tagged_extension_creator() {
DIR=$(mktemp -d)
pushd $DIR > /dev/null

echo "*** ***************************************** ***"
echo "*** Verifying extension creator for tag ::: ${TAG} ***"
echo "*** ***************************************** ***"
echo "Using temporary directory ${DIR}"

echo "=> Setting up node version required for this env: ${NODE_VERSION}"
Expand All @@ -40,10 +42,14 @@ validate_tagged_extension_creator() {


if [ $UPDATE == "true" ]; then
echo "*** ***************************************** ***"
echo "*** Testing FULL UPGRADE path for extensions ***"
echo "Testing UPGRADE from legacy-v1 to legacy-v2"
echo "*** ***************************************** ***"
echo "=> Testing UPGRADE from legacy-v1 to legacy-v2"

npm init @rancher/extension@legacy-v2 -- --update -f
git init

npm init @rancher/extension@legacy-v2 -- --update

rm -rf node_modules
rm -rf yarn.lock
Expand All @@ -52,7 +58,9 @@ validate_tagged_extension_creator() {

yarn build-pkg test-pkg | cat

echo "*** ***************************************** ***"
echo "*** Testing UPGRADE from legacy-v2 to latest ***"
echo "*** ***************************************** ***"

echo "=> Updating node version required for last leg of upgrade path: v20"

Expand Down

0 comments on commit 22fcd37

Please sign in to comment.