Skip to content

Commit

Permalink
ci: automatically run robot regression and negative tests daily and w…
Browse files Browse the repository at this point in the history
…eekly

Signed-off-by: Yang Chiu <[email protected]>
(cherry picked from commit 01efc8f)
  • Loading branch information
yangchiu committed Dec 18, 2024
1 parent 6842300 commit 83fb5d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 83fb5d2

Please sign in to comment.