GitHub Action
Sauce Connect Proxy Action
A GitHub action to launch Sauce Connect Proxy.
jobs:
test:
runs-on: ubuntu-latest
name: Action Test
steps:
# ...
- uses: saucelabs/sauce-connect-action@v1
with:
username: ${{ secrets.SAUCE_USERNAME }}
accessKey: ${{ secrets.SAUCE_ACCESS_KEY }}
tunnelIdentifier: github-action-tunnel
scVersion: 4.6.4
# ...
Required Sauce Labs user name.
Required Sauce Labs API Key.
CA certificate bundle to use for verifying REST connections. (default "/usr/local/etc/openssl/cert.pem")
Directory of CA certs to use for verifying REST connections. (default "/etc/ssl/certs")
Path to YAML config file. Please refer to https://wiki.saucelabs.com/display/DOCS/Sauce+Connect+Proxy+Command-Line+Quick+Reference+Guide for a sample configuration file.
Comma-separated list of domains. Requests whose host matches one of these will be relayed directly through the internet, instead of through the tunnel.
"Use specified name server. To specify multiple servers, separate them with comma. Use IP addresses, optionally with a port number, the two separated by a colon. Example: --dns 8.8.8.8,8.8.4.4:53"
Perform checks to detect possible misconfiguration or problems.
Comma-separated list of regular expressions. Requests matching one of these will get dropped instantly and will not go through the tunnel.
Log statistics about HTTP traffic every .
Rotate logfile after reaching size. Disabled by default.
The maximum amount of keepalive acks that can be missed before the client will trigger a reconnect. (default 30)
'host:port for the internal web server used to expose client side metrics. (default "localhost:8888")'
Disable the autodetection of proxy settings.
Disable caching in Sauce Connect. All requests will be sent through the tunnel.
Don't remove identified tunnels with the same name, or any other default tunnels if this is a default tunnel. Jobs will be distributed between these tunnels, enabling load balancing and high availability. By default, colliding tunnels will be removed when Sauce Connect is starting up.
Comma-separated list of domains. Requests whose host matches one of these will not be SSL re-encrypted.
Proxy autoconfiguration. Can be an http(s) or local file:// (absolute path only) URI.
Proxy host and port that Sauce Connect should use to connect to the Sauce Labs cloud.
Use the proxy configured with -p for the tunnel connection.
Username and password required to access the proxy configured with -p.
'Advanced feature: Connect to Sauce REST API at alternative URL. Use only if directed to do so by Sauce Labs support. (default "https://saucelabs.com/rest/v1")'
Port on which scproxy will be listening.
Rate limit reads in scproxy to X bytes per second. This option can be used to adjust local network transfer rate in order not to overload the tunnel connection.
Rate limit writes in scproxy to X bytes per second. This option can be used to adjust local network transfer rate in order not to overload the tunnel connection.
Port on which Sauce Connect's Selenium relay will listen for requests. Selenium commands reaching Connect on this port will be relayed to Sauce Labs securely and reliably through Connect's tunnel (default 4445)
Let sub-accounts of the tunnel owner use the tunnel if requested.
CA certificate bundle to use for verifying tunnel connections. (default "/usr/local/etc/openssl/cert.pem")
Directory of CA certs to use for verifying tunnel connections. (default "/etc/ssl/certs")
'Specify certificate to use for the tunnel connection, either public or private. Default: private. (default "private")'
Inverse of '--direct-domains'. Only requests for domains in this list will be sent through the tunnel. Overrides '--direct-domains'.
Don't automatically assign jobs to this tunnel. Jobs will use it only by explicitly providing the right identifier.
Enable verbose logging. Can be used up to two times. (default "true")
Version of the saucelabs/sauce-connect docker image.
Do not retry if this amount of minutes has passed since starting. (default: "10")