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: automatically run robot regression and negative tests daily and weekly (backport #2185) #2206

Merged
merged 1 commit into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion pipelines/e2e/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ node {
--env LONGHORN_TRANSIENT_VERSION=${LONGHORN_TRANSIENT_VERSION} \
--env LONGHORN_TEST_CLOUDPROVIDER=${LONGHORN_TEST_CLOUDPROVIDER} \
--env LONGHORN_UPGRADE_TEST=${LONGHORN_UPGRADE_TEST} \
--env PYTEST_CUSTOM_OPTIONS="${PYTEST_CUSTOM_OPTIONS}" \
--env ROBOT_CUSTOM_OPTIONS="${ROBOT_CUSTOM_OPTIONS}" \
--env BACKUP_STORE_TYPE="${BACKUP_STORE_TYPE}" \
--env TF_VAR_use_hdd=${USE_HDD} \
--env TF_VAR_arch=${ARCH} \
Expand Down
4 changes: 2 additions & 2 deletions pipelines/utilities/run_longhorn_e2e_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ run_longhorn_e2e_test(){

LONGHORN_TESTS_MANIFEST_FILE_PATH="e2e/deploy/test.yaml"

eval "ROBOT_COMMAND_ARGS=($PYTEST_CUSTOM_OPTIONS)"
eval "ROBOT_COMMAND_ARGS=($ROBOT_CUSTOM_OPTIONS)"
for OPT in "${ROBOT_COMMAND_ARGS[@]}"; do
ROBOT_COMMAND_ARR="${ROBOT_COMMAND_ARR}\"${OPT}\", "
done
Expand Down Expand Up @@ -83,7 +83,7 @@ run_longhorn_e2e_test_out_of_cluster(){
fi
LONGHORN_BACKUPSTORE_POLL_INTERVAL="30"

eval "ROBOT_COMMAND_ARGS=($PYTEST_CUSTOM_OPTIONS)"
eval "ROBOT_COMMAND_ARGS=($ROBOT_CUSTOM_OPTIONS)"

cat /tmp/instance_mapping
cp "${KUBECONFIG}" /tmp/kubeconfig
Expand Down
Loading