Commit Graph

321 Commits

Author SHA1 Message Date
Thomas Boop 7804e1f478 Check Runner Zip Hash on Upgrade (#967)
* Check Hash if it exists on runner update
2021-04-20 21:41:59 -04:00
Tingluo Huang 94fbbcb902 add --check to the output of run.sh --help. (#970)
* add --check to the output of run.sh --help.

* feedback.
2021-04-20 21:41:59 -04:00
Lucas Costi 85e7732b48 --check strings grammar improvements (#972) 2021-04-20 21:41:59 -04:00
Hollow Man d72e7284c3 Fix typos (#969)
accidentially -> accidentally
neglible -> negligible
2021-04-20 21:41:59 -04:00
Yang Cao f15ea3f9f5 Display GITHUB_TOKEN permissions (#966)
* Display GITHUB TOKEN permissions

* Display permission list is best effort

* Remove newtonsoft dependency
2021-04-20 21:41:59 -04:00
Santiago Roman 01be856eff 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-04-20 21:41:59 -04:00
TingluoHuang 1ef8ea7a83 skip dotnet script testing. 2021-04-20 21:41:59 -04:00
TingluoHuang 173497268d Revert "update dotnet install script."
This reverts commit 2b4d5542aa.
2021-04-20 21:41:59 -04:00
TingluoHuang b7acd0c99a update dotnet install script. 2021-04-20 21:41:59 -04:00
Denis Baryshev ff55930ef3 use correct exit code and delay on runner update in run.sh (#963)
Fix runner update script
2021-04-20 21:41:59 -04:00
Tingluo Huang be598f1e9b Trace process error in RunnerService.js (#955) 2021-04-20 21:41:59 -04:00
Tingluo Huang 3e33b4c5f2 Add http POST to --check. (#949)
* Add http POST to --check.

* feedback.
2021-04-20 21:41:59 -04:00
Thomas Boop 81810c635a Generate SHA's for released packages and include them in package notes (#948)
* Update release.yml

Compute Sha's for release builds

* Update release notes with shas

* Update releaseNote.md

* Update release.yml

* Update release.yml

* Update release.yml

* Add Ability to Get Sha's

* fix typo

* remove debug code
2021-04-20 21:41:59 -04:00
Lokesh Gopu d20a5409d6 Update AgentPlatform for job timeline record (#939)
* Update AgentPlatform for job timeline record

* removed unused using
2021-04-20 21:41:59 -04:00
eric sciple 29eae8d616 support authenticated package download (#920) 2021-04-20 21:41:59 -04:00
Joel Dickson 4ec52d2693 Enable tty output from Docker Actions (#916)
* Update DockerCommandManager.cs

* Update StepHost.cs

Co-authored-by: Tingluo Huang <tingluohuang@github.com>
2021-04-20 21:41:59 -04:00
Thomas Boop 7867655321 prep 2.276.1 runner release (#929) 2021-04-20 21:41:59 -04:00
Thomas Boop 26a794b84e 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-04-20 21:41:59 -04:00
Tingluo Huang 1c9d2bb8c7 Update ldd check with dotnet 5. 2021-04-20 21:41:59 -04:00
TingluoHuang f811eb606d Prepare 2.276.0 runner release. 2021-04-20 21:41:59 -04:00
Robin Neatherway 1028b93325 Add on: pull_request trigger to CodeQL workflow (#907)
From February 2021, in order to provide feedback on pull requests, Code Scanning workflows must be configured with both `push` and `pull_request` triggers. This is because Code Scanning compares the results from a pull request against the results for the base branch to tell you only what has changed between the two.

Early in the beta period we supported displaying results on pull requests for workflows with only `push` triggers, but have discontinued support as this proved to be less robust.

See https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#scanning-pull-requests for more information on how best to configure your Code Scanning workflows.
2021-04-20 21:41:59 -04:00
Tingluo Huang 987e6ea26b Adding --check to run a serials network test against GitHub or GHES. (#900)
* add --check.
2021-04-20 21:41:59 -04:00
Tingluo Huang e1acc1b30a always use Fips Cryptography (#896) 2021-04-20 21:41:57 -04:00
Tingluo Huang 994483abd2 add warning when running out of disk. (#873) 2021-04-20 21:41:57 -04:00
Yang Cao 56d74472db 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-04-20 21:41:57 -04:00
Tiago Silva 85c2303669 Add new ANDROID_SDK_ROOT environment variable (#892) 2021-04-20 21:41:57 -04:00
Adeel Mujahid fffde09794 Update SDK to .NET 5 (#799) 2021-04-20 21:41:57 -04:00
Tingluo Huang 27563fb634 add e2e workflow badge 2021-04-20 21:41:57 -04:00
Tingluo Huang 05f579c6b9 Update job name in logs. 2021-04-20 21:41:57 -04:00
Tingluo Huang 9337d7c91f e2e test workflow (#885) 2021-04-20 21:41:57 -04:00
Tingluo Huang a57f90280f config runner via PAT. (#874) 2021-04-20 21:41:57 -04:00
Josh Gross 2b83621809 Add runtime team as CODEOWNERS (#872) 2021-04-20 21:41:57 -04:00
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