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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
7b03699fbe
--check strings grammar improvements (#972 )
2021-02-08 00:23:14 -05:00
Yang Cao and GitHub
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 and GitHub
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 and GitHub
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 and GitHub
09760c0d69
Trace process error in RunnerService.js ( #955 )
2021-02-01 10:03:15 -05:00
Tingluo Huang and GitHub
8f14466cbb
Add http POST to --check. ( #949 )
...
* Add http POST to --check.
* feedback.
2021-01-30 22:35:45 -05:00
Lokesh Gopu and GitHub
59b30262ac
Update AgentPlatform for job timeline record ( #939 )
...
* Update AgentPlatform for job timeline record
* removed unused using
2021-01-25 11:14:28 -05:00
eric sciple and GitHub
9efcec38cc
support authenticated package download ( #920 )
2021-01-23 14:19:59 -05:00
5972bd0060
Enable tty output from Docker Actions ( #916 )
...
* Update DockerCommandManager.cs
* Update StepHost.cs
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2021-01-21 22:35:57 -05:00
Thomas Boop and GitHub
239cc0d7ca
prep 2.276.1 runner release ( #929 )
2021-01-21 14:02:36 -05:00
Thomas Boop and GitHub
3fb915450a
Runner v2.276.0 fixes ( #928 )
...
* Revert "always use Fips Cryptography (#896 )"
3b34e203dc
* Revert "Update ldd check with dotnet 5."
4b6ded0a01
* Revert "Update SDK to .NET 5 (#799 )"
fc3ca9bb92
* Update dotnet-install scripts
2021-01-21 13:45:16 -05:00
Tingluo Huang
4b6ded0a01
Update ldd check with dotnet 5.
2021-01-15 09:14:55 -05:00
TingluoHuang
0953ffa62b
Prepare 2.276.0 runner release.
2021-01-14 13:55:13 -05:00
Tingluo Huang and GitHub
7ee333b5cd
Adding --check to run a serials network test against GitHub or GHES. ( #900 )
...
* add --check.
2021-01-14 13:26:07 -05:00
Tingluo Huang and GitHub
3b34e203dc
always use Fips Cryptography ( #896 )
2021-01-12 11:05:01 -05:00
Tingluo Huang and GitHub
e808190dd2
add warning when running out of disk. ( #873 )
2021-01-05 21:49:11 -05:00
Yang Cao and GitHub
d2cb9d7685
Ignore certain scenarios so they are not counted as infra failures ( #889 )
...
* Ignore certain scenarios so they are not counted as infra failures
* Check to make sure request is not cancelled
2021-01-05 16:08:02 -05:00
Tiago Silva and GitHub
5ba6a2c78d
Add new ANDROID_SDK_ROOT environment variable ( #892 )
2021-01-05 13:39:47 -05:00
Adeel Mujahid and GitHub
fc3ca9bb92
Update SDK to .NET 5 ( #799 )
2020-12-26 00:01:45 -05:00
Tingluo Huang and GitHub
81a00fff3e
config runner via PAT. ( #874 )
2020-12-25 21:54:23 -05:00
David Kale
7ff6ff6afa
Prepare 2.275.1
2020-12-14 16:36:31 -05:00
Tingluo Huang and GitHub
56529a1c2f
fix compat issue in timeline record state. ( #861 )
2020-12-14 15:43:00 -05:00
David Kale and GitHub
510fadf71a
Prepare m275 ( #860 )
2020-12-14 11:02:44 -05:00
klassiker and GitHub
007ac8138b
Add proxy support for container actions ( #840 )
...
* Add proxy support for container actions in Runner.Worker/StepsRunner
* Move proxy modifications to ContainerActionHandler
2020-12-11 13:08:45 -05:00
Yang Cao and GitHub
1e12b8909a
Count actions resolve failures as infra failures ( #851 )
...
During job run we may fail to resolve actions download info, and this
stack is fully controlled by GitHub actions so it should be counted as
infrastructure failure instead of user failure.
2020-12-11 11:07:43 -05:00
Tingluo Huang and GitHub
9ceb3d481a
unset GTIHUB_ACTION_REPOSITORY and GITHUB_ACTION_REF for non-repo based actions. ( #804 )
2020-12-11 11:04:07 -05:00
David Kale and GitHub
80bf68db81
Crypto cleanup and enable usage of FIPS compliant crypto when required ( #806 )
...
* Use FIPS compliant crypto when required
* Comment cleanup
* Store OAuth signing scheme in credentialData instead of runner setting
Add encryption scheme for job message encyption key to session
Further cleanup of unused crypto code
* Update windows rsa key manager to use crossplat dotnet RSA api
* Undo unneeded ConfigurationManager change
2020-12-04 11:35:16 -05:00
Thomas Boop and GitHub
a2e32170fd
Disable set-env and add-pathcommands ( #779 )
...
* Disable Old Runner Commands set-env and add-path
* update dotnet install scripts
* update runner version and release notes
2020-11-16 08:20:43 -05:00
Thomas Boop and GitHub
35dda19491
Add deprecation date and release 2.274.1 version ( #796 )
2020-11-09 09:01:47 -05:00
Julio Barba
36bdf50bc6
Prepare the release of 2.274.0 runner
2020-11-05 10:25:24 -05:00
95e2158dc6
Add an environment variable to indicate which repository the currently running Action came from. ( #585 )
...
* add `workflow_dispatch`
* Add an environment variable to indicate which repository the currently running Action came from.
* Expose the Action ref as well.
* Move setting `github.action_repository` and `github.action_ref` to `ActionRunner.cs`.
* Don't set `action_repository` and `action_ref` for local Actions.
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2020-11-03 14:39:17 -05:00
3ebaeb9f19
Fixes #759 doesn't change proxy environment variables ( #760 )
...
* Fixes #759 doesn't change proxy environment variables
* Update RunnerWebProxy.cs
* Update RunnerWebProxyL0.cs
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2020-11-03 10:47:30 -05:00
shinriyo and GitHub
9d678cb270
DRY and add sudo ( #687 )
...
remove 3 "redundant" text and put one text for DRY.
and developers always forget `sudo` and annoying `Need to run with sudo privilege` message.
so, add first.
2020-11-02 21:38:35 -05:00
Tingluo Huang and GitHub
27788491ea
raise error for set-env, block set node_options. ( #784 )
...
* raise error for set-env, block set node_options.
* feedback.
2020-11-02 14:09:29 -05:00
Yashwanth Anantharaju and GitHub
5ba7affea4
fix in correct check ( #778 )
2020-10-30 14:34:00 -04:00
ce92d7a6b5
Change ping .. > nul to sleep ( #647 )
...
* Change `ping .. > nul` to `sleep`
The filename `nul` is a Windows-ism that causes the update script to
create such a file in the current working directory. The `ping`
utility is also an dependency not installed by
`installdependencies.sh`, so it seemed easier to change it to the
standard `sleep` command.
* Update dotnet-install script as requested by test
* Update dotnet-install.ps1
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2020-10-29 10:15:30 -04:00
Temtaime and GitHub
d23ca0ba7a
Add .editorconfig ( #768 )
...
* Add .editorconfig
* Create .editorconfig
2020-10-27 10:50:50 -04:00
9d1c81f018
Bump @actions/core in /src/Misc/expressionFunc/hashFiles ( #729 )
...
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 1.2.0 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases )
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 23:29:08 -04:00
Josh Soref and GitHub
7a8abe726a
Improve apt handling ( #708 )
...
* Unify apt/apt-get logic
The previous logic was buggy in that it tried to use `apt` in the `apt-get` branch after deciding that `apt` was unavailable...
* Prefer apt-get over apt
apt does not have a stable cli and using it from scripts yields annoying messages
* Improve English for missing apt-get & apt case
* Fix apt-get/apt fallback behavior for $ patterns
If there's a `$` in the apt install pattern, it will not fail if it selects a thing and decides it isn't interested in installing it.
* Fix spelling of libssl
2020-10-26 23:27:09 -04:00
Łukasz Łaniewski-Wołłk and GitHub
a9135e61a0
Correcting bug in check of libicu presence ( #695 )
2020-10-26 23:14:17 -04:00
Tingluo Huang
c196103e58
update dotnet install script.
2020-10-26 23:07:57 -04:00