Skip to content

Commit 4c12875

Browse files
cli optims
1 parent 55c4f51 commit 4c12875

9 files changed

Lines changed: 1260 additions & 1684 deletions

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,30 @@ Bypass TestingBot Caching Proxy running on the tunnel VM.
8484

8585
Do not start a local proxy (requires user provided proxy server on port 8087).
8686

87+
### `noBump`:
88+
89+
Do not perform SSL bumping.
90+
91+
### `extraHeaders`:
92+
93+
JSON string of extra headers to inject into tunnel requests. Example: `'{"X-My-Header":"value"}'`.
94+
95+
### `hubPort`:
96+
97+
Connect to port 80 on the TestingBot hub instead of the default 4444.
98+
99+
### `metricsPort`:
100+
101+
Port to expose tunnel metrics on. Default: 8003.
102+
103+
### `shared`:
104+
105+
Share this tunnel with other users in your team. By default, tunnels are private.
106+
107+
### `web`:
108+
109+
Point to a directory to serve as a local webserver. Useful for testing static content without running your own HTTP server.
110+
87111
### `tunnelIdentifier`:
88112

89113
Add an identifier to this tunnel connection.

action.yml

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,33 +36,51 @@ inputs:
3636
doctor:
3737
description: Perform sanity/health checks to detect possible misconfiguration or problems.
3838
required: false
39+
extraHeaders:
40+
description: "Inject extra headers in the requests the tunnel makes. Value should be a JSON string."
41+
required: false
3942
fastFailRegexps:
4043
description: Specify domains you don't want to proxy, comma separated.
4144
required: false
42-
pac:
43-
description: Proxy autoconfiguration. Should be a http(s) URL
45+
hubPort:
46+
description: Use this if you want to connect to port 80 on the TestingBot hub instead of the default port 4444.
4447
required: false
45-
sePort:
46-
description: The local port your Selenium test should connect to. Default port is 4445
48+
metricsPort:
49+
description: Port to expose tunnel metrics on. Default 8003.
4750
required: false
48-
localProxy:
49-
description: The port to launch the local proxy on (default 8087).
51+
noBump:
52+
description: Do not perform SSL bumping.
53+
required: false
54+
noCache:
55+
description: Bypass TestingBot Caching Proxy running on the tunnel VM.
56+
required: false
57+
noProxy:
58+
description: Do not start a local proxy (requires user provided proxy server on port 8087).
59+
required: false
60+
pac:
61+
description: Proxy autoconfiguration. Should be a http(s) URL
5062
required: false
5163
proxy:
5264
description: "Specify an upstream proxy: PROXYHOST:PROXYPORT"
5365
required: false
5466
proxyCredentials:
5567
description: Username and password required to access the proxy configured with proxy
5668
required: false
57-
noCache:
58-
description: Bypass TestingBot Caching Proxy running on the tunnel VM.
69+
sePort:
70+
description: The local port your Selenium test should connect to. Default port is 4445
5971
required: false
60-
noProxy:
61-
description: Do not start a local proxy (requires user provided proxy server on port 8087)
72+
localProxy:
73+
description: The port to launch the local proxy on (default 8087).
74+
required: false
75+
shared:
76+
description: Share this tunnel with other users in your team. Defaults to private.
6277
required: false
6378
tunnelIdentifier:
6479
description: A unique identifier for the Tunnel
6580
required: false
81+
web:
82+
description: Point to a directory for testing — starts a local webserver serving that directory.
83+
required: false
6684
uploadLogFile:
6785
description: Upload the TestingBot log file as artifact
6886
required: false

dist/main/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142029,7 +142029,7 @@ module.exports = /*#__PURE__*/JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45
142029142029
/***/ ((module) => {
142030142030

142031142031
"use strict";
142032-
module.exports = /*#__PURE__*/JSON.parse('[{"actionOption":"auth","dockerOption":"auth"},{"actionOption":"debug","dockerOption":"debug","flag":true},{"actionOption":"dns","dockerOption":"dns"},{"actionOption":"doctor","dockerOption":"doctor","flag":true},{"actionOption":"fastFailRegexps","dockerOption":"fast-fail-regexps"},{"actionOption":"pac","dockerOption":"pac"},{"actionOption":"sePort","dockerOption":"se-port"},{"actionOption":"localProxy","dockerOption":"localproxy"},{"actionOption":"proxy","dockerOption":"proxy"},{"actionOption":"proxyCredentials","dockerOption":"proxy-userpwd"},{"actionOption":"noCache","dockerOption":"no-cache","flag":true},{"actionOption":"noProxy","dockerOption":"no-proxy","flag":true},{"actionOption":"tunnelIdentifier","dockerOption":"tunnel-identifier"}]');
142032+
module.exports = /*#__PURE__*/JSON.parse('[{"actionOption":"auth","dockerOption":"auth"},{"actionOption":"debug","dockerOption":"debug","flag":true},{"actionOption":"dns","dockerOption":"dns"},{"actionOption":"doctor","dockerOption":"doctor","flag":true},{"actionOption":"extraHeaders","dockerOption":"extra-headers"},{"actionOption":"fastFailRegexps","dockerOption":"fast-fail-regexps"},{"actionOption":"hubPort","dockerOption":"hubport"},{"actionOption":"metricsPort","dockerOption":"metrics-port"},{"actionOption":"noBump","dockerOption":"nobump","flag":true},{"actionOption":"noCache","dockerOption":"nocache","flag":true},{"actionOption":"noProxy","dockerOption":"noproxy","flag":true},{"actionOption":"pac","dockerOption":"pac"},{"actionOption":"proxy","dockerOption":"proxy"},{"actionOption":"proxyCredentials","dockerOption":"proxy-userpwd"},{"actionOption":"sePort","dockerOption":"se-port"},{"actionOption":"localProxy","dockerOption":"localproxy"},{"actionOption":"shared","dockerOption":"shared","flag":true},{"actionOption":"tunnelIdentifier","dockerOption":"tunnel-identifier"},{"actionOption":"web","dockerOption":"web"}]');
142033142033

142034142034
/***/ })
142035142035

dist/post/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141984,7 +141984,7 @@ module.exports = /*#__PURE__*/JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45
141984141984
/***/ ((module) => {
141985141985

141986141986
"use strict";
141987-
module.exports = /*#__PURE__*/JSON.parse('[{"actionOption":"auth","dockerOption":"auth"},{"actionOption":"debug","dockerOption":"debug","flag":true},{"actionOption":"dns","dockerOption":"dns"},{"actionOption":"doctor","dockerOption":"doctor","flag":true},{"actionOption":"fastFailRegexps","dockerOption":"fast-fail-regexps"},{"actionOption":"pac","dockerOption":"pac"},{"actionOption":"sePort","dockerOption":"se-port"},{"actionOption":"localProxy","dockerOption":"localproxy"},{"actionOption":"proxy","dockerOption":"proxy"},{"actionOption":"proxyCredentials","dockerOption":"proxy-userpwd"},{"actionOption":"noCache","dockerOption":"no-cache","flag":true},{"actionOption":"noProxy","dockerOption":"no-proxy","flag":true},{"actionOption":"tunnelIdentifier","dockerOption":"tunnel-identifier"}]');
141987+
module.exports = /*#__PURE__*/JSON.parse('[{"actionOption":"auth","dockerOption":"auth"},{"actionOption":"debug","dockerOption":"debug","flag":true},{"actionOption":"dns","dockerOption":"dns"},{"actionOption":"doctor","dockerOption":"doctor","flag":true},{"actionOption":"extraHeaders","dockerOption":"extra-headers"},{"actionOption":"fastFailRegexps","dockerOption":"fast-fail-regexps"},{"actionOption":"hubPort","dockerOption":"hubport"},{"actionOption":"metricsPort","dockerOption":"metrics-port"},{"actionOption":"noBump","dockerOption":"nobump","flag":true},{"actionOption":"noCache","dockerOption":"nocache","flag":true},{"actionOption":"noProxy","dockerOption":"noproxy","flag":true},{"actionOption":"pac","dockerOption":"pac"},{"actionOption":"proxy","dockerOption":"proxy"},{"actionOption":"proxyCredentials","dockerOption":"proxy-userpwd"},{"actionOption":"sePort","dockerOption":"se-port"},{"actionOption":"localProxy","dockerOption":"localproxy"},{"actionOption":"shared","dockerOption":"shared","flag":true},{"actionOption":"tunnelIdentifier","dockerOption":"tunnel-identifier"},{"actionOption":"web","dockerOption":"web"}]');
141988141988

141989141989
/***/ })
141990141990

0 commit comments

Comments
 (0)