From 0f72db8708d5aca0e6d7caf73dd91637dcee6116 Mon Sep 17 00:00:00 2001 From: Yang Chiu Date: Fri, 3 May 2024 10:04:15 +0800 Subject: [PATCH] ci: add option of v2 test for robot test Signed-off-by: Yang Chiu --- pipelines/e2e/Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pipelines/e2e/Jenkinsfile b/pipelines/e2e/Jenkinsfile index 051696b8c0..849bae6925 100644 --- a/pipelines/e2e/Jenkinsfile +++ b/pipelines/e2e/Jenkinsfile @@ -19,6 +19,9 @@ def REGISTRY_PASSWORD // parameter for hdd test def USE_HDD = params.USE_HDD ? params.USE_HDD : false +// parameter for v2 test +def RUN_V2_TEST = params.RUN_V2_TEST ? params.RUN_V2_TEST : true + node { withCredentials([ @@ -114,6 +117,7 @@ node { --env TF_VAR_registration_code=${REGISTRATION_CODE} \ --env TF_VAR_cis_hardening=${CIS_HARDENING} \ --env TF_VAR_resources_owner=longhorn-long-running \ + --env TF_VAR_extra_block_device=${RUN_V2_TEST} \ --env IMAGE_NAME=${imageName} \ -v /var/run/docker.sock:/var/run/docker.sock \ --mount source="vol-${imageName}",target=/tmp \