[infra] Add presubmit-try to the SDK CQ

Change-Id: Ie21bef3e8cbe183ec7d251c9b5378d43f1d66cb7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/363681
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Auto-Submit: Alexander Thomas <athom@google.com>
3 files changed
tree: 6a4d0d8ba5f30688449ffc276034606a29dea87d
  1. generated/
  2. lib/
  3. .style.yapf
  4. analyzer.star
  5. cfe.star
  6. codereview.settings
  7. console-header.textpb
  8. cq.star
  9. dart2js.star
  10. dart2wasm.star
  11. ddc.star
  12. main.star
  13. monorepo.star
  14. OWNERS
  15. pkg.star
  16. PRESUBMIT.py
  17. project.star
  18. README.md
  19. sdk.star
  20. vm.star
README.md

infra/config branch

This branch contains dart project-wide configurations for infra services. For example, cr-buildbucket.cfg defines builders that run on the dart waterfall and commit queue.

Making changes

It is recommended to have a separate checkout for this branch, so switching to/from this branch does not populate/delete all files in the master branch.

Most files in this branch are generated from main.star. Run ./main.star to regenerate them after changes have been made. Files that are auto-generated must not be modified manually, and they have a file header that states that they are.

Initial setup:

mkdir config
cd config
git init
git remote add origin https://dart.googlesource.com/sdk
git fetch origin infra/config
git reset --hard origin/infra/config
git config depot-tools.upstream origin/infra/config

Now you can create a new branch to make changes:

git new-branch add-new-builder
# edit main.star
./main.star # generate Luci config files
git commit -a

git cl upload