diff --git a/apps/unicorn-store-spring/scripts/load.sh b/apps/unicorn-store-spring/scripts/load.sh index 2f0b39a1..ccdac5d7 100755 --- a/apps/unicorn-store-spring/scripts/load.sh +++ b/apps/unicorn-store-spring/scripts/load.sh @@ -20,6 +20,8 @@ TEST_DIR="${JAVA_ON_AWS_TEST_DIR:-${HOME}/java-on-aws/infra/scripts/test}" [ -x "${TEST_DIR}/benchmark.sh" ] && [ -x "${TEST_DIR}/getsvcurl.sh" ] \ || { echo "load.sh: shared test scripts not found in ${TEST_DIR}" >&2; exit 1; } +command -v artillery >/dev/null 2>&1 \ + || { echo "load.sh: artillery not found on PATH" >&2; exit 1; } URL="$("${TEST_DIR}/getsvcurl.sh" eks)" || exit 1 diff --git a/infra/scripts/ide/shell.sh b/infra/scripts/ide/shell.sh index 4f0d7ab9..6b56a354 100755 --- a/infra/scripts/ide/shell.sh +++ b/infra/scripts/ide/shell.sh @@ -57,6 +57,10 @@ source $ZSH/oh-my-zsh.sh # Source workshop env vars (must be before kubectl completion) [ -f /etc/profile.d/workshop.sh ] && source /etc/profile.d/workshop.sh +# Node.js from nvm (tools.sh install_nodejs), as in .bashrc +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" + # Basic aliases alias ll='ls -la' alias k=kubectl