Luke Tomlinson
a9bae6f37a
Handle SelfUpdate Flow when Package is provided in Message ( #2926 )
2023-11-13 16:44:07 -05:00
Luke Tomlinson
3136ce3a71
Send disableUpdate as query parameter ( #2970 )
2023-11-13 10:19:42 -05:00
Rob Bos
85fdc9b6b4
Fix typo ( #2695 )
2023-10-23 16:51:04 +00:00
Luke Tomlinson
c851794f04
send os and arch as query params ( #2913 )
2023-10-09 15:14:00 -04:00
Rob Bos
36e37a0885
Fix typo ( #2670 )
...
* Fix typo
* Remove double space
2023-10-09 05:07:26 +00:00
Cory Calahan
a5cd1ba4b6
Fixed Attempt typo ( #2849 )
2023-10-09 04:57:21 +00:00
Jun Sugimoto
b4a7bb0969
Retries to lock Services database on Windows ( #2880 )
2023-10-09 04:20:04 +00:00
Thomas Boop
c3a7188eca
Update message when runners are deleted ( #2896 )
...
* Update MessageListener.cs
* Update MessageListener.cs
2023-09-28 15:46:11 -04:00
Tingluo Huang
5b2bc388ca
GetAgents from all runner groups durning config. ( #2865 )
...
* GetAgents from all runner groups
* Update ConfigurationManagerL0.cs
2023-09-20 11:05:44 -04:00
Tingluo Huang
d2f0a46865
Throw NonRetryableException on GetNextMessage from broker as needed. ( #2828 )
2023-09-05 17:21:54 -04:00
Luke Tomlinson
0e9e9f1e8d
Support replacing runners in v2 flow ( #2791 )
...
* Support replacing runners in v2 flow
* Use correct endpoint for listing runners
* fix test
* really fix test
* lint
2023-08-31 09:55:05 -04:00
dependabot[bot]
be65955a9d
Bump Newtonsoft.Json from 13.0.1 to 13.0.3 in /src ( #2797 )
...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json ) from 13.0.1 to 13.0.3.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases )
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/13.0.1...13.0.3 )
---
updated-dependencies:
- dependency-name: Newtonsoft.Json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-25 13:10:40 -04:00
Tingluo Huang
4f40f29cff
Trace x-github-request-id when download action tarball. ( #2755 )
2023-08-15 19:00:54 -04:00
Nikola Jokic
6680a3b142
Switch from InnerException to ErrorCode on disableupdate check ( #2718 )
2023-08-10 16:27:42 +02:00
Tingluo Huang
8fa970a1e6
Change RunnerId/AgentId from int32 to uint64 ( #2661 )
...
* RunnerId int -> ulong
2023-08-04 16:22:52 -04:00
Tingluo Huang
8eefd849c1
Update HTTPEventSourceListener to trace the right events. ( #2727 )
2023-08-02 08:39:56 -04:00
Tingluo Huang
5b2e4049bc
Return early on invalid_client OAuth exception. ( #2721 )
2023-07-27 21:30:12 -04:00
Dylan Geraci
1096b975e4
Send environment url to Run Service ( #2650 )
...
* add EnvironmentUrl to CompleteJobRequest
* Send environment url to Run Service
* Fix whitespace
* Fix test
* Fix more whitespace
* Apply suggestions from code review
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
* Apply suggestion from code review
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
---------
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2023-06-16 04:13:08 +00:00
Yashwanth Anantharaju
b737a5ac5c
remove job completion ( #2659 )
2023-06-13 20:50:36 +00:00
JoannaaKL
efffbaeabc
Add utf8 with bom ( #2641 )
...
* Change default file encoding
2023-06-02 21:47:59 +02:00
Luke Tomlinson
e13627df81
Move Using V2 Flow log to Trace ( #2635 )
2023-05-31 10:40:34 -04:00
Gabriel
eeb0cf6f1e
Add --no-default-labels config option to self-hosted runners ( #2443 )
...
* Add --no-default-labels option
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com >
* Add tests
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com >
* .
---------
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com >
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2023-05-11 12:37:56 -04:00
Yashwanth Anantharaju
896152d78e
send annotations to run-service ( #2574 )
...
* send annotations to run-service
* skip message deletion
* actually don't skip deletion
* enum as numbers
* fix enum
* linting
* remove unncessary file
* feedback
2023-05-01 08:33:03 -04:00
Yashwanth Anantharaju
c8c47d4f27
handle conflict errors from run service ( #2570 )
...
* handle conflict errors from run service
* nit: formatting
* fix formatting
2023-04-27 13:59:12 -04:00
Luke Tomlinson
9f778b814d
Register Runners against V2 servers ( #2505 )
...
* Parse runners and send publicKey
* wip
* Fix conflicts
* Cleanup
* Cleanup
* fix test
* fix test
* Add trace for broker message listener
* Feedback
* refactor
* remove dead code
* Remove old comment
2023-03-28 15:45:00 -04:00
Luke Tomlinson
92258f9ea1
Listen directly to Broker for messages ( #2500 )
2023-03-24 14:00:34 -04:00
Matisse Hack
0e7ca9aedb
Fix JIT configurations on Windows ( #2497 )
...
* Fix JIT configurations on Windows
* Update src/Runner.Listener/Runner.cs
2023-03-21 15:04:50 -04:00
Tatyana Kostromskaya
bb7b1e8259
Update runner to handle Dotcom/runner-admin based registration flow ( #2487 )
2023-03-21 16:05:32 +01:00
Nikola Jokic
fd96246580
Exit on deprication error ( #2299 )
...
* terminate the runner on deprication message
* added TaskAgentVersion exception to catch deprication
* AccessDenied exception with inner exception InvalidTaskAgent
* Access denied exception in program and in message listener
* Fixed copy
* remove trace message from message listener
2023-03-07 14:09:10 +01:00
Yashwanth Anantharaju
e8975514fd
call run service renewjob ( #2461 )
...
* call run service renewjob
* format
* formatting
* make it private and expose internals
* lint
* fix exception class
* lint
* fix test as well
2023-02-27 16:50:28 +00:00
John Sudol
d6f8633efc
new option to remove local config files ( #2367 )
2023-01-18 11:28:43 -05:00
Tingluo Huang
0dd7a113f1
Log GitHub RequestId for better traceability. ( #2332 )
2022-12-19 19:46:29 +00:00
Ava Stancu
369a4eccad
Made worker logs available to stdout ( #2307 )
...
* Made worker logs available to stdout
* Log Worker Standard out line by line
Co-authored-by: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com >
2022-12-08 16:23:52 -05:00
Tatyana Kostromskaya
1632e4a343
Support runner upgrade messages ( #2231 )
...
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
2022-11-21 16:17:47 +01:00
Cory Miller
b18bda773f
Add generateServiceConfig option for configure command ( #2226 )
...
For runners that are already configured but need to add systemd services after the fact, a new command option is added to generate the file only. Once generated, ./svc.sh install and other commands will be available.
This also adds support for falling back to the tenant name in the Actions URL in cases when the GitHub URL is not provided, such as for our hosted larger runners.
2022-10-26 08:48:23 -04:00
Cory Miller
b87b4aac5c
Fix IDE0090 ( #2211 )
2022-10-18 10:54:08 -04:00
Yashwanth Anantharaju
252f4de577
changes to support specific run service URL ( #2158 )
...
* changes to support run service url
* feedback
2022-10-06 10:28:32 -04:00
Robin Neatherway
b6a46f2114
Correct grammar in archive extraction error message ( #2184 )
2022-10-06 08:20:30 -04:00
Thomas Boop
ae2f4a6f27
POC: Windows arm64 runner build ( #2022 )
...
Prerelease for windows-arm64 runner build
2022-09-26 09:20:43 -04:00
JoannaaKL
3a1c89715c
Remove unused imports ( #2126 )
2022-09-15 15:55:45 +02:00
Ferenc Hammerl
352f201c62
Wait for update.sh|cmd to finish instead of waiting 5 seconds - before restarting a runner ( #2044 )
...
* update.sh new logic with creating a file and waiting for it for 30 sec
* pr refactor
* removing file when it's detected bu run-helper
* Update src/Misc/layoutroot/run-helper.sh.template
Co-authored-by: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com >
* clean up update.finished in Runner.Listener right before it starts a process _update.sh
* pr fix IOUtil.DeleteFile
* self update widnows version - cmd
* same logic for returnCode 4 - ephemeral
* Init var so cmd doesn't run into syntax errors
* Use constants, setting a var messed up ERRORLEVEL
* Use var for updatefile
Co-authored-by: stefanruvceski <ruvceskistefan@github.com >
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
Co-authored-by: Ferenc Hammerl <hammerl.ferenc@gmail.com >
2022-08-08 23:37:43 +02:00
Pavel Iakovenko
503e50acb9
Support running Actions services on subdomain ( #2041 )
2022-08-05 13:29:49 -04:00
Lokesh Gopu
813af29886
Include current runner status while getting messages ( #2026 )
...
* get messages with runner status
* fixed l0 tests
* PR feedback
2022-07-28 16:42:02 -04:00
Tingluo Huang
3567c042ea
Bump newtonsoft.json to 13.0.1 ( #2012 )
2022-07-22 11:21:04 -04:00
Tingluo Huang
e646b6fec4
Move --jitconfig to valid ./run.sh args. ( #2013 )
2022-07-22 11:14:09 -04:00
eric sciple
1d1998aabb
Update description for command line arg "--pat" ( #1970 )
2022-06-24 11:44:16 -04:00
Tingluo Huang
761785620f
Support pass runner JitConfig as arg. ( #1925 )
2022-06-22 10:59:29 -04:00
Tatyana Kostromskaya
9499f477a2
Add retry logic around getting job messages from broker ( #1939 )
...
* Jsut simple solution without additional funcs
* Delete old comment
* resolve
* Refactor retry function, make it more common
* Make retry function generic, get rid of extra params
* delete extra using
* Add cancellation token and limit of attempts
* Add some additional logging
* Rework condition
* replace to do..while
* return `while (true)` to simplify code structure
* Add other cancelling token, add TODO comment
2022-06-21 16:12:07 +02:00
eric sciple
a1bf8401d7
Handle message from broker ( #1934 )
2022-06-09 14:07:44 -04:00
Tingluo Huang
9c5300b5b2
Handle HostedRunnerShutdownMessage from service to shutdown hosted runner faster. ( #1922 )
2022-06-02 13:14:50 -04:00