Skip to content

Commit

Permalink
directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
phuhung273 committed Jan 26, 2025
1 parent 9652ffc commit de66b56
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ set -o errexit
set -o nounset
set -o pipefail

SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/../../../..
SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/../../..

export REGISTRY=${REGISTRY:-localhost:5001}
export TAG=${TAG:-latest}


REGISTRY=${REGISTRY} TAG=${TAG} ${SCRIPT_ROOT}/hack/vpa-process-yaml.sh ${SCRIPT_ROOT}/hack/integration-tests/deploy/recommender/ignored-vpa-object-namespaces.yaml | kubectl apply -f -
REGISTRY=${REGISTRY} TAG=${TAG} ${SCRIPT_ROOT}/hack/vpa-process-yaml.sh ${SCRIPT_ROOT}/hack/integration-tests/recommender/deploy/ignored-vpa-object-namespaces.yaml | kubectl apply -f -

CHECK_CYCLES=15
CHECK_SLEEP=15
Expand Down Expand Up @@ -69,4 +69,4 @@ fi

echo "Verified ignored namespaces are still not tracked after wait time!"

REGISTRY=${REGISTRY} TAG=${TAG} ${SCRIPT_ROOT}/hack/vpa-process-yaml.sh ${SCRIPT_ROOT}/hack/integration-tests/deploy/recommender/ignored-vpa-object-namespaces.yaml | kubectl delete -f -
REGISTRY=${REGISTRY} TAG=${TAG} ${SCRIPT_ROOT}/hack/vpa-process-yaml.sh ${SCRIPT_ROOT}/hack/integration-tests/recommender/deploy/ignored-vpa-object-namespaces.yaml | kubectl delete -f -
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ set -o errexit
set -o nounset
set -o pipefail

SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/../../../..
SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/../../..

export REGISTRY=${REGISTRY:-localhost:5001}
export TAG=${TAG:-latest}


REGISTRY=${REGISTRY} TAG=${TAG} ${SCRIPT_ROOT}/hack/vpa-process-yaml.sh ${SCRIPT_ROOT}/hack/integration-tests/deploy/recommender/vpa-object-namespace.yaml | kubectl apply -f -
REGISTRY=${REGISTRY} TAG=${TAG} ${SCRIPT_ROOT}/hack/vpa-process-yaml.sh ${SCRIPT_ROOT}/hack/integration-tests/recommender/deploy/vpa-object-namespace.yaml | kubectl apply -f -

CHECK_CYCLES=15
CHECK_SLEEP=15
Expand Down Expand Up @@ -69,4 +69,4 @@ fi

echo "Verified ignored namespaces are still not tracked after wait time!"

REGISTRY=${REGISTRY} TAG=${TAG} ${SCRIPT_ROOT}/hack/vpa-process-yaml.sh ${SCRIPT_ROOT}/hack/integration-tests/deploy/recommender/vpa-object-namespace.yaml | kubectl delete -f -
REGISTRY=${REGISTRY} TAG=${TAG} ${SCRIPT_ROOT}/hack/vpa-process-yaml.sh ${SCRIPT_ROOT}/hack/integration-tests/recommender/deploy/vpa-object-namespace.yaml | kubectl delete -f -
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ case ${SUITE} in

echo " ** Running suite ${SUITE}"

ASSERTION_SCRIPTS=$(find "${SCRIPT_ROOT}/hack/integration-tests/deploy/${SUITE}" -name "*.sh" -type f | sort)
ASSERTION_SCRIPTS=$(find "${SCRIPT_ROOT}/hack/integration-tests/${SUITE}" -name "*.sh" -type f | sort)
for assert_script in $ASSERTION_SCRIPTS; do
echo "======================================================================================================"
echo "Running assertion script $(basename "$assert_script")"
Expand Down

0 comments on commit de66b56

Please sign in to comment.