Commit Graph

289 Commits

Author SHA1 Message Date
David Kale 55a774ccae Prepare 2.275.1 2021-04-20 21:41:57 -04:00
Tingluo Huang 5bc3e957a0 fix compat issue in timeline record state. (#861) 2021-04-20 21:41:57 -04:00
David Kale 3aa819753f Prepare m275 (#860) 2021-04-20 21:41:57 -04:00
klassiker 2e7fa13380 Add proxy support for container actions (#840)
* Add proxy support for container actions in Runner.Worker/StepsRunner

* Move proxy modifications to ContainerActionHandler
2021-04-20 21:41:57 -04:00
Yang Cao 830575dafe 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.
2021-04-20 21:41:57 -04:00
Tingluo Huang 9a41ec3d6e unset GTIHUB_ACTION_REPOSITORY and GITHUB_ACTION_REF for non-repo based actions. (#804) 2021-04-20 21:41:57 -04:00
Bruno FERNANDO c7b6b9eeca feat(scripts): add labels in the script that register runner (#844) 2021-04-20 21:41:57 -04:00
David Kale 1c47d81cba 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
2021-04-20 21:41:57 -04:00
Thomas Boop ec6e73c496 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
2021-04-20 21:41:57 -04:00
Thomas Boop aac4c94521 Add deprecation date and release 2.274.1 version (#796) 2021-04-20 21:41:57 -04:00
Julio Barba 0b33ec52e3 Prepare the release of 2.274.0 runner 2021-04-20 21:41:57 -04:00
Chris Gavin 0ba7a48fcd 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>
2021-04-20 21:41:57 -04:00
Jason Laqua 0c8da9557e 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>
2021-04-20 21:41:57 -04:00
shinriyo 41d2a8698f 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.
2021-04-20 21:41:57 -04:00
Tingluo Huang 8ba748b104 raise error for set-env, block set node_options. (#784)
* raise error for set-env, block set node_options.

* feedback.
2021-04-20 21:41:57 -04:00
Yashwanth Anantharaju 0d5cfff227 fix in correct check (#778) 2021-04-20 21:41:57 -04:00
Robin Neatherway 09b12df42f 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>
2021-04-20 21:41:57 -04:00
Temtaime 7509298739 Add .editorconfig (#768)
* Add .editorconfig

* Create .editorconfig
2021-04-20 21:41:57 -04:00
dependabot[bot] 3a4b489eca 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>
2021-04-20 21:41:57 -04:00
Josh Soref b2e1f9cc71 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
2021-04-20 21:41:57 -04:00
Łukasz Łaniewski-Wołłk 95eab27aaa Correcting bug in check of libicu presence (#695) 2021-04-20 21:41:57 -04:00
Justin Weissig 43f0259aa9 fixed grammar issues (#672)
Nothing major here just minor wording.
2021-04-20 21:41:57 -04:00
Justin Weissig 277e6ee29f fixed wording (#671)
Fixed a few minor grammar issues
2021-04-20 21:41:57 -04:00
Justin Weissig a770ab8785 minor spelling & grammar tweaks (#670)
Fixed a few minor spelling & grammar issues.
2021-04-20 21:41:57 -04:00
Justin Weissig 4bb5cabbda fixed minor spelling mistake (#669)
Changed enhancment to enhancement.
2021-04-20 21:41:57 -04:00
Tingluo Huang 9d12ac680b update dotnet install script. 2021-04-20 21:41:57 -04:00
Fabian Mastenbroek ca44d06b70 Update to .NET Core SDK 3.1.302 (#681)
This change updates the .NET Core SDK used by the Actions Runner to
version 3.1.302 to address the issues that are caused by the following issue:
    https://github.com/dotnet/runtime/issues/13475
See #574 for more information.

Fixes #574
2021-04-20 21:41:57 -04:00
Yashwanth Anantharaju dc55b3c781 Support environment URL parsing (#762)
* environment URL parsing
2021-04-20 21:41:57 -04:00
Hayden Faulds e609a02c6e log runner group name (#696)
* log runner group name

* linting
2021-04-20 21:41:57 -04:00
Thomas Boop 58ef855d9c Release notes for 2.273.5 (#734) 2021-04-20 21:41:57 -04:00
Thomas Boop 5d2341445e Notify on unsecure commands (#731)
* notify on unsecure commands
2021-04-20 21:41:57 -04:00
Yang Cao ca66b37602 Expose retention days in env for toolkit/artifacts package (#714) 2021-04-20 21:41:57 -04:00
David Kale 4072908989 Prepare 273.4 release 2021-04-20 21:41:57 -04:00
David Kale 32ea6b29ac Prepare 2.273.3 release 2021-04-20 21:41:57 -04:00
Julio Barba 36cc41502e Preparing the release of 2.273.2 runner 2021-04-20 21:41:57 -04:00
eric sciple 73271539cf fix bug w checkout v1 updating GITHUB_WORKSPACE (#704) 2021-04-20 21:41:57 -04:00
David Kale 6607453761 Allow registry credentials for job/service containers (#694)
* Log in with container credentials if given

* Stub in registry aware auth for later

* Fix hang if password is empty

* Remove default param to fix build

* PR Feedback. Add some tests and fix parse
2021-04-20 21:41:57 -04:00
Julio Barba 8893af2439 Prepare the release of 2.273.1 runner 2021-04-20 21:41:57 -04:00
Thomas Boop 9d7b633a5b Cleanup FileCommands (#693) 2021-04-20 21:41:57 -04:00
eric sciple d74c400c38 read env file (#683) 2021-04-20 21:41:57 -04:00
Thomas Boop 0fcd63d171 Add Runner File Commands (#684)
* Add File Runner Commands
2021-04-20 21:41:57 -04:00
Thomas Brumley 593673ba9e Add in Log line numbers for streaming logs (#663)
* Add in Log line

Co-authored-by: yaananth (Yash) <yaananth@github.com>
2021-04-20 21:41:57 -04:00
Julio Barba 2b0a2aeba2 Set executable bit 2021-04-20 21:41:57 -04:00
Julio Barba fa921f9a61 Update dotnet scripts 2021-04-20 21:41:57 -04:00
Julio Barba 64a14ad875 Prepare the release of 2.273.0 runner 2021-04-20 21:41:57 -04:00
Ethan Chiu 6c0f4fa33b Fix Outputs Example (#658) 2021-04-20 21:41:57 -04:00
Timo Schilling 0204c270db fix endgroup maker (#640) 2021-04-20 21:41:57 -04:00
Ethan Chiu 6a0bd2beeb Fix Null Ref Issues Composite Actions (#657) 2021-04-20 21:41:57 -04:00
Ethan Chiu af9b3ea42d Fix DisplayName Changing in middle of composite action run (#645) 2021-04-20 21:41:57 -04:00
Ethan Chiu 8486979e0f Free up memory from step level outputs in composite action (#641) 2021-04-20 21:41:57 -04:00