From 22fcd3783541cfbe451f02fd1579a6c6fc814b04 Mon Sep 17 00:00:00 2001 From: Alexandre Alves Date: Wed, 4 Dec 2024 16:06:41 +0000 Subject: [PATCH] update --- .../scripts/test-extensions-creators-build.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/scripts/test-extensions-creators-build.sh b/.github/workflows/scripts/test-extensions-creators-build.sh index 6480ea3ea0c..7edf1c93fd8 100755 --- a/.github/workflows/scripts/test-extensions-creators-build.sh +++ b/.github/workflows/scripts/test-extensions-creators-build.sh @@ -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}" @@ -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 @@ -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"