Skip to content

Commit

Permalink
make some tests pass?
Browse files Browse the repository at this point in the history
  • Loading branch information
roxanne-o committed Jan 21, 2025
1 parent b2de82d commit b6063f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/bin/setup-ee.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ if [[ "${DEPLOY_LOCAL_VERSION}" == "1" ]]; then

# Use envsubst to replace the PERSISTENT_VOLUME_NAME, PERSISTENT_VOLUME_NAME in the local_persistent_volume.yaml template
envsubst < deploy/k3s/local_persistent_volume.yaml > deploy/k3s/local_persistentvolume.yaml
$K apply -f deploy/k3s/local_persistentvolume.yaml
rm deploy/k3s/local_persistentvolume.yaml

else
# If environment variable EFS_VOLUME_ID is not set, exit
if [[ -z "${EFS_VOLUME_ID}" ]]; then
fail "EFS_VOLUME_ID environment variable not set"
Expand Down
2 changes: 2 additions & 0 deletions test/validate_setup_ee.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# basic script to validate that setup_ee works as expected
export DEPLOYMENT_NAMESPACE="validate-setup-ee"
export INFERENCE_FLAVOR="CPU"
export DEPLOY_LOCAL_VERSION="1"
export EDGE_ENDPOINT_PORT="30107"

kubectl create namespace $DEPLOYMENT_NAMESPACE
./deploy/bin/setup-ee.sh
Expand Down

0 comments on commit b6063f9

Please sign in to comment.