Skip to content

Check in scripts to deploy on GitHub runners - #9765

Merged
GMNGeoffrey merged 26 commits into
iree-org:mainfrom
GMNGeoffrey:runner-setup
Jul 18, 2022
Merged

GMNGeoffrey merged 26 commits into
iree-org:mainfrom
GMNGeoffrey:runner-setup

Conversation

@GMNGeoffrey

@GMNGeoffrey GMNGeoffrey commented Jul 12, 2022 •

Copy link
Copy Markdown
Member

There's one script that we can bake into the disk image in the runner
home directory. It fetches the other configuration into a subdirectory.
The actions-runner/.env is symlinked to config/runner.env in the
runner disk image.

This uses a proxy to fetch registration tokens without giving the
runners themselves access to powerful administration privileges. See
https://github.com/google-github-actions/github-runner-token-proxy

GitHub actions on pull requests currently require approval for
non-collaborators and the runners do not yet have any special
privileges, so it shouldn't be a problem that they're not yet
ephemeral (which requires setting up some additional teardown logic).

@GMNGeoffrey
GMNGeoffrey requested review from bobmuniz and pzread July 12, 2022 00:21
@GMNGeoffrey
GMNGeoffrey marked this pull request as ready for review July 12, 2022 22:22
@GMNGeoffrey
GMNGeoffrey requested a review from ScottTodd as a code owner July 12, 2022 22:22
@ScottTodd ScottTodd added the infrastructure Relating to build systems, CI, or testing label Jul 13, 2022

@ScottTodd ScottTodd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert changes to third_party/llvm-project and third_party/mlir-hlo please

@GMNGeoffrey

Copy link
Copy Markdown
Member Author

revert changes to third_party/llvm-project and third_party/mlir-hlo please

Done. Had to rebase to fix it up. I hate submodules

@GMNGeoffrey
GMNGeoffrey requested review from ScottTodd and pzread July 13, 2022 23:14
@GMNGeoffrey
GMNGeoffrey merged commit bddde2c into iree-org:main Jul 18, 2022
@GMNGeoffrey
GMNGeoffrey deleted the runner-setup branch July 18, 2022 17:59
GMNGeoffrey added a commit that referenced this pull request Jul 18, 2022
This ports
`build_tools/buildkite/pipelines/untrusted/build-and-test-tsan.yml` to
a GitHub action running on self-hosted runners. As noted in
#9765, GitHub action runs
currently require approval before they will run for non-collaborators.
@GMNGeoffrey

Copy link
Copy Markdown
Member Author

Forgot to tag originally, but part of #9855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants