feat(cli): add --parameter flag to exp scaletest command (#10132)

This commit is contained in:
Cian Johnston
2023-10-09 14:08:24 +01:00
committed by GitHub
parent c6cf719f6c
commit 5673aca408
4 changed files with 104 additions and 14 deletions

View File

@ -17,6 +17,9 @@ fi
if [[ ${1:-} == wsproxy ]] && [[ ${2:-} == server ]]; then
BINARY_TYPE=coder
fi
if [[ ${1:-} == exp ]] && [[ ${2:-} == scaletest ]]; then
BINARY_TYPE=coder
fi
RELATIVE_BINARY_PATH="build/${BINARY_TYPE}_${GOOS}_${GOARCH}"
# To preserve the CWD when running the binary, we need to use pushd and popd to