Skip to content

Commit

Permalink
Remove the rest of Sauce support for stability runs (including JWT)
Browse files Browse the repository at this point in the history
Fixes #9903.
  • Loading branch information
foolip committed Mar 12, 2018
1 parent 89800ce commit 6a32f36
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ addons:
- www2.web-platform.test
- xn--n8j6ds53lwwkrqhv28a.web-platform.test
- xn--lve-6lad.web-platform.test
jwt:
secure: N9lvgkqUPtFlz6Vpa6qTPFhymEsDCsbaCsT64/hj3vlHRxK94r5+ugVJ3zm99zC0q2j1ish8yJC7mN/W4wRfBE4sAwmdxrlowxF1DDGCkaLE9i/GWW92s0fBVGJmXLh8kwNkQ31hMOsaGfHIMpeLFS7Se741te7YqsHIzmBCdQs=
before_install:
# This needs be sourced as it sets various env vars
- . ./tools/ci/before_install.sh
Expand Down
22 changes: 0 additions & 22 deletions tools/ci/check_stability.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,22 +172,6 @@ def get_parser():
return parser


def set_default_args(kwargs):
kwargs.set_if_none("sauce_platform",
os.environ.get("PLATFORM"))
kwargs.set_if_none("sauce_build",
os.environ.get("TRAVIS_BUILD_NUMBER"))
python_version = os.environ.get("TRAVIS_PYTHON_VERSION")
kwargs.set_if_none("sauce_tags",
[python_version] if python_version else [])
kwargs.set_if_none("sauce_tunnel_id",
os.environ.get("TRAVIS_JOB_NUMBER"))
kwargs.set_if_none("sauce_user",
os.environ.get("SAUCE_USERNAME"))
kwargs.set_if_none("sauce_key",
os.environ.get("SAUCE_ACCESS_KEY"))


def pr():
pr = os.environ.get("TRAVIS_PULL_REQUEST", "false")
return pr if pr != "false" else None
Expand Down Expand Up @@ -301,10 +285,6 @@ def run(venv, wpt_args, **kwargs):

browser_name = wpt_args.product.split(":")[0]

if browser_name == "sauce" and not wpt_args.sauce_key:
logger.warning("Cannot run tests on Sauce Labs. No access key.")
return retcode

pr_number = pr()

with TravisFold("browser_setup"):
Expand Down Expand Up @@ -338,8 +318,6 @@ def run(venv, wpt_args, **kwargs):

wpt_kwargs["test_list"] = list(tests_changed | files_affected)

set_default_args(wpt_kwargs)

do_delayed_imports()

wpt_kwargs["stability"] = True
Expand Down

0 comments on commit 6a32f36

Please sign in to comment.