Repository navigation
ci: self-hosted runners for tests and analysis (brings #1102 to dev) - #1103
Merged
Merged
Conversation
Tests and analysis pick their runner from the CI_RUNS_ON repository variable (default ubuntu-latest); pull requests from forks always use GitHub-hosted runners. Add scripts/ci/setup-runner.sh to prepare a machine and register runners, and docs/ci-runners.md.
ci: run tests and analysis on self-hosted runners, builds stay on GitHub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#1102 was merged into the stacked base branch
ci/parallel-test-sectionsafter #1101 had already landed indev, so its changes never reacheddev. This PR brings them over; it is the same content as #1102:ci.yml: tests and analysis choose their runner via theCI_RUNS_ONrepository variable (defaultubuntu-latest); pull requests from forks always run on GitHub-hosted runners. On self-hosted runners the apt step is skipped andflutter testuses--concurrency=2. Builds andrelease.ymlstay on GitHub.scripts/ci/setup-runner.sh,docs/ci-runners.md.The four runners
querya-ci-1..4are already registered and online. Merging this changes nothing untilCI_RUNS_ONis set.