Tingluo Huang and GitHub
9c5300b5b2
Handle HostedRunnerShutdownMessage from service to shutdown hosted runner faster. ( #1922 )
2022-06-02 13:14:50 -04:00
ruvceskistefan and GitHub
183b1f387c
targetArchitecture removed from launch.json after macos arm64 release ( #1908 )
2022-05-23 21:46:54 -04:00
Thomas Boop and GitHub
42ad85741e
292 release ( #1906 )
2022-05-23 09:53:08 -04:00
Ferenc Hammerl and GitHub
88ee16fb02
Save original, pre-parsed string from workflow input for the user's custom volume mounts ( #1889 )
...
* Save pre parsed string from workflow input for volume mounts that have one
* Use property
* Use named params
2022-05-23 12:07:38 +02:00
Thomas Boop and GitHub
5cca207314
Port the 291.1 hotfix to main ( #1905 )
...
* Revert "Added ability to run Dockerfile.SUFFIX ContainerAction (#1738 )"
20b7e86e47
* port release notes
2022-05-22 16:24:18 -04:00
Tingluo Huang and GitHub
0b73794267
Set timeout on sending live console log. ( #1903 )
2022-05-20 21:31:21 -04:00
Tingluo Huang and GitHub
d7694774a4
Update release note, workflow, doc for osx-arm64. ( #1904 )
2022-05-20 12:28:52 -04:00
Tingluo Huang and GitHub
0398f57125
Create runner layout for osx-arm64 (Apple M1) platform. ( #1618 )
...
* Create runner layout for osx-arm64 (Apple M1) platform.
* bypass m1 macos
* l0
2022-05-20 11:00:54 -04:00
Tingluo Huang and GitHub
fade0f46e7
Bump dotnet SDK to 6.0.300 ( #1900 )
...
* Bump dotnet SDK to 6.0.300
2022-05-17 22:51:32 -04:00
02b52e8497
ADR: Runner Job Started/Completed Hooks ( #1751 )
...
* RunnerHookADR
* Rename 0000-runner-job-hooks.md to 1751-runner-job-hooks.md
* Update docs/adrs/1751-runner-job-hooks.md
Co-authored-by: Edward Thomson <[email protected] >
* Update docs/adrs/1751-runner-job-hooks.md
Co-authored-by: Edward Thomson <[email protected] >
* update step names
Co-authored-by: Edward Thomson <[email protected] >
2022-05-12 15:18:11 -04:00
Ferenc Hammerl and GitHub
628f462ab7
Use header of redirect instead of parsing content ( #1874 )
...
* Use header of redirect instead of parsing content
* Add exception so we don't hit 404s later
* Fix typo
* Update SelfUpdaterL0.cs
2022-05-09 14:04:18 +02:00
7ba4f8587e
2.291.0 Release Notes ( #1854 )
...
* Update releaseNote.md
* Update runnerversion
* Update releaseNote.md
Co-authored-by: Thomas Boop <[email protected] >
Co-authored-by: Thomas Boop <[email protected] >
2022-04-29 12:53:36 +02:00
ruvceskistefan and GitHub
88f7c56757
Issue 1528: use OS specific path separator ( #1617 )
...
* Issue 1528: use OS specific path separator
* Using Path.Combine instead of OS specific c_defaultPathSeparator
2022-04-27 22:16:03 -04:00
Nikola Jokic and GitHub
20b7e86e47
Added ability to run Dockerfile.SUFFIX ContainerAction ( #1738 )
...
* Added ability to run Dockerfile.SUFFIX ContainerAction
* Extracted IsDockerFile method
* reformatted, moved from index to Last()
* extracted IsDockerfile to DockerUtil with L0
* added check for IsDockerfile to account for docker://
* updated test to clearly show path/dockerfile:tag
* fail if Data.Image is not Dockerfile or docker://[image]
2022-04-27 21:23:12 -04:00
Tingluo Huang and GitHub
bd5f275830
Update runnerversion to match latest release.
2022-04-26 09:54:42 -04:00
Yang Cao and GitHub
a7aadf5615
Update Actions Summary limit to 1MiB ( #1839 )
...
* Update Actions Summary limit to 1MiB
* Making limit a public const so other part of the codebase is aware of the limit too
2022-04-20 17:08:50 -04:00
Tingluo Huang and GitHub
1c582abc8b
Skip running L0 tests in release workflow to prevent package pollution ( #1832 )
2022-04-19 16:10:47 -04:00
Tingluo Huang and GitHub
44d4d076fe
Capture telemetry when git errors on unsafe repository. ( #1823 )
2022-04-13 12:48:52 -04:00
Ferenc Hammerl and GitHub
b6195624ac
2.290.0 Release notes ( #1820 )
...
* 2.290.0 rel notes
* Update releaseNote.md
2022-04-12 10:34:15 -04:00
ruvceskistefan and GitHub
ead3509d5a
Added warning in case of invalid combination of command and flags and/or arguments ( #1781 )
...
* Added warning in case of invalid combination of command and flags and/or arguments
* Deleting unnecessary comments
* Added separate list for generic options
* Added PAT to the valid remove options
* Added command name to the error message
2022-04-11 09:23:58 -04:00
Nikola Jokic and GitHub
fee24199cb
Added input context to shell in composite run-step ( #1767 )
...
* Added input context to shell in composite run-step
* moved from string-shell-context to string-steps-context
2022-04-11 14:50:45 +02:00
c8cb600ac7
Use StepHost when evaluating inputs to actions ( #1762 )
...
* composite action github.action_path set based on the StepHost
* in progress on updating github context for input template
* Fixed updating the context data for evaluation
* refactored logic so it is a little cleaner
* removed resolving the action_path in CompositeActionHandler
* removed added DeepClone
* added feature flag and modified the dict in place
* refactored step host to change context data. Added L0
* repaired spaces
* moved logic from step host to execution context, added recursive translation
* removed empty lines
* moved to extension methods
* Update src/Test/L0/Worker/StepHostL0.cs
Co-authored-by: Ferenc Hammerl <[email protected] >
2022-04-11 12:43:24 +00:00
Thomas Boop and GitHub
f48f314a70
fix an issue where container hooks used the job default working directory ( #1809 )
2022-04-06 14:33:32 +02:00
Soe Tun and GitHub
7b677e0618
Mark run as Cancelled/Failed upon HostContext.RunnerShutdownToken state ( #1792 )
...
- github/c2c-actions-support#883
2022-04-04 13:46:03 -04:00
d70f9f6174
Continue on error for the composite actions ( #1763 )
...
* Added continue on error to composite action
* changed from boolean-strategy-context -> boolean-steps-context for action_yaml
* refactored composite handler to always set outcome
* retrigger checks
* fixed typo in ??= operator
* boolean-steps-context accepts the same context as string-steps-context
* setting the outcome only on continue-on-error
* moved continue on error logic to the execution context
* Added L0 table tests for continue-on-error ExecutionContext
* Added missing mocks on StepsRunnerL0 for this update
* removed empty line and added one line separating the call
* Removed empty line
Co-authored-by: Ferenc Hammerl <[email protected] >
Co-authored-by: Ferenc Hammerl <[email protected] >
2022-04-01 09:18:53 -04:00
0343e76789
Bump minimist from 1.2.5 to 1.2.6 in /src/Misc/expressionFunc/hashFiles ( #1783 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-29 22:40:32 -04:00
Yashwanth Anantharaju and GitHub
909b05eb66
FeedStream: handle websocket close failures ( #1789 )
...
* handle close failures
* handle in other place as well
* refactor
* bump runner version
* update release notes
2022-03-28 14:41:21 -04:00
Yashwanth Anantharaju and GitHub
2e3976cf97
Feedstream websocket: set user agent ( #1791 )
...
* set user agent
* let's also add prefix
2022-03-28 14:31:23 -04:00
ruvceskistefan and GitHub
052ac521b0
Issue 1739: Fixing null reference exception during configuring runner with invalid repo URL or token ( #1741 )
...
* Fixing null reference exception when configuring runner with invalid repo URL or token
* Throw exception instead of ConvertFromJson
* Storing the response code
2022-03-28 09:06:24 -04:00
408d6c579c
Add annotations if Node 12 action is found and FF is on ( #1735 )
...
* Add annotations if node 12 action is found
* Better placeholder
* Only warn if FF is on
* Move annotation logic
* Pass in the LTS Url
* Raise annotation right before executing the action
* Match server side FF name
* Change name back to features
* Better warning text
* Update src/Runner.Common/Constants.cs
Co-authored-by: Thomas Boop <[email protected] >
Co-authored-by: Thomas Boop <[email protected] >
2022-03-22 10:43:25 +01:00
Thomas Boop and GitHub
46258428cd
2.289.1 release notes ( #1771 )
2022-03-18 14:22:24 -04:00
Thomas Boop and GitHub
eb9a604b63
Revert "Added repository name and workflow file name to console output ( #1761 )" ( #1770 )
...
98aa9c1152
2022-03-18 14:09:01 -04:00
Thomas Boop and GitHub
8792d8e5ee
cleanup message displayed on job started/completed hooks ( #1769 )
2022-03-18 14:08:50 -04:00
Thomas Boop and GitHub
87e86e3d72
2.289.0 release notes ( #1766 )
2022-03-18 16:12:50 +01:00
Thomas Boop and GitHub
48b6cd9a42
Update dependencies to latest versions ( #1756 )
2022-03-17 23:21:35 -04:00
Yashwanth Anantharaju and GitHub
d081289ed5
postlines: refactor per feedback ( #1755 )
...
* refactor per feedback
* feedback
* nit
* commentify
* feedback
* feedback
2022-03-17 21:35:20 -04:00
7d5e9cd70f
Runner Job Started/Completed Hooks ( #1737 )
...
* Prototype for pre job hook
* Remove debug log
* Enable hooks again
* Initialize with hostContext
* Add event_path, fix no-path bug
* Allow script post steps
* Call script handler with correct pre post stage
* Add job completed hook
* Make filecommand work and hardcode shell
* Conditionally print step details and no telemetry for hooks
* Figure out whih script to use
* Only check path for managed scripts
* Resture win dependency
* Nits
* Remove unused, add named params
* Telemetry + refactoring
* add message to job
* rename hooks remove stale comment
* cleanup
* Use .CreateService to create step
* Add L0s
* pr feedback
* update tests
* add disclaimer, clean up code
* spacing fix
* little more cleanup
* pr fix
* pr feedback
* Refactor to use JobExtension
* fix tests
* fix typo
* cleanup code
* more cleanup
* little more cleanup
* last bit of cleanup
* fix tests
* nit fix
* Update src/Runner.Worker/JobHookProvider.cs
Co-authored-by: Edward Thomson <[email protected] >
* don't override runner telemtry
* pr feedback
* pr feedback
* pr feedback
Co-authored-by: Thomas Boop <[email protected] >
Co-authored-by: Thomas Boop <[email protected] >
Co-authored-by: Edward Thomson <[email protected] >
2022-03-17 21:35:04 -04:00
ruvceskistefan and GitHub
98aa9c1152
Added repository name and workflow file name to console output ( #1761 )
...
* Adding repo name and workflow file to console output
* Add guard for empty workflow file name
2022-03-17 13:25:28 -04:00
Yashwanth Anantharaju and GitHub
ddc700e9eb
Send postlines via websocket if we can ( #1730 )
...
* feed via websocket
* feed via websocket
* feedback
* ensure right schema is used
* fix resiliency
* some fixes
* fix sending message
* chunk data
* let's abort, which will also dispose
* close gracefully
2022-03-15 14:01:18 -04:00
Konrad Pabjan and GitHub
a0458aebfe
Save record order for annotation links when creating issues ( #1744 )
...
* Save record order for annotation links when creating issues
* PR feedback
* Add tests for step and line numbers
2022-03-14 11:20:11 -04:00
Tingluo Huang and GitHub
b2c6d093b2
Validate packages hash before uploading to github release in CD workflow. ( #1745 )
2022-03-14 09:21:13 -04:00
Thomas Boop and GitHub
292a2e0ab3
Fix spelling ( #1747 )
2022-03-11 09:41:54 -05:00
Nikola Jokic and GitHub
29cee52276
Prefer user who initiated install before ( #1714 )
2022-03-10 14:08:19 +01:00
Antoine Grondin and GitHub
ad0d0c4d0a
worker: expose github.triggering_actor as an env-var ( #1726 )
...
* worker: expose `github.triggering_actor` as an env-var
* worker: sort the allow list
2022-03-02 16:49:26 -05:00
Thomas Boop and GitHub
2c6064a655
Update to v2.288.1 ( #1723 )
...
We hotfixed the releases/m288 branch to update to v2.288.1. This PR brings us to parity on the main branch
2022-03-01 18:19:56 +00:00
af6c8e6edd
Issue 1698: Use safe_sleep executable in bash scripts ( #1707 )
...
* use safe_sleep executable in bash scripts
* new line at the end of safe_sleep bash script
* Replacing relative paths with absolute paths and changing location of safe_sleep
Co-authored-by: Ferenc Hammerl <[email protected] >
2022-03-01 13:08:52 +00:00
Nikola Jokic and GitHub
c15d3f10b2
Enhancement: RunnerService.js added logic to fail on N attempts if env variable exported ( #1693 )
...
* RunnerService.js added logic to fail on N attempts
* removed code grafeculShutdown, removed unused import
2022-03-01 13:55:25 +01:00
TingluoHuang
bdf1e90503
Prepare 2.288.0 runner releases.
2022-02-25 15:08:26 -05:00
Ferenc Hammerl and GitHub
100c99f263
Force JS Actions Node version to 16 if FF is on unless user opted out ( #1716 )
...
* Set GH actions Node version to 16 if FF is on unless user opted out
* Add L0s (WIP)
* Wrap tests into theory
* Only check for node12 actions
* Refactor node version picking
2022-02-25 14:59:16 -05:00
Ferenc Hammerl and GitHub
e8ccafea63
Add internal to node version function and use better env var name ( #1715 )
2022-02-25 14:59:02 -05:00