Skip to content

Commit

Permalink
[INT] Added CAPI ui to the list of extensions to test (#11398)
Browse files Browse the repository at this point in the history
  • Loading branch information
eva-vashkevich authored and nwmac committed Aug 13, 2024
1 parent f5b95a5 commit 80bb6dd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions shell/scripts/test-plugins-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
BASE_DIR="$( cd $SCRIPT_DIR && cd ../.. & pwd)"
SHELL_DIR=$BASE_DIR/shell/
SHELL_VERSION="99.99.99"
DEFAULT_YARN_REGISTRY="https://registry.npmjs.org"
DEFAULT_YARN_REGISTRY="https://registry.yarnpkg.com/"
VERDACCIO_YARN_REGISTRY="http://localhost:4873"

echo ${SCRIPT_DIR}
Expand Down Expand Up @@ -209,16 +209,15 @@ function clone_repo_test_extension_build() {
popd

# delete folder
if [ $TEST_PERSIST_BUILD != "true" ]; then
echo "Removing folder ${BASE_DIR}/$REPO_NAME"
rm -rf ${BASE_DIR}/$REPO_NAME
fi
echo "Removing folder ${BASE_DIR}/$REPO_NAME"
rm -rf ${BASE_DIR}/$REPO_NAME
yarn config set registry ${DEFAULT_YARN_REGISTRY}
}

# Here we just add the extension that we want to include as a check (all our official extensions should be included here)
# Don't forget to add the unit tests exception to clone_repo_test_extension_build function if a new extension has those
clone_repo_test_extension_build "kubewarden-ui" "kubewarden"
clone_repo_test_extension_build "elemental-ui" "elemental"
clone_repo_test_extension_build "capi-ui-extension" "capi"

echo "All done"

0 comments on commit 80bb6dd

Please sign in to comment.