mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-05 02:27:26 +01:00
ci: run Test for same-repo pull requests on the self-hosted runner
The hosted queue held every same-repo pull request's Test job for more than an hour today, which blocked gate fixes and reviewed work alike. Same-repo pull requests now run Test on the tp04-seaweed-block label, as main pushes and train branches already do. Pull requests from forks keep the hosted runner, so no fork code runs on our machines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
55294a9835
commit
aec98979c7
1 file changed
+1
-1
+1
-1
@@ -39,7 +39,7 @@ jobs:
|
||||
# train/* of this repository, a few a day) also runs on the team's runners:
|
||||
# it is the merge gate, and the organization's shared GitHub-hosted queue held
|
||||
# it 30-55 minutes before it started. A PR from a fork never runs there.
|
||||
runs-on: ${{ (github.event_name == 'push' || (github.event.pull_request.head.repo.full_name == github.repository && startsWith(github.head_ref, 'train/'))) && 'tp04-seaweed-block' || 'ubuntu-latest' }}
|
||||
runs-on: ${{ (github.event_name == 'push' || (github.event.pull_request.head.repo.full_name == github.repository)) && 'tp04-seaweed-block' || 'ubuntu-latest' }}
|
||||
# process: 44 tests in 4 parallel shards of about 13 min each (55 min in sequence).
|
||||
timeout-minutes: ${{ matrix.suite == 'unit' && 40 || 90 }}
|
||||
env:
|
||||
|
||||
Reference in new issue
Block a user