diff options
author | bors-servo <infra@servo.org> | 2023-03-21 15:05:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-21 15:05:25 +0100 |
commit | 886032fc74c7d953765f6d00211dc5d2d018f6f0 (patch) | |
tree | e3860af706a6ef5bc2dda5753dc1a7c2a98e26c6 /tests | |
parent | 3a9b2f93efd897e3999879aeeb011127aa79a6d0 (diff) | |
parent | a11bba0e46f7187badbf5c9d8f16a334e45adfd4 (diff) | |
download | servo-886032fc74c7d953765f6d00211dc5d2d018f6f0.tar.gz servo-886032fc74c7d953765f6d00211dc5d2d018f6f0.zip |
Auto merge of #29431 - sagudev:mtry, r=jdm
Add try command to mach & try build partitioned
Adds `./mach try` command that enables anybody to easily test their changes without opening PR and requesting try from bors-servo, by force pushing HEAD to appropriate branch. Command accepts branches names to select only partial runs of CI (same like bors try command). So if you only want to test mac build (that would be `@bors-servo try=mac`) you run `./mach try mac`. If no job is specified, try branch is used.
As partitioned CI jobs were not working after migration to GitHub Actions I remade them by using if guards.
Also WPT jobs were failing due to empty `INTERMITTENT_TRACKER_DASHBOARD_SECRET` on my fork, so I added additional check to prevent failed run.
And that concludes my work on #29379 🎉
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #29379
<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because it's CI
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'tests')
-rw-r--r-- | tests/wpt/servowpt.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wpt/servowpt.py b/tests/wpt/servowpt.py index 477e00eb168..7766d19ff88 100644 --- a/tests/wpt/servowpt.py +++ b/tests/wpt/servowpt.py @@ -227,7 +227,7 @@ class TrackerDashboardFilter(): self.headers = { "Content-Type": "application/json" } - if TRACKER_DASHBOARD_SECRET_ENV_VAR in os.environ: + if TRACKER_DASHBOARD_SECRET_ENV_VAR in os.environ and os.environ[TRACKER_DASHBOARD_SECRET_ENV_VAR]: self.url = f"{base_url}/dashboard/attempts" secret = os.environ[TRACKER_DASHBOARD_SECRET_ENV_VAR] self.headers["Authorization"] = f"Bearer {secret}" |