blade-sauce_labs_plugin 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -0,0 +1,83 @@
1
+ Systemd is a system and service manager for Linux that, among other things, can be used to control the starting and stopping of services. For more information check out https://www.freedesktop.org/wiki/Software/systemd/
2
+
3
+ Sauce Connect is a secure tunneling application that allows the Sauce Labs browser cloud to connect to websites you want to test that are hosted on localhost or behind a firewall. For more information check out the Sauce Labs documentation wiki: https://wiki.saucelabs.com/display/DOCS/Sauce+Connect
4
+
5
+ These instructions will show you how to set up systemd with Sauce Connect to manage the starting and stopping of Sauce Connect tunnels.
6
+
7
+ Systemd will automatically start the Sauce Connect service, monitor each client, and tranparently restart the client if the client gets disconnected or a tunnel goes down.
8
+
9
+ Setting Up systemd
10
+ ----------------
11
+
12
+ 1. Copy the files `sc.service` & `sc@.service` to `/etc/systemd/system`.
13
+ 2. Create a directory `sc.service.wants` in `/etc/systemd/system`.
14
+ You'll have to create symbolic links inside this directory to set up new instances of Sauce
15
+ Connect. For example, if you'd like to have two Sauce Connect instances listening on
16
+ port 8000 & 8001:
17
+ ```
18
+ $ cd /etc/systemd/system/
19
+ $ sudo mkdir -p ./sc.service.wants
20
+ $ sudo ln -s /etc/systemd/system/sc@.service ./sc.service.wants/sc@8000.service
21
+ $ sudo ln -s /etc/systemd/system/sc@.service ./sc.service.wants/sc@8001.service
22
+ ```
23
+ 3. Add your Saucelabs credentials to `/etc/systemd/system/sc@.service` in the
24
+ service section like this:
25
+ ```
26
+ Environment=SAUCE_USERNAME=myusername
27
+ Environment=SAUCE_ACCESS_KEY=fd69b0a8-337c-3303-b1bd-xxxxxxxxxxx
28
+ ```
29
+
30
+ Starting and Stopping the Service
31
+ ---------------------
32
+ After you have configured the instances, you can start up the new service:
33
+ ```
34
+ # This is important otherwise systemd won't pick up the new configuration
35
+ $ sudo systemctl daemon-reload
36
+ $ sudo systemctl start sc
37
+ $ sudo systemctl status sc
38
+ ● sc.service - Sauce Connect workers hypervisor
39
+ Loaded: loaded (/etc/systemd/system/sc.service; disabled; vendor preset: enabled)
40
+ Active: active (exited) since Wed 2016-04-06 17:44:37 PDT; 6s ago
41
+ ...
42
+
43
+ $ sudo systemctl status 'sc@*'
44
+ ● sc@8000.service - Sauce Connect worker service on port 8000
45
+ Loaded: loaded (/etc/systemd/system/sc@.service; enabled; vendor preset: enabled)
46
+ Active: active (running) since Wed 2016-04-06 17:44:37 PDT; 23s ago
47
+ ...
48
+ Apr 06 17:44:50 usery-BigFatServerzz sc[6772]: 20160406 174450.926 [06772] Sauce Connect is up, you may start your tests.
49
+ ```
50
+ To stop all the instances:
51
+ ```
52
+ $ sudo systemctl stop sc
53
+ ```
54
+ Managing Individual Instances
55
+ -----------------------------
56
+ You can also manage invididual instance without impacting the other instances by using the syntax `sc@<PORT NUMBER>`. For example, here's how you'd manage the instance listening on port 8000:
57
+ ```
58
+ $ sudo systemctl status 'sc@8000.service'
59
+ ● sc@8000.service - Sauce Connect worker service on port 8000
60
+ Loaded: loaded (/etc/systemd/system/sc@.service; enabled; vendor preset: enabled)
61
+ Active: active (running) since Wed 2016-04-06 17:44:37 PDT; 5min ago
62
+ ...
63
+
64
+
65
+ # This won't affect the other instances
66
+ $ sudo systemctl restart 'sc@8000.service'
67
+
68
+ ```
69
+ Systemd Tips and Tricks
70
+ =====================
71
+
72
+ When working with systemd I recommend making an alias for systemctl to automate
73
+ the configuration reload:
74
+
75
+ function sd() {
76
+ sudo systemctl daemon-reload > /dev/null
77
+ sudo systemctl $@
78
+ }
79
+
80
+ When debugging problems with a unit:
81
+
82
+ $ systemctl status unit
83
+ $ journalctl -xe -u unit
@@ -0,0 +1,16 @@
1
+ #
2
+ # Start & stop Sauce Connect workers
3
+ #
4
+ [Unit]
5
+ Description=Sauce Connect workers hypervisor
6
+ After=network.target
7
+
8
+ [Service]
9
+ Type=oneshot
10
+ RemainAfterExit=yes
11
+ ExecStart=/bin/true
12
+ ExecReload=/bin/true
13
+ WorkingDirectory=/tmp
14
+
15
+ [Install]
16
+ WantedBy=multi-user.target
@@ -0,0 +1,28 @@
1
+ [Unit]
2
+ Description=Sauce Connect worker service on port %i
3
+ PartOf=sc.service
4
+ ReloadPropagatedFrom=sc.service
5
+
6
+ [Service]
7
+ Type=simple
8
+ User=nobody
9
+ Group=nogroup
10
+ WorkingDirectory=/tmp
11
+ LimitNOFILE=8192
12
+ Restart=always
13
+
14
+ # Set those to match your Saucelabs credentials
15
+ Environment=SAUCE_USERNAME=username
16
+ Environment=SAUCE_ACCESS_KEY=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
17
+
18
+ ExecStart = /usr/local/bin/sc \
19
+ --logfile - \
20
+ --pidfile "/tmp/sauceconnect_%i.pid" \
21
+ --se-port "%i" \
22
+ --no-remove-colliding-tunnels \
23
+ --wait-tunnel-shutdown
24
+ # Not needed with systemd
25
+ ExecStartPost = /bin/rm -f /tmp/sauceconnect_%i.pid
26
+
27
+ [Install]
28
+ WantedBy=multi-user.target
@@ -0,0 +1,76 @@
1
+ Upstart is an event-based replacement for the `/sbin/init` Linux daemon that handles starting of tasks and services during boot, stopping them during shutdown, and supervising them while the system is running. For more information check out http://upstart.ubuntu.com.
2
+
3
+ Upstart will automatically start the Sauce Connect service, monitor each client, and tranparently restart the client if the client gets disconnected or a tunnel goes down.
4
+
5
+ Sauce Connect is a secure tunneling application that enables the Sauce Labs browser cloud to connect with websites you want to test that are hosted on your local machine or behind a firewall.
6
+
7
+ These instructions will help you set up Sauce Connect so that the starting and stopping of tunnels is controlled by Upstart.
8
+
9
+ 1. Install the Sauce connect binary to `/usr/local/bin/sc`.
10
+ 2. Copy the `sc_worker.conf` & `sc.conf` files to `/etc/init`.
11
+ This will create two new upstart services, `sc_worker` and `sc.conf`. `sc_worker` manages individual Sauce Connect instance, while `sc.conf` manages multiple-instances started with `sc_worker`, allowing you to start multiple instances on the same server.
12
+ 3. Check that the services are installed correctly with the `initctl list` command:
13
+ ```
14
+ $ initctl list | grep '^sc'
15
+ sc_worker stop/waiting
16
+ sc stop/waiting
17
+ ```
18
+ 4. Create a file named `/etc/default/sc` to store Sauce Connect's configuration options.
19
+ It should look something like that:
20
+ ```
21
+ SAUCE_USERNAME=username
22
+ SAUCE_ACCESS_KEY=fd698b0a-744c-4205-pa3d-16e2734127bf
23
+ ```
24
+ Single Instance
25
+ ---------------
26
+
27
+ Once that's done you can start and stop invidual Sauce Connect instance like this:
28
+ ```
29
+ $ sudo start sc_worker SE_PORT=8888
30
+ sc_worker (8888) start/running, process 8856
31
+ ```
32
+ The value `SE_PORT` corresponds to the Selenium port, each instance must have a
33
+ unique Seleniun port to listen on.
34
+
35
+ Let's check that our instace was started properly:
36
+
37
+ $ status sc_worker SE_PORT=8888
38
+ sc_worker (8888) start/running, process 8856
39
+
40
+ Looks all good, you now have a single instance of Sauce Connect running. If the
41
+ tunnel closes or anything unexpected happens upstart will automatically restart
42
+ Sauce Connect to re-establish connectivity.
43
+
44
+ Multiple Instances
45
+ ------------------
46
+
47
+ While single instance setups are perfectly acceptable for small scale operations, you should set up multiple instances of Sauce Connect with High Availability to improve reliability & performance. For more information about the High Availability configuration for Sauce Connect, check our our documentation wiki: https://wiki.saucelabs.com/display/DOCS/Sauce+Connect
48
+
49
+ To use multiple instances, edit `/etc/default/sc` and add the parameter `SE_PORTS`
50
+ like this:
51
+ ```
52
+ SAUCE_USERNAME=username
53
+ SAUCE_ACCESS_KEY=fd698b0a-744c-4205-pa3d-16e2734127bf
54
+ SE_PORTS='8000 8001 8002 8003'
55
+ ```
56
+ This will create four Sauce Connect instances, listening on port 8000, 8001, 8002,
57
+ & 8003. Let's try it out with the `sc` service:
58
+ ```
59
+ $ sudo start sc
60
+ sc start/running
61
+ ```
62
+ Let's check the status of the `sc_worker` services:
63
+ ```
64
+ $ initctl list | grep sc_worker
65
+ sc_worker (8001) start/running, process 8503
66
+ sc_worker (8000) start/running, process 8500
67
+ sc_worker (8003) start/running, process 8512
68
+ sc_worker (8002) start/running, process 8508
69
+ ```
70
+ Stopping those instances is the same as starting them:
71
+ ```
72
+ $ sudo stop sc
73
+ sc stop/waiting
74
+ $ initctl list | grep sc_worker
75
+ sc_worker stop/waiting
76
+ ```
@@ -0,0 +1,29 @@
1
+ # vim:ft=upstart:
2
+ description "SauceLabs' Sauce Connect tunnel worker supervisor service"
3
+
4
+ start on runlevel [2345]
5
+ stop on runlevel [016]
6
+
7
+ pre-start script
8
+ # Load configuration
9
+ test -r /etc/default/sc || { stop; exit 0; }
10
+ . /etc/default/sc
11
+ test -n "$SE_PORTS" || { stop; exit 1; }
12
+
13
+ for se_port in $SE_PORTS
14
+ do
15
+ start sc_worker SE_PORT=$se_port
16
+ done
17
+ end script
18
+
19
+ post-stop script
20
+ # Load configuration
21
+ test -r /etc/default/sc || { stop; exit 0; }
22
+ . /etc/default/sc
23
+ test -n "$SE_PORTS" || { stop; exit 1; }
24
+
25
+ for se_port in $SE_PORTS
26
+ do
27
+ stop sc_worker SE_PORT=$se_port || true # ignore shutdown instances
28
+ done
29
+ end script
@@ -0,0 +1,59 @@
1
+ #
2
+ # This Upstart config expects that Sauce Connect (SC) is installed at
3
+ # /usr/local/bin/sc. Edit that path if it is installed somewhere else.
4
+ #
5
+ # Copy this file to /etc/init/sc.conf, and do:
6
+ #
7
+ # $ sudo initctl reload-configuration
8
+ #
9
+ # Then you can manage SC via the usual upstart tools, e.g.:
10
+ #
11
+ # $ sudo start sc
12
+ # $ sudo restart sc
13
+ # $ sudo stop sc
14
+ # $ sudo status sc
15
+ #
16
+
17
+ description "SauceLabs' Sauce Connect tunnel worker service"
18
+
19
+ instance $SE_PORT
20
+ usage "SE_PORT - selenium port"
21
+
22
+ stop on stopping sc
23
+
24
+ setuid nobody
25
+ setgid nogroup
26
+ chdir /tmp
27
+ # Restart Sauce Connect if it exits
28
+ respawn
29
+ # Sauce Connect output go to $logdir/sc.log.
30
+ console log
31
+ # Bump maximum number of open files/sockets.
32
+ limit nofile 8192 8192
33
+
34
+ # Sauce Connect will be killed if doesn't stop within 2 minutes. SC usually
35
+ # exits much faster than 2 minutes but it can occasionally get stuck if the
36
+ # connectivity between SC & Saucelabs is interupted.
37
+ kill timeout 120
38
+
39
+ script
40
+ # Load configuration
41
+ test -r /etc/default/sc || { stop; exit 0; }
42
+ . /etc/default/sc
43
+
44
+ # Temporary PID file since it's a required option for SauceConnect
45
+ pidfile="/tmp/.sauceconnect_$SE_PORT.pid"
46
+ exec \
47
+ env \
48
+ SAUCE_USERNAME="$SAUCE_USERNAME" \
49
+ SAUCE_ACCESS_KEY="$SAUCE_ACCESS_KEY" \
50
+ /usr/local/bin/sc \
51
+ --logfile - \
52
+ --pidfile "$pidfile" \
53
+ --se-port "$SE_PORT" \
54
+ --no-remove-colliding-tunnels \
55
+ --wait-tunnel-shutdown
56
+ end script
57
+
58
+ # Remove PID file once we've started the service since it's not needed
59
+ post-start exec rm -f "/tmp/.sauceconnect_$SE_PORT.pid"
@@ -19,35 +19,34 @@ Public Release of Sauce Connect <br />
19
19
  READ THIS AGREEMENT CAREFULLY.
20
20
  </b></p>
21
21
  <p>
22
- BY CLICKING ON THE “I AGREE” BUTTON OR INSTALLING OR USING ALL OR ANY PORTION OF THE SOFTWARE, YOU ARE ACCEPTING ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU AGREE THAT THIS AGREEMENT IS ENFORCEABLE LIKE ANY WRITTEN AGREEMENT SIGNED BY YOU.
22
+ BY USING THIS SOFTWARE, YOU ARE ACCEPTING ALL OF THE TERMS AND CONDITIONS OF THIS AGREEMENT. YOU AGREE THAT THIS AGREEMENT IS ENFORCEABLE LIKE ANY WRITTEN AGREEMENT SIGNED BY YOU.
23
23
  </p><p>
24
- IF YOU DO NOT AGREE TO ALL OF THESE TERMS AND CONDITIONS, CLICK “I DON’T AGREE”. YOU WILL NOT BE GIVEN ACCESS TO THE SOFTWARE UNLESS YOU ACCEPT THE TERMS OF THIS AGREEMENT. IF YOU HAVE PAID A LICENSE FEE FOR USE OF THE SOFTWARE AND DO NOT AGREE TO THESE TERMS, YOU MAY RETURN OR CONFIRM DELETION OF ALL COPIES OF THE SOFTWARE FOR A FULL REFUND PROVIDED YOU (A) DO NOT USE THE SOFTWARE AND (B) RETURN THE SOFTWARE WITHIN THIRTY (30) DAYS OF YOUR INITIAL PURCHASE.
25
- </p><p>
26
- IF YOU WISH TO USE the Software AS AN EMPLOYEE, CONTRACTOR, OR AGENT OF A CORPORATION, PARTNERSHIP OR SIMILAR ENTITY, THEN YOU MUST BE AUTHORIZED TO SIGN FOR AND BIND THE ENTITY IN ORDER TO ACCEPT THE TERMS OF THIS AGREEMENT. THE LICENSES GRANTED UNDER THIS AGREEMENT ARE EXPRESSLY CONDITIONED UPON ACCEPTANCE BY SUCH AUTHORIZED PERSONNEL.
24
+ IF YOU WISH TO USE THE SOFTWARE AS AN EMPLOYEE, CONTRACTOR, OR AGENT OF A CORPORATION, PARTNERSHIP OR SIMILAR ENTITY, THEN YOU MUST BE AUTHORIZED TO SIGN FOR AND BIND THE ENTITY IN ORDER TO ACCEPT THE TERMS OF THIS AGREEMENT. THE LICENSES GRANTED UNDER THIS AGREEMENT ARE EXPRESSLY CONDITIONED UPON ACCEPTANCE BY SUCH AUTHORIZED PERSONNEL.
27
25
  </p><p>
28
26
  IF YOU HAVE ENTERED INTO A SEPARATE WRITTEN LICENSE AGREEMENT WITH SAUCE LABS FOR USE OF THE SOFTWARE, THE TERMS AND CONDITIONS OF SUCH OTHER AGREEMENT SHALL PREVAIL OVER ANY CONFLICTING TERMS OR CONDITIONS IN THIS AGREEMENT.
29
27
  </p><p>
30
- This End User License Agreement (“Agreement”) is between Sauce Labs Inc, located at 55 Sheridan St., San Francisco, CA 94103 (“Sauce Labs”) and the customer (individual or entity) that has downloaded or otherwise procured the licensed Software (as defined below) for use as an end user (“you”). This Agreement covers any Software and supporting technical documentation provided with the Software (“Documentation”).
28
+ This End User License Agreement (“Agreement”) is between Sauce Labs Inc., located at 539 Bryant Street, #303, San Francisco, CA 94107 (“Sauce Labs”) and the customer (individual or entity) that has downloaded or otherwise procured the licensed Software (as defined below) for use as an end user (“you”). This Agreement covers any Software and supporting technical documentation provided with the Software (“Documentation”).
31
29
  </p>
32
30
  <div>
33
31
  <h4>1. Definitions. </h4>
34
32
  <p>
35
- <u>Effective Date:</u> means the earlier of the date you sign an Order Form or the date on which the Software is first made available to you.
36
- Order Form: means any order on Sauce Labs’ standard order form which is executed by Sauce Labs and you and which references this Agreement. Each Order Form which references this Agreement shall be deemed a part of this Agreement. This Agreement is binding on you whether or not you execute an Order Form with Sauce Labs.
33
+ <u>Effective Date:</u> means the earlier of (i) the date you sign an Order Form or (ii) the date on which the Software is first made available to you. Order Form: means any order on Sauce Labs’ standard order form which is executed by Sauce Labs and you and which references this Agreement. Each Order Form which references this Agreement shall be deemed a part of this Agreement. This Agreement is binding on you whether or not you execute an Order Form with Sauce Labs.
37
34
  </p><p>
38
35
  <u>Software:</u> means the Sauce Labs software product(s) provided in connection with this Agreement in object code form. “Software” shall also include any releases provided to or purchased by you under any separate support and maintenance agreement you may enter into with Sauce Labs. Unless otherwise noted, the Software and Documentation are referred to collectively herein as “Software”.
39
36
  </p>
40
37
  <h4>2. License.</h4>
41
38
  <p>
42
- 2.1 <u>Grant of License</u>. Subject to all of the terms and conditions of this Agreement, Sauce Labs grants you a non-transferable, non-sublicensable, non-exclusive license to use the Software, but only in accordance with (i) the Documentation, (ii) this Agreement and (iii) any license term, subscription term or other user, computer, field of use or other restrictions set forth in the applicable Order Form or otherwise specified upon download of the Software.
39
+ 2.1 <u>Grant of License</u>. Subject to all of the terms and conditions of this Agreement and compliance therewith, Sauce Labs grants you a non-transferable, non-sublicensable, non-exclusive license to: (A) use the Software for internal purposes only; and (B) distribute the Software solely for the purpose of bundling the Software with any of your products or services; provided that, such bundling shall not be permitted if the primary value of your product or service is the Software. In the case of both (A) and (B), your use and distribution of the Software shall be in accordance with (i) the Documentation, (ii) this Agreement and (iii) any license term, subscription term or other user, computer, field of use or other restrictions set forth in the applicable Order Form or otherwise specified upon download of the Software. The foregoing license does not include a license to (and you will not use or register anywhere in the world) any trademark or service mark used by Sauce Labs anywhere in the world.
43
40
  </p><p>
44
- 2.2 <u>Installation and Copies</u>. Sauce Labs shall deliver the Software and Documentation by disk or other media or make it available for download in electronic form. Sauce Labs shall also provide you with electronic passwords or other enabling mechanisms if necessary to permit the licensed usage of the Software. Delivery shall be deemed to occur as of the Effective Date (or, if later, such date on which the Software and license keys are first made available to you). You may copy and install the number of copies of Software you indicated to Sauce Labs at the time of download. You may also make one copy of the Software for back-up and archival purposes.
41
+ 2.2 <u>Installation and Copies</u>. The Software and Documentation are available via download in electronic form. Sauce Labs shall also provide you with a user name and electronic password or other enabling mechanisms if necessary to permit the licensed usage of the Software. Delivery shall be deemed to occur as of the Effective Date (or, if later, such date on which the Software and license keys are first made available to you).
45
42
  </p><p>
46
- 2.3 <u>License Restrictions</u>. You shall not (and shall not allow any third party to): (a) work around any technical limitations in the Software; (b) decompile, disassemble, or otherwise reverse engineer the Software or attempt to reconstruct or discover any source code, underlying ideas, algorithms, file formats or programming interfaces of the Software by any means whatsoever (except and only to the extent that applicable law prohibits or restricts reverse engineering restrictions);(c) distribute, sell, sublicense, rent, lease or use the Software (or any portion thereof) for time sharing, commercial hosting, service provider or like purposes; (d) remove any product identification, proprietary, copyright or other notices contained in the Software; (e) modify any part of the Software, create a derivative work of any part of the Software, or incorporate the Software into or with other software, except to the extent expressly authorized in writing by Sauce Labs; or (f) publicly disseminate performance information or analysis (including, without limitation, benchmarks) from any source relating to the Software.
43
+ 2.3 <u>License Restrictions</u>. You shall not (and shall not allow any third party to): (a) work around any technical limitations in the Software; (b) decompile, disassemble, or otherwise reverse engineer the Software or attempt to reconstruct or discover any source code, underlying ideas, algorithms, file formats or programming interfaces of the Software by any means whatsoever (except and only to the extent that applicable law prohibits or restricts reverse engineering restrictions); (c) except as permitted by 2.1(B), distribute, sell, sublicense, rent, lease or use the Software (or any portion thereof) for time sharing, commercial hosting, service provider or like purposes; (d) remove any product identification, proprietary, copyright or other notices contained in the Software; (e) modify any part of the Software, create a derivative work of any part of the Software, or incorporate the Software into or with other software, except to the extent expressly authorized herein or in writing by Sauce Labs; (f) publicly disseminate performance information or analysis (including, without limitation, benchmarks) from any source relating to the Software, (g) use the Software in a manner that violates, or encourages the violation of, the legal rights of others, (h) use the Software for any unlawful, invasive, infringing, defamatory, or fraudulent purpose, (i) use the Software to interfere with Sauce Lab’s products and services, (j) create or attempt to create a substitute or similar service or product through use of or access to the Software or proprietary information related thereto; (k) use the Software to intentionally distribute viruses, worms, Trojan horses, corrupted files, hoaxes, or other items of a destructive or deceptive nature; (l) use the Software to alter, disable, interfere with, or circumvent any aspect of Sauce Labs’ products or services, including but not limited to security features of such products and services; or (l) use the Software in a manner not authorized by Sauce Labs.
47
44
  </p><p>
45
+ 2.3 <u>License Restrictions</u>. You shall not (and shall not allow any third party to): (a) work around any technical limitations in the Software; (b) decompile, disassemble, or otherwise reverse engineer the Software or attempt to reconstruct or discover any source code, underlying ideas, algorithms, file formats or programming interfaces of the Software by any means whatsoever (except and only to the extent that applicable law prohibits or restricts reverse engineering restrictions); (c) except as permitted by 2.1(B), distribute, sell, sublicense, rent, lease or use the Software (or any portion thereof) for time sharing, commercial hosting, service provider or like purposes; (d) remove any product identification, proprietary, copyright or other notices contained in the Software; (e) modify any part of the Software, create a derivative work of any part of the Software, or incorporate the Software into or with other software, except to the extent expressly authorized herein or in writing by Sauce Labs; (f) publicly disseminate performance information or analysis (including, without limitation, benchmarks) from any source relating to the Software, (g) use the Software in a manner that violates, or encourages the violation of, the legal rights of others, (h) use the Software for any unlawful, invasive, infringing, defamatory, or fraudulent purpose, (i) use the Software to interfere with Sauce Lab’s products and services, (j) create or attempt to create a substitute or similar service or product through use of or access to the Software or proprietary information related thereto; (k) use the Software to intentionally distribute viruses, worms, Trojan horses, corrupted files, hoaxes, or other items of a destructive or deceptive nature; (l) use the Software to alter, disable, interfere with, or circumvent any aspect of Sauce Labs’ products or services, including but not limited to security features of such products and services; or (l) use the Software in a manner not authorized by Sauce Labs.
48
46
  2.4 <u>Special Provision regarding Beta or Evaluation Code</u>. If the Software was provided to you free of charge or is otherwise designated as a “beta” or “evaluation” release, you acknowledge that the Software may not be complete or fully functional and furthermore that Sauce Labs provides the Software to you without any support, maintenance or other obligation of any kind. Sauce Labs does not guarantee that the Software will continue to be made available for any period of time or that any future release of the Software will be made available under the same terms.
49
47
  </p><p>
50
- 2.5 <u>Third-Party Open Source Code</u>. The Software may contain or be provided with components subject to the terms and conditions of “open source” software licenses (“Open Source Software”). Open Source Software may be identified in the Documentation, legal notices or as otherwise designated by Sauce Labs or provided to Customer upon Customer’s written request. To the extent required by the license that accompanies the Open Source Software, the terms of such license will apply in lieu of the terms of this Agreement with respect to such Open Source Software, including, without limitation, any provisions governing access to source code, modification or reverse engineering.
48
+ 2.5 <u>Third-Party Open Source Code</u>. The Software may contain or be provided with components subject to the terms and conditions of “open source” software licenses (“Open Source Software”). Open Source Software may be identified in the Documentation, legal notices or as otherwise designated by Sauce Labs or provided to Customer upon Customer’s written request. To the extent required by the license that accompanies the Open Source Software, the terms of such license will apply in lieu of the terms of this Agreement with respect to such Open Source Software, including, without limitation, any provisions governing access to source code, modification or reverse engineering.
49
+
51
50
  </p><p>
52
51
  <h4>3. Ownership.</h4>
53
52
  <p>
@@ -59,7 +58,7 @@ Notwithstanding anything to the contrary contained herein, except for the limite
59
58
  </p><p>
60
59
  4.2 <u>Termination</u>. Upon any expiration or termination of this Agreement, you shall cease any and all use of any Software and destroy all copies thereof and so certify to Sauce Labs in writing.
61
60
  </p><p>
62
- 4.3 <u>Survival</u>. Sections 2.3 (License Restrictions), 3 (Ownership), 4 (Term of Agreement), 5 (Warranty Disclaimer), 7 (Limitation of Remedies and Damages), 8 (Confidential Information), 10 (Export Compliance) and 11 (General) shall survive any termination or expiration of this Agreement.
61
+ 4.3 <u>Survival</u>. Sections 1 (Definitions), 2.3 (License Restrictions), 3 (Ownership), 4 (Term of Agreement), 5 (Warranty Disclaimer), 7 (Limitation of Remedies and Damages), 8 (Confidential Information), 10 (Export Compliance) and 11 (General) shall survive any termination or expiration of this Agreement.
63
62
 
64
63
  <h4>5. Warranty Disclaimer. </h4>
65
64
  <p>
@@ -68,17 +67,17 @@ THE SOFTWARE AND ALL SERVICES ARE PROVIDED “AS IS”. NEITHER SAUCE LABS NOR I
68
67
  YOU MAY HAVE ADDITIONAL CONSUMER RIGHTS UNDER YOUR LOCAL LAWS, WHICH THIS AGREEMENT CANNOT CHANGE.
69
68
  </p>
70
69
  <h4>6. Support &amp; Maintenance.</h4>
71
- <p>Sauce Labs may provide the support and maintenance services, if any, as
72
- separately purchased by you and specified in the applicable Order Form. All
73
- support &amp; maintenance shall be provided pursuant to Sauce Labs’ standard service terms which are available upon request from Sauce Labs.
70
+ <p>Sauce Labs may provide the support and maintenance services, if any, as separately purchased by you and specified in the applicable Order Form. All support & maintenance shall be provided pursuant to Sauce Labs’ standard service terms which are available upon request from Sauce Labs.
74
71
  </p>
75
72
  <h4>7. Limitation of Remedies and Damages.</h4>
76
73
  <p>
77
- 7.1 NEITHER YOU NOR Sauce Labs (Including Sauce Labssuppliers) SHALL BE LIABLE FOR ANY LOSS OF USE, LOST DATA, FAILURE OF SECURITY MECHANISMS, INTERRUPTION OF BUSINESS, OR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY KIND (INCLUDING LOST PROFITS), REGARDLESS OF THE FORM OF ACTION, WHETHER IN CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF INFORMED OF THE POSSIBILITY OF SUCH DAMAGES IN ADVANCE.
74
+ 7.1 SAUCE LABS (INCLUDING SAUCE LABSSUPPLIERS) SHALL NOT BE LIABLE FOR ANY LOSS OF USE, LOST DATA, FAILURE OF SECURITY MECHANISMS, INTERRUPTION OF BUSINESS, OR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY KIND (INCLUDING LOST PROFITS), REGARDLESS OF THE FORM OF ACTION, WHETHER IN CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF IT IS INFORMED OF THE POSSIBILITY OF SUCH DAMAGES IN ADVANCE.
75
+ </p><p>
76
+ 7.2 NOTWITHSTANDING ANY OTHER PROVISION OF THIS AGREEMENT, SAUCE LABS AND ITS SUPPLIERS’ ENTIRE LIABILITY TO YOU UNDER THIS AGREEMENT SHALL NOT EXCEED THE AMOUNT ACTUALLY PAID BY YOU TO SAUCE LABS UNDER THIS AGREEMENT.
78
77
  </p><p>
79
- 7.2 NOTWITHSTANDING ANY OTHER PROVISION OF THIS AGREEMENT, SAUCE LABS AND ITS SUPPLIERS’ ENTIRE LIABILITY TO YOU UNDER THIS AGREEMENT SHALL NOT EXCEED THE AMOUNT ACTUALLY PAID BY YOU TO SAUCE LABS UNDER THIS AGREEMENT.
78
+ 7.3 The parties agree that the limitations specified in this Section 7 will survive and apply even if any limited remedy specified in this Agreement is found to have failed of its essential purpose.
80
79
  </p><p>
81
- 7.3 The parties agree that the limitations specified in this Section 7 will survive and apply even if any limited remedy specified in this Agreement is found to have failed of its essential purpose.
80
+ 7.4 You shall, at your expense, indemnify, hold harmless and, at Sauce Lab’s option and request, defend Sauce Labs and its affiliates, and its and their officers, employees, agents, and suppliers from and against any claims, suits, losses, liabilities, damages, court judgments or awards and the associated costs and expenses (including attorneys’ fees) (collectively, “Losses”) payable to third parties because of (i) actual or alleged infringement by any of your products or services of any intellectual property right or other right of a third party or (ii) breach by you of any representation or warranty contained in this Agreement.
82
81
  </p>
83
82
  <h4>8. Confidential Information.</h4>
84
83
  <p>Any software, documentation or technical information provided by Sauce Labs (or its agents) shall be deemed “Sauce Labs Confidential Information” without any marking or further designation. Except as expressly authorized herein, you will hold in confidence and not use or disclose any Sauce Labs Confidential Information. You acknowledge that disclosure of Sauce Labs Confidential Information would cause substantial harm to Sauce Labs that could not be remedied by the payment of damages alone and therefore that upon any such disclosure by you, Sauce Labs shall be entitled to appropriate equitable relief in addition to whatever remedies it might have at law.
@@ -96,7 +95,7 @@ You agree that Sauce Labs may disclose you as a customer of Sauce Labs.
96
95
  </p><p>
97
96
  11.2 <u>Severability</u>. If any provision of this Agreement shall be adjudged by any court of competent jurisdiction to be unenforceable or invalid, that provision shall be limited to the minimum extent necessary so that this Agreement shall otherwise remain in effect.
98
97
  </p><p>
99
- 11.3 <u>Governing Law; Jurisdiction and Venue</u>. This Agreement shall be governed by the laws of The State of California and the United States without regard to conflicts of laws provisions thereof, and without regard to the United Nations Convention on the International Sale of Goods. The jurisdiction and venue for actions related to the subject matter hereof shall be the California state and United States federal courts located in San Francisco, California, and both parties hereby submit to the personal jurisdiction of such courts.
98
+ 11.3 <u>Governing Law; Jurisdiction and Venue</u>. This Agreement shall be governed by the laws of The State of California and the United States without regard to conflicts of laws provisions thereof, and without regard to the United Nations Convention on the International Sale of Goods. The jurisdiction and venue for actions related to the subject matter hereof shall be the California state and United States federal courts located in San Francisco, California, and both parties hereby submit to the personal jurisdiction of such courts.
100
99
  </p><p>
101
100
  11.4 <u>Attorneys’ Fees and Costs</u>. The prevailing party in any action to enforce this Agreement will be entitled to recover its attorneys’ fees and costs in connection with such action.
102
101
  </p><p>
@@ -110,7 +109,7 @@ You agree that Sauce Labs may disclose you as a customer of Sauce Labs.
110
109
  </p><p>
111
110
  11.9 <u>Force Majeure</u>. Neither party shall be liable to the other for any delay or failure to perform any obligation under this Agreement (except for a failure to pay fees) if the delay or failure is due to unforeseen events, which occur after the signing of this Agreement and which are beyond the reasonable control of the parties, such as strikes, blockade, war, terrorism, riots, natural disasters, refusal of license by the government or other governmental agencies, in so far as such an event prevents or delays the affected party from fulfilling its obligations and such party is not able to prevent or remove the force majeure at reasonable cost.
112
111
  </p><p>
113
- 11.10 <u>Government End-Users</u>. The Software is commercial computer software. If the user or licensee of the Software is an agency, department, or other entity of the United States Government, the use, duplication, reproduction, release, modification, disclosure, or transfer of the Software, or any related documentation of any kind, including technical data and manuals, is restricted by a license agreement or by the terms of this Agreement in accordance with Federal Acquisition Regulation 12.212 for civilian purposes and Defense Federal Acquisition Regulation Supplement 227.7202 for military purposes. The Software was developed fully at private expense. All other use is prohibited.
112
+ 11.10 <u>Government End-Users</u>. The Software is commercial computer software. If the user or licensee of the Software is an agency, department, or other entity of the United States Government, the use, duplication, reproduction, release, modification, disclosure, or transfer of the Software, or any related documentation of any kind, including technical data and manuals, is restricted by a license agreement or by the terms of this Agreement in accordance with Federal Acquisition Regulation 12.212 for civilian purposes and Defense Federal Acquisition Regulation Supplement 227.7202 for military purposes. The Software was developed fully at private expense. All other use is prohibited.
114
113
  </p>
115
114
  </body>
116
115
  </html>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blade-sauce_labs_plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javan Makhmali
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-09 00:00:00.000000000 Z
11
+ date: 2016-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -134,6 +134,7 @@ files:
134
134
  - lib/blade/sauce_labs_plugin/tunnel.rb
135
135
  - lib/blade/sauce_labs_plugin/version.rb
136
136
  - lib/blade/sauce_labs_plugin/web_driver.rb
137
+ - support/sc-linux/COPYRIGHT.md
137
138
  - support/sc-linux/bin/sc
138
139
  - support/sc-linux/config/systemd/README.md
139
140
  - support/sc-linux/config/systemd/sc.service
@@ -141,10 +142,17 @@ files:
141
142
  - support/sc-linux/config/upstart/README.md
142
143
  - support/sc-linux/config/upstart/sc.conf
143
144
  - support/sc-linux/config/upstart/sc_worker.conf
145
+ - support/sc-linux/config_examples/systemd/README.md
146
+ - support/sc-linux/config_examples/systemd/sc.service
147
+ - support/sc-linux/config_examples/systemd/sc@.service
148
+ - support/sc-linux/config_examples/upstart/README.md
149
+ - support/sc-linux/config_examples/upstart/sc.conf
150
+ - support/sc-linux/config_examples/upstart/sc_worker.conf
144
151
  - support/sc-linux/include/sauceconnect.h
145
152
  - support/sc-linux/lib/libsauceconnect.a
146
153
  - support/sc-linux/lib/libsauceconnect.la
147
154
  - support/sc-linux/license.html
155
+ - support/sc-osx/COPYRIGHT.md
148
156
  - support/sc-osx/bin/sc
149
157
  - support/sc-osx/bin/sc.dSYM/Contents/Info.plist
150
158
  - support/sc-osx/bin/sc.dSYM/Contents/Resources/DWARF/sc
@@ -154,6 +162,12 @@ files:
154
162
  - support/sc-osx/config/upstart/README.md
155
163
  - support/sc-osx/config/upstart/sc.conf
156
164
  - support/sc-osx/config/upstart/sc_worker.conf
165
+ - support/sc-osx/config_examples/systemd/README.md
166
+ - support/sc-osx/config_examples/systemd/sc.service
167
+ - support/sc-osx/config_examples/systemd/sc@.service
168
+ - support/sc-osx/config_examples/upstart/README.md
169
+ - support/sc-osx/config_examples/upstart/sc.conf
170
+ - support/sc-osx/config_examples/upstart/sc_worker.conf
157
171
  - support/sc-osx/include/sauceconnect.h
158
172
  - support/sc-osx/lib/libsauceconnect.a
159
173
  - support/sc-osx/lib/libsauceconnect.la