Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add option of v2 test for robot test #1881

Merged
merged 2 commits into from
May 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pipelines/e2e/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down Expand Up @@ -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 \
Expand Down