File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ main() {
16
16
# necessary because Playwright uses their own protocol for communicating
17
17
# between the server and client, and the protocol changes between versions.
18
18
echo " Checking Playwright version from \" ${workspace} \" ..."
19
+ # shellcheck disable=SC2029 # This is intended to expand client-side.
19
20
playwright_version=" $( ssh " coder.${workspace} " " cat '${coder_repo} '/site/pnpm-lock.yaml | grep '^ /@playwright/test@' | cut -d '@' -f 3 | tr -d ':'" ) "
20
21
21
22
echo " Found Playwright version ${playwright_version} ..."
@@ -75,6 +76,7 @@ main() {
75
76
76
77
echo
77
78
echo " Starting SSH tunnel, run test via \" pnpm run playwright:test\" ..."
79
+ # shellcheck disable=SC2029 # This is intended to expand client-side.
78
80
ssh -t -R " ${ws_port} :127.0.0.1:${ws_port} " -L " ${port} :127.0.0.1:${port} " coder." ${workspace} " " export CODER_E2E_PORT='${port} '; export CODER_E2E_WS_ENDPOINT='${ws_endpoint} '; [[ -d '${coder_repo} /site' ]] && cd '${coder_repo} /site'; exec \"\$ (grep \"\$ {USER}\" : /etc/passwd | cut -d: -f7)\" -i -l"
79
81
}
80
82
You can’t perform that action at this time.
0 commit comments