From f0af7c1b78fd1f1654fe873db4b6c8dccee12e24 Mon Sep 17 00:00:00 2001 From: Adrian Moisey Date: Fri, 6 Dec 2024 20:42:07 +0200 Subject: [PATCH] Configure e2e local scripts for the actuation suite When looking at the e2e tests that run on every PR, I noticed that actuation was run, and it isn't available for local e2e testing --- vertical-pod-autoscaler/hack/deploy-for-e2e-locally.sh | 4 ++++ vertical-pod-autoscaler/hack/run-e2e-locally.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/vertical-pod-autoscaler/hack/deploy-for-e2e-locally.sh b/vertical-pod-autoscaler/hack/deploy-for-e2e-locally.sh index 966e29e2613d..ce2a8529ef7c 100755 --- a/vertical-pod-autoscaler/hack/deploy-for-e2e-locally.sh +++ b/vertical-pod-autoscaler/hack/deploy-for-e2e-locally.sh @@ -31,6 +31,7 @@ function print_help { echo " - recommender-externalmetrics" echo " - updater" echo " - admission-controller" + echo " - actuation" echo " - full-vpa" } @@ -53,6 +54,9 @@ case ${SUITE} in full-vpa) COMPONENTS="recommender updater admission-controller" ;; + actuation) + COMPONENTS="updater admission-controller" + ;; *) print_help exit 1 diff --git a/vertical-pod-autoscaler/hack/run-e2e-locally.sh b/vertical-pod-autoscaler/hack/run-e2e-locally.sh index edc92a93ac22..48d8e0f789f1 100755 --- a/vertical-pod-autoscaler/hack/run-e2e-locally.sh +++ b/vertical-pod-autoscaler/hack/run-e2e-locally.sh @@ -27,8 +27,8 @@ function print_help { echo " - recommender-externalmetrics" echo " - updater" echo " - admission-controller" + echo " - actuation" echo " - full-vpa" - } if [ $# -eq 0 ]; then @@ -84,7 +84,7 @@ kind load docker-image localhost:5001/write-metrics:dev case ${SUITE} in - recommender|recommender-externalmetrics|updater|admission-controller|full-vpa) + recommender|recommender-externalmetrics|updater|admission-controller|actuation|full-vpa) ${SCRIPT_ROOT}/hack/vpa-down.sh echo " ** Deploying for suite ${SUITE}" ${SCRIPT_ROOT}/hack/deploy-for-e2e-locally.sh ${SUITE}