* First pass at logic for GHES, not all correct
* Need to mock out file downloading
* Allowed for mocking of HTTP responses
* Added test for builtin GHES action download
* More tests
* Don't retry on action 404
* Remove commented out code
* Add a using statement back, because Windows
* Make windows happy again
* Another windows fix
* Always delete the cache since it isn't fully implemented
* Use RunnerService base class
* Add examples, update URL path
* Remove forceDotCom
* Fix a bug
* Remove a test that's no longer relevant
* PR feedback
* Add missing return
* More trace info
* Use the new agreed-upon format
* Use the auth token since we're hitting GHES directly
* Fixing tests on windows
* Fixed one more test
The release notes used C-style comments (`//`) instead of shell-style (`#`),
causing the code snippet to not be easily copy-paste-able.
Additionally, the code fence for Windows had the extra `powershell` added,
as well as a comment to direct users towards `powershell` over `cmd`.
Since configuring self-hosted runners is commonly automated via scripts, the labels need to be able to be created during configuration. The runner currently registers the built-in labels (os, arch) during registration but does not accept labels via command line args to extend the set registered.
* ADR for expose runner's machine info in log.
* rename
* Update docs/adrs/0354-runner-machine-info.md
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Update docs/adrs/0354-runner-machine-info.md
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Update docs/adrs/0354-runner-machine-info.md
Co-Authored-By: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Update 0354-runner-machine-info.md
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Add runner authentication/authorization documentation.
This doc explains how auth is used at all phases of the runner lifetime (i.e. configuration, listener start, and workflow run), for both self-hosted and hosted runners.