Skip to content

Commit 26ff278

Browse files
authored
Introduce SC5 Guides section (#3170)
* Move readiness checks under guides * Reorganize guides section * Move SC5 API server under guides * Move SC5 ci-cd-integration under guides * Move SC5 configuration under guides * Move SC5 overview under guides * Move SC5 proxies under guides * Move SC5 tunnel-pool under guides * Move SC5 tunnels under guides * Move logging and monitoring under guides * Move SC5 traffic inspection under guides * Remove SC5 overview from sidebar, it's going to be replaced with quickstart
1 parent 997b0cf commit 26ff278

20 files changed

+49
-50
lines changed

docs/basics/acct-team-mgmt/managing-service-accounts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,4 +141,4 @@ Jobs run by service accounts are displayed on the [Automated Test Results page](
141141

142142
### Using Sauce Connect Proxy with a Service Account
143143

144-
If you plan to run tests through a [Sauce Connect Proxy tunnel](/secure-connections/), be mindful of tunnel sharing options. Service accounts cannot create or manage tunnels, so you must use a tunnel that has been shared with the service account’s assigned team. For detailed configuration instructions, refer to the [shared tunnels section](/secure-connections/sauce-connect-5/operation/overview/#shared-tunnels).
144+
If you plan to run tests through a [Sauce Connect Proxy tunnel](/secure-connections/), be mindful of tunnel sharing options. Service accounts cannot create or manage tunnels, so you must use a tunnel that has been shared with the service account’s assigned team. For detailed configuration instructions, refer to the [shared tunnels section](/secure-connections/sauce-connect-5/guides/overview/#shared-tunnels).

docs/basics/acct-team-mgmt/sauce-connect-proxy-tunnels.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_label: Sharing Sauce Connect Proxy Tunnels
66

77
You can share Sauce Connect Proxy tunnels based on the hierarchical structure of your [user roles](/basics/acct-team-mgmt/managing-user-info/#user-roles). You can also verify which tunnels are available on the **Tunnels** page in Sauce Labs.
88

9-
For instructions on running a job using a shared tunnel, refer to the [shared tunnels guide](/secure-connections/sauce-connect-5/operation/overview/#shared-tunnels).
9+
For instructions on running a job using a shared tunnel, refer to the [shared tunnels guide](/secure-connections/sauce-connect-5/guides/overview/#shared-tunnels).
1010

1111
| Role Creating Tunnel | Sharing Options (live testing or test automation) | Use Tunnels (live testing or test automation) | Stop options (from tunnels page) |
1212
| -------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------- | ------------------------------------------------- |

docs/dev/cli/sauce-connect-5.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,4 @@ Use "sc <command> --help" for more information about a given command.
8282
## Additional Resources
8383
8484
- [Sauce Connect Proxy Basic Setup](/secure-connections/sauce-connect-5/installation/).
85-
- [Sauce Connect Proxy Environment Variables](/secure-connections/sauce-connect-5/operation/configuration/#environment-variables).
85+
- [Sauce Connect Proxy Environment Variables](/secure-connections/sauce-connect-5/guides/configuration/#environment-variables).

docs/secure-connections.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ See our [Sauce Connect Proxy Security Overview](https://saucelabs.com/resources/
2929
</div>
3030
<div className="box box3 card">
3131
<div className="container">
32-
<h3><a href="/secure-connections/sauce-connect-5/operation/overview">Setup and Configuration</a></h3>
32+
<h3><a href="/secure-connections/sauce-connect-5/guides/overview">Setup and Configuration</a></h3>
3333
<p>Learn how to launch a basic Sauce Connect Proxy tunnel configuration. Once you’re connected, use our code samples to run your first test.</p>
3434
</div>
3535
</div>
@@ -41,7 +41,7 @@ See our [Sauce Connect Proxy Security Overview](https://saucelabs.com/resources/
4141
</div>
4242
<div className="box box5 card">
4343
<div className="container">
44-
<h3><a href="/secure-connections/sauce-connect-5/operation/ci-cd-integration">CI/CD Integration</a></h3>
44+
<h3><a href="/secure-connections/sauce-connect-5/guides/ci-cd-integration">CI/CD Integration</a></h3>
4545
<p>Streamline your Sauce Connect Proxy automated functional testing by integrating your preferred build provider with Sauce Labs.</p>
4646
</div>
4747
</div>
@@ -59,7 +59,7 @@ See our [Sauce Connect Proxy Security Overview](https://saucelabs.com/resources/
5959
</div>
6060
<div className="box box8 card">
6161
<div className="container">
62-
<h3><a href="/secure-connections/sauce-connect-5/operation/tunnel-pool/">Tunnel Pool Setup</a></h3>
62+
<h3><a href="/secure-connections/sauce-connect-5/guides/tunnel-pool/">Tunnel Pool Setup</a></h3>
6363
<p>Set up a high volume of tests to run parallel through multiple Sauce Connect Proxy tunnels to save time.</p>
6464
</div>
6565
</div>

docs/secure-connections/sauce-connect-5/faq.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Port 443 is the typical default port for HTTPS traffic. Sauce Connect will use p
2424

2525
You can use the [`-x / --proxy`](/dev/cli/sauce-connect-5/run/#proxy) command-line option (or `SAUCE_PROXY` environment variable) to specify the `hostname:port` of the proxy for all Sauce Connect Proxy traffic to the site(s) under test. In some companies you MUST pass traffic through a proxy to reach the internet.
2626

27-
See also [Sauce Connect Proxy Setup with Additional Proxies](/secure-connections/sauce-connect-5/operation/proxies).
27+
See also [Sauce Connect Proxy Setup with Additional Proxies](/secure-connections/sauce-connect-5/guides/proxies).
2828

2929
## How can I share a Sauce Connect tunnel between multiple accounts?
3030

@@ -53,13 +53,13 @@ Entering this code -- `(www.)?google-analytics.com,(www.)?googletagmanager.com,(
5353

5454
You can access `localhost` through Sauce Connect on Virtual Desktop Browser tests. However, you cannot proxy `localhost` or 127.0.0.1 connections on any Mobile tests, whether they are Emulators, Simulators, or Real Devices.
5555

56-
When using Sauce Connect Proxy, local websites running on commonly used ports are available to test at `localhost` or 127.0.0.1 URLs. The exception is when testing on Real or Virtual Mobile Devices. Real and Virtual Mobile tests require changes to the `/etc/hosts` file where Sauce Connect Proxy is hosted. For more information, see [Testing Mobile Devices Against localhost](/secure-connections/sauce-connect-5/operation/configuration/#sc5localhost).
56+
When using Sauce Connect Proxy, local websites running on commonly used ports are available to test at `localhost` or 127.0.0.1 URLs. The exception is when testing on Real or Virtual Mobile Devices. Real and Virtual Mobile tests require changes to the `/etc/hosts` file where Sauce Connect Proxy is hosted. For more information, see [Testing Mobile Devices Against localhost](/secure-connections/sauce-connect-5/guides/configuration/#sc5localhost).
5757

5858
For all platforms, tests may perform better when using a locally defined domain name (which can be set in your [`hosts` file](http://en.wikipedia.org/wiki/Hosts_file)) rather than `localhost`. Using a locally defined domain name also allows access to apps on any port. If you are using a parent proxy with Sauce Connect, you may need the [`--proxy-localhost` flag](/dev/cli/sauce-connect-5/run/#proxy-localhost).
5959

6060
## How can I improve tunnel performance?
6161

62-
See [Improving Sauce Connect Proxy Performance](/secure-connections/sauce-connect-5/operation/tunnels/#sc5perf).
62+
See [Improving Sauce Connect Proxy Performance](/secure-connections/sauce-connect-5/guides/tunnels/#sc5perf).
6363

6464
## What are the supported ports on localhost?
6565

docs/secure-connections/sauce-connect-5/monitoring.md renamed to docs/secure-connections/sauce-connect-5/guides/monitoring.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can manage and monitor all Sauce Connect Proxy tunnel activity from the Sauc
2626
## Grafana Dashboard
2727

2828
[Prometheus](https://prometheus.io/) can be used to monitor Sauce Connect Proxy.
29-
The `/metrics` endpoint is available on [the local API server](/secure-connections/sauce-connect-5/operation/api-server).
29+
The `/metrics` endpoint is available on [the local API server](/secure-connections/sauce-connect-5/guides/api-server).
3030
Note that the API server must be enabled with the `--api-address` option, and by default it's disabled.
3131

3232
Grafana dashboard using these metrics is available at [Grafana Dashboards](https://grafana.com/grafana/dashboards/20232-sauce-connect/).

docs/secure-connections/sauce-connect-5/operation/overview.md renamed to docs/secure-connections/sauce-connect-5/guides/overview.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ Sauce Connect Proxy operations and administration involve everything required to
1717
## Installation and Configuration
1818

1919
- See the [installation instructions](/secure-connections/sauce-connect-5/installation/)
20-
- See the [configuration guide](/secure-connections/sauce-connect-5/operation/configuration/)
20+
- See the [configuration guide](/secure-connections/sauce-connect-5/guides/configuration/)
2121

2222
## Administration
2323

2424
We recommend using a single Sauce Connect Proxy tunnel or tunnel pool for each test suite or build, and tearing it down at the end of your test. Your test automation framework should launch Sauce Connect Proxy before the test suite is triggered and shut it down when the suite finishes.
2525

2626
### Security Considerations
2727

28-
We recommend using a [config file](/secure-connections/sauce-connect-5/operation/configuration/#config-file)
29-
or [setting environment variables](/secure-connections/sauce-connect-5/operation/configuration/#environment-variables)
28+
We recommend using a [config file](/secure-connections/sauce-connect-5/guides/configuration/#config-file)
29+
or [setting environment variables](/secure-connections/sauce-connect-5/guides/configuration/#environment-variables)
3030
to hide sensitive information like your password ([--access-key](/dev/cli/sauce-connect-5/run/#access-key))
3131
and proxy credentials. This way, they won't be visible in the list of running
3232
processes.
@@ -100,7 +100,7 @@ sc.exe run --username <your user> --access-key <your access key> --region <us-we
100100

101101
### Monitoring Tunnels
102102

103-
See the [monitoring overview](/secure-connections/sauce-connect-5/monitoring)
103+
See the [monitoring overview](/secure-connections/sauce-connect-5/guides/monitoring)
104104

105105
### Service Management Tools
106106

docs/secure-connections/sauce-connect-5/operation/readiness-checks.md renamed to docs/secure-connections/sauce-connect-5/guides/readiness-checks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ to wait for the sc container to be healthy before starting the test container.
9191

9292
### Using sc readiness endpoint
9393

94-
Sauce Connect provides a local [API server](/secure-connections/sauce-connect-5/operation/api-server) that contains readiness and liveness endpoints.
94+
Sauce Connect provides a local [API server](/secure-connections/sauce-connect-5/guides/api-server) that contains readiness and liveness endpoints.
9595
The readiness endpoint `/readyz` returns a 200 response code when Sauce Connect Proxy is ready, and 503 otherwise.
9696

9797
To use the API server, you need to start Sauce Connect with the `--api-address` option or set the `SC_API_ADDRESS` environment variable.

docs/secure-connections/sauce-connect-5/operation/tunnel-pool.md renamed to docs/secure-connections/sauce-connect-5/guides/tunnel-pool.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Tunnel pools use a round-robin algorithm to distribute test traffic evenly. If a
9797

9898
* Visit the [Sauce Labs Tunnels Dashboard](https://app.saucelabs.com/tunnels) for live tunnel status.
9999
* Regularly check for inactive or crashed tunnels and restart them as needed.
100-
* See [Monitoring Tunnels](/secure-connections/sauce-connect-5/monitoring/) for more information.
100+
* See [Monitoring Tunnels](/secure-connections/sauce-connect-5/guides/monitoring/) for more information.
101101

102102
## Summary
103103

docs/secure-connections/sauce-connect-5/operation/tunnels.md renamed to docs/secure-connections/sauce-connect-5/guides/tunnels.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ It can also be used to simulate non-loading of scripts, styles, or other resourc
4646
- Use wildcards to include subdomains by prefixing domain name with a dot `.`
4747
- Example: `.mydomain.com` will include `sub.mydomain.com` and `sub1.mydomain.com` but not `sub.myotherdomain.com`
4848
- See [`Formatting domains for CLI`](/dev/cli/sauce-connect-5/run/#formatting-domains)
49-
- Configuring domains in [YAML config file](/secure-connections/sauce-connect-5/operation/configuration/#config-file)
49+
- Configuring domains in [YAML config file](/secure-connections/sauce-connect-5/guides/configuration/#config-file)
5050
```yaml
5151
---
5252
# this will include all subdomains of example.com as well as dev.httpbin.org

docs/secure-connections/sauce-connect-5/installation/docker.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,11 @@ To access logs:
196196

197197
The docker container has a built-in health check that can be used to determine if the tunnel is ready to accept jobs.
198198
You should see the container status as `healthy` in `docker ps` when the tunnel is ready.
199-
See [Sauce Connect Proxy Readiness Checks](/secure-connections/sauce-connect-5/operation/readiness-checks) for more information.
199+
See [Sauce Connect Proxy Readiness Checks](/secure-connections/sauce-connect-5/guides/readiness-checks) for more information.
200200

201201
## Additional Resources
202202

203-
- [Sauce Connect Proxy Readiness Checks](/secure-connections/sauce-connect-5/operation/readiness-checks)
203+
- [Sauce Connect Proxy Readiness Checks](/secure-connections/sauce-connect-5/guides/readiness-checks)
204204
- [Use host networking in Docker](https://docs.docker.com/network/host/)
205205
- [Connect from a container to a service on the macOS host](https://docs.docker.com/desktop/mac/networking/#use-cases-and-workarounds)
206206
- [Docker Compose File](https://docs.docker.com/compose/compose-file/compose-file-v3/)

docs/secure-connections/sauce-connect-5/migrating.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -104,22 +104,22 @@ The following flags have changed or been removed with Sauce Connect 5. In additi
104104

105105
### Removed Flags
106106

107-
| Version 4.x | Version 5.x |
108-
| ----------- | ----------- |
109-
| `--autodetect` | removed |
110-
| `--doctor` | removed |
111-
| `--experimental` | removed |
112-
| `--extra-info` | removed |
113-
| `--log-stats` | removed |
114-
| `--max-logsize` | removed |
115-
| `--no-autodetect` | removed |
116-
| `--ocsp` | removed |
117-
| `--output-format` | removed |
118-
| `--pidfile` | removed |
119-
| `--readyfile` | see [Readiness Checks](/secure-connections/sauce-connect-5/operation/readiness-checks/) |
120-
| `--se-port` | removed |
121-
| `--tunnel-cainfo` | removed |
122-
| `--vm-version` | removed |
107+
| Version 4.x | Version 5.x |
108+
| ----------- |--------------------------------------------------------------------------------------|
109+
| `--autodetect` | removed |
110+
| `--doctor` | removed |
111+
| `--experimental` | removed |
112+
| `--extra-info` | removed |
113+
| `--log-stats` | removed |
114+
| `--max-logsize` | removed |
115+
| `--no-autodetect` | removed |
116+
| `--ocsp` | removed |
117+
| `--output-format` | removed |
118+
| `--pidfile` | removed |
119+
| `--readyfile` | see [Readiness Checks](/secure-connections/sauce-connect-5/guides/readiness-checks/) |
120+
| `--se-port` | removed |
121+
| `--tunnel-cainfo` | removed |
122+
| `--vm-version` | removed |
123123

124124
## New Behavior in Sauce Connect 5
125125

@@ -167,7 +167,7 @@ You can also prefix the option with a `-` character to remove it from the list,
167167

168168
### Readiness Checks
169169

170-
SC5 has been designed to integrate with Kubernetes and other container management systems. The `readyfile` and `status-address` options have been replaced by the `api-address` option. See [Readiness Checks](https://docs.saucelabs.com/secure-connections/sauce-connect-5/operation/readiness-checks/) for more details.
170+
SC5 has been designed to integrate with Kubernetes and other container management systems. The `readyfile` and `status-address` options have been replaced by the `api-address` option. See [Readiness Checks](https://docs.saucelabs.com/secure-connections/sauce-connect-5/guides/readiness-checks/) for more details.
171171

172172
### PID Files
173173

docs/secure-connections/sauce-connect-5/quickstart.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ An [`sc legacy`](/dev/cli/sauce-connect-5/legacy/) command is introduced to help
1919

2020
- A Sauce Labs account ([Log in](https://accounts.saucelabs.com/am/XUI/#login/) or sign up for a [free trial license](https://saucelabs.com/sign-up)).
2121
- If you haven't already, make sure you can access the website or mobile app that you'll be testing from the Sauce Connect Proxy host.
22-
- Check to see if you have any [proxies](/secure-connections/sauce-connect-5/operation/proxies/) that are required to access the public Internet.
22+
- Check to see if you have any [proxies](/secure-connections/sauce-connect-5/guides/proxies/) that are required to access the public Internet.
2323

2424
## Installing Sauce Connect Proxy
2525

@@ -36,7 +36,7 @@ See the [installation instructions](/secure-connections/sauce-connect-5/installa
3636
This snippet contains your authentication credentials (username and access key), selects a Sauce Labs Data Center, and applies a name to your tunnel. Optionally, you can rename your tunnel by replacing the value after the <code>--tunnel-name</code> flag.
3737
</details>
3838
5. Paste the snippet into your terminal and run it. This will launch the tunnel.
39-
6. Follow the steps in the [setup instructions](/secure-connections/sauce-connect-5/operation/overview/#running-sauce-connect-proxy) to start Sauce Connect Proxy 5 using the username and the access key obtained in the previous step.
39+
6. Follow the steps in the [setup instructions](/secure-connections/sauce-connect-5/guides/overview/#running-sauce-connect-proxy) to start Sauce Connect Proxy 5 using the username and the access key obtained in the previous step.
4040

4141
## Verify Connection
4242

@@ -111,7 +111,7 @@ Alternatively, you can go to the **Tunnel Proxies** page and click one of the **
111111
## More Information
112112

113113
- [Sauce Connect Proxy Overview](/secure-connections/sauce-connect-5/)
114-
- [Sauce Connect Proxy Configuration](/secure-connections/sauce-connect-5/operation/configuration)
114+
- [Sauce Connect Proxy Configuration](/secure-connections/sauce-connect-5/guides/configuration)
115115
- [Sauce Connect Proxy 5 CLI Reference](/dev/cli/sauce-connect-5/)
116116
- [Uploading and Managing Mobile Apps in Sauce Labs](/mobile-apps/app-storage)
117117
- [Live Testing Web Apps](/web-apps/live-testing/live-cross-browser-testing/)

sidebars.js

+10-11
Original file line numberDiff line numberDiff line change
@@ -1024,22 +1024,21 @@ module.exports = {
10241024
'secure-connections/sauce-connect-5/installation/kubernetes',
10251025
],
10261026
},
1027-
'secure-connections/sauce-connect-5/logging',
1028-
'secure-connections/sauce-connect-5/monitoring',
1029-
'secure-connections/sauce-connect-5/inspecting',
10301027
'secure-connections/sauce-connect-5/system-requirements',
10311028
{
10321029
type: 'category',
1033-
label: 'Setup and Configuration',
1030+
label: 'Guides',
10341031
collapsed: true,
10351032
items: [
1036-
'secure-connections/sauce-connect-5/operation/overview',
1037-
'secure-connections/sauce-connect-5/operation/configuration',
1038-
'secure-connections/sauce-connect-5/operation/proxies',
1039-
'secure-connections/sauce-connect-5/operation/api-server',
1040-
'secure-connections/sauce-connect-5/operation/tunnel-pool',
1041-
'secure-connections/sauce-connect-5/operation/ci-cd-integration',
1042-
'secure-connections/sauce-connect-5/operation/readiness-checks',
1033+
'secure-connections/sauce-connect-5/guides/configuration',
1034+
'secure-connections/sauce-connect-5/guides/api-server',
1035+
'secure-connections/sauce-connect-5/guides/readiness-checks',
1036+
'secure-connections/sauce-connect-5/guides/logging',
1037+
'secure-connections/sauce-connect-5/guides/monitoring',
1038+
'secure-connections/sauce-connect-5/guides/proxies',
1039+
'secure-connections/sauce-connect-5/guides/inspecting',
1040+
'secure-connections/sauce-connect-5/guides/ci-cd-integration',
1041+
'secure-connections/sauce-connect-5/guides/tunnel-pool',
10431042
],
10441043
},
10451044
{

0 commit comments

Comments
 (0)