Francesco Renzi
e676c78718
Update releaseVersion to 2.303.0
v2.303.0
2023-03-10 11:00:35 +00:00
Tingluo Huang
81b07eb1c4
Prepare runner release 2.303.0 ( #2482 )
2023-03-10 10:45:56 +00:00
Jongwoo Han
514ecec5a3
Replace deprecated command with environment file ( #2429 )
...
Signed-off-by: jongwooo <jongwooo.han@gmail.com >
2023-03-09 22:09:05 -05:00
Ajay
128b212b13
Support matrix context in output keys ( #2477 )
2023-03-09 21:30:28 -05:00
Nikola Jokic
2dfa28e6e0
Add update certificates to ./run.sh if RUNNER_UPDATE_CA_CERTS env is set ( #2471 )
...
* Included entrypoint that will update certs and run ./run.sh
* update ca if RUNNER_UPDATE_CA env is set
* changed env variable to RUNNER_UPDATE_TRUST_STORE
* moved entrypoint to be run.sh, removed Dockerfile entrypoint, added envvar that will update certs
* Update src/Misc/layoutroot/run.sh
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com >
* Update src/Misc/layoutroot/run.sh
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com >
* Update src/Misc/layoutroot/run.sh
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com >
* Update src/Misc/layoutroot/run.sh
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
* Update src/Misc/layoutroot/run.sh
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
* removed doc comment on func
---------
Co-authored-by: Bassem Dghaidi <568794+Link-@users.noreply.github.com >
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2023-03-08 12:29:55 -05: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
Ferenc Hammerl
8ef48200b4
Bypass all proxies for all hosts if no_proxy='*' is set ( #2395 )
...
* Bypass top level domain even if no_proxy specified it with leading '.'
E.g. no_proxy='.github.com' will now bypass github.com.
* Bypass proxy on all hosts when no_proxy is * (wildcard)
* Undo '.' stripping
* Simplify unit tests
* Respect wildcard even if it's one of many no_proxy items
2023-03-06 11:01:45 +01:00
Tingluo Huang
d61b27b839
Change runner image to make user/folder align with ubuntu-latest hosted runner. ( #2469 )
2023-03-02 13:42:23 -05:00
Nikola Jokic
542e8a3c98
Runner service exit after consecutive re-try exits ( #2426 )
...
* Runner service exit after consecutive re-try exits
* Rename failure counts and include reset count on runner listening for jobs
* Changed from graceful shutdown to stopping=true
2023-02-28 16:00:36 +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
Yang Cao
0befa62f64
Add job log upload support ( #2447 )
...
* Refactor and add job log upload support
* Rename method to be consistent
2023-02-21 09:55:47 -05:00
Yang Cao
aaf02ab34c
Properly guard upload ( #2439 )
...
* Revert "Revert "Uploading step logs to Results as well (#2422 )" (#2437 )"
This reverts commit 8c096baf49 .
* Properly guard the upload to results feature
* Delete skipped file if deletesource is true
2023-02-17 10:31:41 -05:00
JoannaaKL
02c9d1c704
Don't disable lint errors ( #2436 )
...
* Update lint.yml
Don't ignore the formatting errors
* Add formatting made by @cory-miller
* Use dotnet format
* Format only modified files
* Add instruction to contribute.md
* Use git status instead of git diff
2023-02-16 14:33:03 +01:00
Tingluo Huang
982784d704
Wait for docker base on env RUNNER_WAIT_FOR_DOCKER_IN_SECONDS. ( #2440 )
2023-02-15 16:05:36 -05:00
Yang Cao
8c096baf49
Revert "Uploading step logs to Results as well ( #2422 )" ( #2437 )
...
This reverts commit e979331be4 .
2023-02-15 11:21:32 -05:00
JoannaaKL
8d6972e38b
Don't add Needs constant twice
2023-02-15 10:50:22 +00:00
Tingluo Huang
1ab35b0938
Use v2 version based on https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/ ( #2434 )
2023-02-14 16:01:52 +00:00
Tingluo Huang
f86e968d38
Prepare runner release 2.302.0 ( #2433 )
2023-02-14 09:50:09 -05:00
Yang Cao
e979331be4
Uploading step logs to Results as well ( #2422 )
...
* Rename queue to results queue
* Add results contracts
* Add Results logging handling
* Adding calls to create and finalize append blob
* Modifications for azurite upload
* Only call upload complete on final section and remove size
* Make method specific to step log so we can support job log later
* Change contract for results
* Add totalline count to the result log upload file
* Actually pass lineCount to Results Service
* Fix typos
* Code cleanup
* Fixing typos
* Apply suggestions from code review
Co-authored-by: Konrad Pabjan <konradpabjan@github.com >
---------
Co-authored-by: Brittany Ellich <brittanyellich@github.com >
Co-authored-by: Konrad Pabjan <konradpabjan@github.com >
2023-02-13 13:18:56 -05:00
Ferenc Hammerl
97195bad58
Replace '(' and ')' with '[' and '] from OS.Description so it doesn't fail User-Agent header validation ( #2288 )
...
* Sanitize OS Desc for UserAgents
* Only drop brackets if needed, refactoring
* Add missing ')'
* Readd missing brackets around '(header)'
* Add comments
* Use bracket solution from SDK
* Rename tests
2023-02-08 17:42:27 +01:00
Tingluo Huang
6d1d2460ac
Add docker cli to the runner image. ( #2425 )
2023-02-08 09:21:02 -05:00
Yashwanth Anantharaju
67356a3305
Run service: send more stuff as part of job completed ( #2423 )
...
* send more stuff as part of job completed
* feedback
* set only once
* feedback
* feedback
* fix test
* feedback
* nit: spacing
* nit: line
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
---------
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2023-02-07 20:10:53 +00:00
John Wesley Walker III
9a228e52e9
Defer evaluation of a step's DisplayName until its condition is evaluated. ( #2313 )
...
* Defer evaluation of a step's DisplayName until its condition is evaluated.
* Formalize TryUpdateDisplayName and EvaluateDisplayName as members of interface `IStep` (#2374 )
2023-02-07 11:42:30 +01:00
Erez Testiler
3cd76671dd
Add support for ghe.com domain ( #2420 )
2023-02-06 17:16:38 -05:00
Yashwanth Anantharaju
e6e5f36dd0
start calling run service for job completion ( #2412 )
...
* start calling run service for job completion
* cleanup
* nit: lines
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
* clean up
* give sanity back to thboop
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
* add clean up back
* clean up
* clean up more
* oops
* copied from existing, but :thumb:
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
---------
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
2023-02-01 21:18:31 +00:00
Yashwanth Anantharaju
24a27efd4f
fix small bug ( #2396 )
2023-01-30 10:00:31 -05:00
Tingluo Huang
ca7be16dd3
Bump dotnet sdk to latest version. ( #2392 )
...
* Bump dotnet sdk to latest version.
* .
* .
* .
* .
* .
* .
* .
* .
2023-01-23 13:07:49 -05:00
Tingluo Huang
f1c57ac0ef
Bump runner version to match the released runner. ( #2385 )
...
* Bump runner version to match the released runner.
* .
2023-01-19 00:40:33 +00:00
Tingluo Huang
8581a041a5
Revert "split by regex ( #2333 )" ( #2383 )
...
This reverts commit 72830cfc12 .
2023-01-19 00:32:24 +00:00
Tingluo Huang
6412390a22
Prepare 2.301.0 runner release. ( #2382 )
...
* Prepare 2.301.0 runner release.
* Update releaseNote.md
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
* Update releaseNote.md
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
* Update releaseNote.md
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
* Update releaseNote.md
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
* Update releaseNote.md
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
* Update releaseNote.md
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
* Update releaseNote.md
Co-authored-by: Thomas Boop <52323235+thboop@users.noreply.github.com >
2023-01-18 15:03:24 -05:00
John Sudol
7306014861
Update Node dependencies ( #2381 )
...
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2023-01-18 14:19:28 -05:00
John Sudol
d6f8633efc
new option to remove local config files ( #2367 )
2023-01-18 11:28:43 -05:00
Cory Miller
130f6788d5
Add a disclaimer for which runner version is available to a given tenant ( #2362 )
...
* Add a disclaimer for which runner version is available to a given tenant
* Update releaseNote.md
2023-01-18 10:41:53 -05:00
John Sudol
9b390e0531
update node to 16.16.0 ( #2371 )
2023-01-18 10:41:15 -05:00
yujincat
a7101008a2
Show more information in the runner log ( #2377 )
...
* fix typo
* add workflow ref in the log
* show job name for all jobs
* update ref
* reflect the feedback
* fix a small bug
2023-01-18 10:40:35 -05:00
Tingluo Huang
4a6630531b
Allow provide extra User-Agent for better correlation. ( #2370 )
2023-01-16 10:18:55 -05:00
Yang Cao
caec043085
Always upload to avoid issues ( #2334 )
...
* Remove unnecessary timelineId and timelineRecordId and use Guid stepId
* Log upload error to kusto
* Remove try-catch
* Using a well known telmetry record to avoid replacing issues
* fix Guid format
2022-12-28 11:56:53 -05:00
Tingluo Huang
a1244d2269
Add Header/Footer to multi-line message in StdoutTraceListener. ( #2336 )
2022-12-22 10:38:29 -05:00
Nikola Jokic
332b97f838
Treat jitconfig as secret. ( #2335 )
...
Co-authored-by: TingluoHuang <TingluoHuang@github.com >
2022-12-21 13:30:22 -05:00
Stefan Ruvceski
72830cfc12
split by regex ( #2333 )
...
* split by regex
* pr fix
* adding tests
* test fix
2022-12-20 14:28:29 +01:00
Tingluo Huang
29a28a870f
Make runner image print diag log to STDOUT. ( #2331 )
2022-12-19 16:57:16 -05:00
Tingluo Huang
0dd7a113f1
Log GitHub RequestId for better traceability. ( #2332 )
2022-12-19 19:46:29 +00:00
TingluoHuang
83b8baa45e
Bump runner version to 2.300.2 to match released version.
2022-12-19 14:22:51 -05:00
Ferenc Hammerl
d5e566ad17
Release notes for 2.300.1 ( #2326 )
...
* Update runnerversion
* Update releaseNote.md
2022-12-19 13:08:36 -05:00
Bethany
64381cca6a
Re-add file size check prior to reading file ( #2321 ) ( #2330 )
...
* Re-add file size check prior to reading file
* Remove redundant file size check
2022-12-19 12:56:28 -05:00
Stefan Ruvceski
f1b1532f32
set env in ProcessInvoker sanitized ( #2280 )
...
* set env in ProcessInvoker sanitized
2022-12-19 15:01:53 +01:00
Nikola Jokic
04761e5353
Initialize container manager based on whether the ContainerHooksPath is set ( #2317 )
...
* Added tests around checking if correct manager's Initialize method has been called
* repaired missing initialization on container action handler
2022-12-16 15:40:49 +01:00
Ava Stancu
f9e2fa939c
Updated contact links for feature requests ( #2314 )
...
Users need to use the Github Community feedback page for all feature/enhancement requests.
2022-12-15 17:17:41 +02:00
Ferenc Hammerl
92acb625fb
Update Dockerfile ( #2315 )
2022-12-15 15:44:07 +01:00
Ava Stancu
6b9e8a6be4
prepare release notes for 2.300.0 ( #2312 )
...
* Update runner version
* Update releaseNote.md
* Update releaseNote.md
* Update releaseNote.md
Co-authored-by: JoannaaKL <joannaakl@github.com >
* Update releaseNote.md
* Update releaseNote.md
Co-authored-by: JoannaaKL <joannaakl@github.com >
Co-authored-by: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com >
2022-12-14 10:33:02 +02:00