Skip to content

Commit

Permalink
Merge pull request #733 from vishnuchalla/remove-ws
Browse files Browse the repository at this point in the history
Removing workers-scale out from kube-burner
  • Loading branch information
openshift-merge-bot[bot] authored Jan 9, 2025
2 parents 2d09784 + 7d14d72 commit f7375d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 309 deletions.

This file was deleted.

This file was deleted.

10 changes: 4 additions & 6 deletions workloads/kube-burner-ocp-wrapper/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,10 @@ EOF
}

download_binary
if [[ ${WORKLOAD} =~ "index" || ${WORKLOAD} =~ "workers-scale" ]]; then
if [[ "$START_TIME" != 0 && "$END_TIME" != 0 ]]; then
JOB_START=$(date -u -d "@$START_TIME" +"%Y-%m-%dT%H:%M:%SZ")
JOB_END=$(date -u -d "@$END_TIME" +"%Y-%m-%dT%H:%M:%SZ")
fi
cmd="${KUBE_DIR}/kube-burner-ocp ${WORKLOAD} --uuid=${UUID} --start=$START_TIME --end=$END_TIME --log-level ${LOG_LEVEL} --gc=${GC}"
if [[ ${WORKLOAD} =~ "index" ]]; then
cmd="${KUBE_DIR}/kube-burner-ocp index --uuid=${UUID} --start=$START_TIME --end=$((END_TIME+600)) --log-level ${LOG_LEVEL}"
JOB_START=$(date -u -d "@$START_TIME" +"%Y-%m-%dT%H:%M:%SZ")
JOB_END=$(date -u -d "@$((END_TIME + 600))" +"%Y-%m-%dT%H:%M:%SZ")
else
cmd="${KUBE_DIR}/kube-burner-ocp ${WORKLOAD} --log-level=${LOG_LEVEL} --qps=${QPS} --burst=${BURST} --gc=${GC} --uuid ${UUID}"
fi
Expand Down

0 comments on commit f7375d7

Please sign in to comment.