Thomas Boop
3e46f55ac9
Prep for m280.1 release ( #1245 )
...
* Finish job when worker crashed with IOException. (#1239 )
* fix continue on error (#1238 )
* Correctly set post step step context (#1243 )
* Release notes for 2.280.1 runner (#1244 )
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2021-08-04 13:32:44 -04:00
Thomas Boop
5af7b87074
Release notes for runner release 2.290.0 ( #1237 )
2021-08-03 11:12:43 -04:00
Tingluo Huang
110eb3a5de
Add generateIdTokenUrl to env vars for actions. ( #1234 )
2021-08-02 14:47:50 -07:00
Tingluo Huang
bd1341e580
Print out resolved SHA for each action. ( #1233 )
2021-08-02 15:59:09 -04:00
Thomas Boop
85ce33b1d3
Composite Code Cleanup ( #1232 )
...
* composite polish
* Cleanup Condition Handling
* Refactor ConditionTraceWriter
* pr feedback
* cleanup
2021-08-02 14:57:25 -04:00
Thomas Boop
92ec3d0f29
Add better step telemetry and tracing for composite Actions ( #1229 )
...
* Add Step Telemetry
* better telemetry and tracing
* cleanup
2021-07-30 10:45:49 -04:00
Thomas Boop
4e95d0d6ad
Support pre/post/container/composite actions within composite actions ( #1222 )
...
Support Composite Actions with uses: steps
2021-07-28 15:35:21 -04:00
Ferenc Hammerl
e9a8bf29df
Prefer higher libicu versions in installDependencies.sh ( #1228 )
...
* Update libicu dependencies
* Remove redundant comments (methodname is enough)
2021-07-27 14:30:53 +02:00
dependabot[bot]
a65331e887
Bump lodash in /src/Misc/expressionFunc/hashFiles ( #1082 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 23:34:52 -04:00
dependabot[bot]
908a082527
Bump hosted-git-info in /src/Misc/expressionFunc/hashFiles ( #1087 )
...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info ) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases )
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md )
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 23:33:21 -04:00
dependabot[bot]
10ba74f59b
Bump glob-parent in /src/Misc/expressionFunc/hashFiles ( #1147 )
...
Bumps [glob-parent](https://github.com/gulpjs/glob-parent ) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases )
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2 )
---
updated-dependencies:
- dependency-name: glob-parent
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-26 22:55:26 -04:00
Ferenc Hammerl
33ee76df29
Prepare 2.279.0 Release ( #1217 )
...
* Bump runner version to 2.279.0
* Update release notes
2021-07-21 17:23:02 +02:00
Ferenc Hammerl
592ce1b230
Better error message when a command is not found ( #1210 )
...
* Describe missing util / command error in more detail
* Use more uniform language in traceInfo
2021-07-20 15:26:30 +02:00
Luke Tomlinson
fff31e11c5
Add notice annotation level and support more annotation fields ( #1175 )
...
* Add Notice Command
* Add Feature Flag For Enhanced Annotations
* Fix tests
* Add validation for columns and lines
* Fix order to match service
* Remove console.write
* Make Validation Better
* Cleanup
* Handle empty/whitespace strings
* Add more validation for line/column ranges
* Make Validation Debug, Not Throw
* Change casing to 🐫 from 🐍
* Give notice a well known tag
* Cleanup
* Sanitize invalid commands rather than fail
2021-07-13 11:38:16 -04:00
rethab
6443fe8c97
fix typos in docs of JobDispatcher ( #1191 )
...
* fix some typos in docs of JobDispatcher
* one more typo
* Update src/Runner.Listener/JobDispatcher.cs
Co-authored-by: Ferenc Hammerl <31069338+fhammerl@users.noreply.github.com >
2021-07-13 09:50:51 +02:00
Tingluo Huang
29c09c5bf8
ignore this test
2021-07-08 17:22:46 -04:00
Tingluo Huang
09821e2169
Check runner group when there is only default runner group. ( #1172 )
...
* Check runner group when there is only `default` runner group.
* L0
2021-07-02 12:31:54 -04:00
Thomas Boop
7c90b2a929
Composite Actions ( #1170 )
...
Composite Actions Refactoring
2021-07-01 13:34:28 -04:00
Darshan Sen
0a6c34669c
send SIGKILL after 30s in gracefulShutdown() ( #1156 )
...
This resolves the TODO.
Fixes: https://github.com/actions/runner/issues/680
Signed-off-by: Darshan Sen <raisinten@gmail.com >
2021-06-21 12:07:39 -04:00
jeff
42fe704132
Add message size in chars and bytes ( #1100 )
...
* Add message size in chars and bytes
* Log hash of message body
2021-06-10 15:58:56 -04:00
Ferenc Hammerl
a1bcd5996b
Check if service exists before stopping it (Linux) ( #1135 )
...
* Check if service exists before stopping it
* Remove empty line (formatting)
* Use the same way as status to check service
* Revert formatting change
2021-06-08 13:27:19 +02:00
eric sciple
31584f4451
add comments ( #1137 )
2021-06-07 11:58:00 -04:00
Yann Soubeyrand
11939832df
Return 1 on service status when service is not installed ( #1018 )
2021-06-04 10:52:13 -04:00
Rob Bos
ebadce7958
Typo: Changed dockerManger to dockerManager ( #1133 )
2021-06-04 10:51:30 -04:00
Tingluo Huang
4d5d5b74ee
Ignore changes from BuildConstants.cs ( #1132 )
2021-06-03 16:19:26 -04:00
Ferenc Hammerl
8e907b19dc
Vscode launch scripts ( #1117 )
...
* Stop ignoring .vscode (launch scripts)
* Check in launch scripts for config and run
This can cause an issue with existing launch configuration on the machines of contributors.
* Improve error msg when runner is not configured
* Unignore .vscode/launch and tasks only
* Remove stopAtEntry and add eof newline
* Remove Runner.Listener from error message
* Rename tasks and run configs
* Ignore BuildConstants.cs
* Use better error msg
* Explain development steps in depth
* Add launch config to directly debug worker
* Update docs with VS Code tips
* Remove auto-generated comments
* Fix link to quickstart in vscode.md
* Remove ':' from link to quickstart
* Revert "Ignore BuildConstants.cs"
This reverts commit 0f13922a87 .
* Replace `.sh` with `.(sh/cmd)` in docs
2021-06-02 08:34:16 -04:00
Ferenc Hammerl
93ec16e14f
Wait for debugger to attach in Runner.Worker process ( #1101 )
...
* Wait for debugger to attach in Worker
Only if GITHUB_ACTIONS_RUNNER_ATTACH_DEBUGGER is set
* Only wait if env variable parses to boolean 'true'
* Add 30s timeout to the wait
* Clean up leftover line
* Decrease wait to 20s
* Use ConvertToBoolean isntead of TryParse
2021-05-27 16:05:48 +02:00
eric sciple
3a5ab37153
Handle job not found when ensuring previous dispatch finished ( #1083 )
2021-05-11 09:19:23 -05:00
eric sciple
419ed24c1e
rename nestedSteps to embeddedSteps ( #1071 )
2021-05-01 12:51:01 -05:00
eric sciple
7cc689b0d9
minor cleanup in composite ( #1045 )
2021-04-30 15:48:53 -05:00
Tingluo Huang
5941cceb7c
Unset NODE_ICU_DATA before starting node in NodeHandler. ( #1060 )
...
* Unset NODE_ICU_DATA before starting node in NodeHandler.
* Update src/Runner.Worker/Handlers/NodeScriptActionHandler.cs
Co-authored-by: Ross Brodbeck <hross@users.noreply.github.com >
Co-authored-by: Ross Brodbeck <hross@users.noreply.github.com >
2021-04-23 11:10:22 -04:00
eric sciple
fc4027b3f1
Bump version ( #1048 )
2021-04-16 15:45:55 +00:00
eric sciple
d14881b970
do not trucate error message from template evaluation ( #1038 )
2021-04-06 16:45:40 -04:00
David Wolf
be9632302c
Make FileShare ReadWrite ( #1033 )
...
* Make FileShare ReadWrite
* Update FileAccess to ReadWrite
* Update dotnet-install.ps1
* Update dotnet-install.ps1
* Update dotnet-install.ps1
* Update dotnet-install.sh
2021-04-01 16:54:23 -04:00
Ross Brodbeck
2b5ddd7c21
Add a default BuildConstants and change encoding on save ( #1026 )
2021-03-26 12:26:24 -04:00
eric sciple
8109c962f0
mask secrets with double-quotes when passed to docker command line ( #1002 )
2021-03-05 15:17:55 -06:00
Tim Etchells
af198237ca
Delete script files before replacing during update ( #984 )
...
* Delete script files before replacing during update
Signed-off-by: Tim Etchells <tetchel@gmail.com >
* Use IOUtil.DelteFile()
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2021-02-22 23:38:15 -05:00
Alberto Gimeno
1559ff15ec
Use GITHUB_TOKEN for ghcr.io containers if credentials are not provided ( #990 )
...
* Use GITHUB_TOKEN for ghcr.io containers if credentials are not provided
* Use GITHUB_TOKEN also for containers in containers.pkg.github.com
2021-02-18 21:55:58 -05:00
Thomas Boop
67ff8d3460
Release 2.277.1 runner ( #977 )
...
* Revert "Enable tty output from Docker Actions (#916 )"
5972bd0060
* Release notes
* add pr
2021-02-09 14:45:33 -05:00
Thomas Boop
6cbfbc3186
Add 2.277.0 release notes ( #975 )
...
* add 2.276.2 release notes
* major version these changes
2021-02-09 11:18:55 -05:00
Thomas Boop
195c2db5ef
Check Runner Zip Hash on Upgrade ( #967 )
...
* Check Hash if it exists on runner update
2021-02-09 10:52:46 -05:00
Tingluo Huang
50994bbb3b
add --check to the output of run.sh --help. ( #970 )
...
* add --check to the output of run.sh --help.
* feedback.
2021-02-09 10:17:54 -05:00
Lucas Costi
7b03699fbe
--check strings grammar improvements (#972 )
2021-02-08 00:23:14 -05:00
Yang Cao
bc3099793f
Display GITHUB_TOKEN permissions ( #966 )
...
* Display GITHUB TOKEN permissions
* Display permission list is best effort
* Remove newtonsoft dependency
2021-02-04 23:10:00 -05:00
Santiago Roman
b76d229da0
Fix usage of /dev/null and ping flag in run.sh ( #968 )
...
- Use /dev/null instead of nul
- Use -c instead of -n as a ping flag to specify number of packets to be
sent
2021-02-04 23:09:27 -05:00
TingluoHuang
fe3994bf1d
skip dotnet script testing.
2021-02-04 22:58:10 -05:00
TingluoHuang
0ae09e6713
Revert "update dotnet install script."
...
This reverts commit 2b4d5542aa .
2021-02-04 22:46:15 -05:00
TingluoHuang
2b4d5542aa
update dotnet install script.
2021-02-04 22:32:57 -05:00
Denis Baryshev
6b0f0c00b1
use correct exit code and delay on runner update in run.sh ( #963 )
...
Fix runner update script
2021-02-04 22:12:55 -05:00
Tingluo Huang
09760c0d69
Trace process error in RunnerService.js ( #955 )
2021-02-01 10:03:15 -05:00