Commit Graph
100 Commits
Author SHA1 Message Date
20721bc950 Prepare runner release 2.305.0. (#2657)
* Prepare runner release 2.305.0.

* Update releaseNote.md

Co-authored-by: John Sudol <[email protected]>

* Update releaseNote.md

Co-authored-by: John Sudol <[email protected]>

---------

Co-authored-by: John Sudol <[email protected]>
2023-06-13 12:57:37 -04:00
Tingluo HuangandGitHub 1bc14f0607 Trace WebSocket exception into verbose level to reduce noise in diag log. (#2591) 2023-05-08 18:54:34 -04:00
Tingluo HuangandGitHub 58f3ff55aa Prepare 2.304.0 runner release. (#2569) 2023-04-26 15:48:13 -04:00
Tingluo HuangandGitHub 6353ac84d7 Add orchestrationId to useragent for better correlation. (#2568)
* Add orchestrationId to useragent for better correlation.

* .
2023-04-26 19:15:19 +00:00
Tingluo HuangandGitHub e8b2380a20 Limit the time we wait for waiting websocket to connect. (#2554) 2023-04-19 10:20:00 -04:00
Tingluo HuangandGitHub 440c81b770 Bump container hooks version to 0.3.1 (#2496) 2023-03-20 14:53:47 +00:00
Tingluo HuangandGitHub 81b07eb1c4 Prepare runner release 2.303.0 (#2482) 2023-03-10 10:45:56 +00:00
Tingluo HuangandGitHub d61b27b839 Change runner image to make user/folder align with ubuntu-latest hosted runner. (#2469) 2023-03-02 13:42:23 -05:00
Tingluo HuangandGitHub 982784d704 Wait for docker base on env RUNNER_WAIT_FOR_DOCKER_IN_SECONDS. (#2440) 2023-02-15 16:05:36 -05:00
Tingluo HuangandGitHub 1ab35b0938 Use v2 version based on https://github.blog/changelog/2023-01-18-code-scanning-codeql-action-v1-is-now-deprecated/ (#2434) 2023-02-14 16:01:52 +00:00
Tingluo HuangandGitHub f86e968d38 Prepare runner release 2.302.0 (#2433) 2023-02-14 09:50:09 -05:00
Tingluo HuangandGitHub 6d1d2460ac Add docker cli to the runner image. (#2425) 2023-02-08 09:21:02 -05:00
Tingluo HuangandGitHub ca7be16dd3 Bump dotnet sdk to latest version. (#2392)
* Bump dotnet sdk to latest version.

* .

* .

* .

* .

* .

* .

* .

* .
2023-01-23 13:07:49 -05:00
Tingluo HuangandGitHub f1c57ac0ef Bump runner version to match the released runner. (#2385)
* Bump runner version to match the released runner.

* .
2023-01-19 00:40:33 +00:00
Tingluo HuangandGitHub 8581a041a5 Revert "split by regex (#2333)" (#2383)
This reverts commit 72830cfc12.
2023-01-19 00:32:24 +00:00
6412390a22 Prepare 2.301.0 runner release. (#2382)
* Prepare 2.301.0 runner release.

* Update releaseNote.md

Co-authored-by: Thomas Boop <[email protected]>

* Update releaseNote.md

Co-authored-by: Thomas Boop <[email protected]>

* Update releaseNote.md

Co-authored-by: Thomas Boop <[email protected]>

* Update releaseNote.md

Co-authored-by: Thomas Boop <[email protected]>

* Update releaseNote.md

Co-authored-by: Thomas Boop <[email protected]>

* Update releaseNote.md

Co-authored-by: Thomas Boop <[email protected]>

* Update releaseNote.md

Co-authored-by: Thomas Boop <[email protected]>
2023-01-18 15:03:24 -05:00
Tingluo HuangandGitHub 4a6630531b Allow provide extra User-Agent for better correlation. (#2370) 2023-01-16 10:18:55 -05:00
Tingluo HuangandGitHub a1244d2269 Add Header/Footer to multi-line message in StdoutTraceListener. (#2336) 2022-12-22 10:38:29 -05:00
Tingluo HuangandGitHub 29a28a870f Make runner image print diag log to STDOUT. (#2331) 2022-12-19 16:57:16 -05:00
Tingluo HuangandGitHub 0dd7a113f1 Log GitHub RequestId for better traceability. (#2332) 2022-12-19 19:46:29 +00:00
TingluoHuang 83b8baa45e Bump runner version to 2.300.2 to match released version. 2022-12-19 14:22:51 -05:00
Tingluo HuangandGitHub c0bc4c02f8 Add RUNNER_ALLOW_RUNASROOT=1 to dockerfile (#2254) 2022-11-15 12:38:11 -05:00
Tingluo HuangandGitHub 40ed7f8a40 Forward parameters into run() func in run.sh. (#2240) 2022-11-02 18:13:40 -04:00
Tingluo HuangandGitHub 4adaf9c1e6 Use Global.Variables instead of JobContext and include action path/ref in the message. (#2214)
* Use Global.Variables instead of JobContext and include action path/ref in the message.

* encoding

* .
2022-11-02 09:40:19 -04:00
Tingluo HuangandGitHub 1cb1779d6b Include step context name and start/finish time in step telemetry (#2069)
* Include step context name in telemetry.

* .
2022-08-22 21:26:52 -04:00
Tingluo HuangandGitHub 72e2107b5e Change the auth challenge 401 to be verbose trace. (#2021) 2022-07-25 16:02:54 -04:00
Tingluo HuangandGitHub 3567c042ea Bump newtonsoft.json to 13.0.1 (#2012) 2022-07-22 11:21:04 -04:00
Tingluo HuangandGitHub e646b6fec4 Move --jitconfig to valid ./run.sh args. (#2013) 2022-07-22 11:14:09 -04:00
Tingluo HuangandGitHub 761785620f Support pass runner JitConfig as arg. (#1925) 2022-06-22 10:59:29 -04:00
Tingluo HuangandGitHub 9c5300b5b2 Handle HostedRunnerShutdownMessage from service to shutdown hosted runner faster. (#1922) 2022-06-02 13:14:50 -04:00
Tingluo HuangandGitHub 0b73794267 Set timeout on sending live console log. (#1903) 2022-05-20 21:31:21 -04:00
Tingluo HuangandGitHub d7694774a4 Update release note, workflow, doc for osx-arm64. (#1904) 2022-05-20 12:28:52 -04:00
Tingluo HuangandGitHub 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 HuangandGitHub fade0f46e7 Bump dotnet SDK to 6.0.300 (#1900)
* Bump dotnet SDK to 6.0.300
2022-05-17 22:51:32 -04:00
Tingluo HuangandGitHub bd5f275830 Update runnerversion to match latest release. 2022-04-26 09:54:42 -04:00
Tingluo HuangandGitHub 1c582abc8b Skip running L0 tests in release workflow to prevent package pollution (#1832) 2022-04-19 16:10:47 -04:00
Tingluo HuangandGitHub 44d4d076fe Capture telemetry when git errors on unsafe repository. (#1823) 2022-04-13 12:48:52 -04:00
Tingluo HuangandGitHub b2c6d093b2 Validate packages hash before uploading to github release in CD workflow. (#1745) 2022-03-14 09:21:13 -04:00
TingluoHuang bdf1e90503 Prepare 2.288.0 runner releases. 2022-02-25 15:08:26 -05:00
Tingluo HuangandGitHub 28f0027938 Add SHA to useragent. (#1694) 2022-02-17 20:01:48 +00:00
Tingluo HuangandGitHub a65ac083b4 Skip DeleteAgentSession when the acess token has been revoked. (#1692) 2022-02-16 16:10:18 -05:00
Tingluo HuangandGitHub 882f36dcf8 Sending telemetry about actions usage. (#1688)
* Sending telemetry about actions usage.

* .

* L0 tests.

* .
2022-02-16 12:18:21 -05:00
Tingluo HuangandGitHub cb19da9638 Move JobTelemetry and StepsTelemetry into GlobalContext. (#1680)
* Move JobTelemetry and StepsTelemetry into GlobalContext.

* .

* .
2022-02-11 16:18:41 -05:00
Tingluo HuangandGitHub 47fee8cd64 Fix typo in hashFiles.ts. (#1672)
* Fix typo in hashFiles.ts.

* l0

* .
2022-02-09 13:13:51 -05:00
8eacbdc79f Runner config option to disable auto-update. (#1558)
* Runner config option to disable auto-update.

* Update src/Runner.Listener/Configuration/ConfigurationManager.cs

Co-authored-by: Thomas Boop <[email protected]>

* Update src/Runner.Listener/Configuration/ConfigurationManager.cs

Co-authored-by: Thomas Boop <[email protected]>

* Update src/Runner.Listener/Configuration/ConfigurationManager.cs

Co-authored-by: Thomas Boop <[email protected]>

* Update src/Runner.Listener/Configuration/ConfigurationManager.cs

Co-authored-by: Thomas Boop <[email protected]>

* feedback.

Co-authored-by: Thomas Boop <[email protected]>
2022-01-26 13:23:24 -05:00
Tingluo HuangandGitHub ac31fd10b2 Introduce GITHUB_ACTIONS_RUNNER_TLS_NO_VERIFY=1 to skip SSL cert verification for the runner. (#1616) 2022-01-19 10:31:17 -05:00
Tingluo HuangandGitHub 715bb7cca8 Fix breaking change in dotnet 6 around globalization-invariant. (#1609) 2022-01-14 17:09:06 +00:00
Tingluo HuangandGitHub 7cb198a554 Generate refname for all build/pull container step. (#1601) 2022-01-11 10:15:44 -05:00
Tingluo HuangandGitHub 7616e9b7aa Use trimmed packages to speedup runner updates (#1568)
* consume trimmed packages.

* .

* .

* .

* .
2022-01-10 21:24:55 -05:00
Tingluo HuangandGitHub 3b8475de3e Skip adding line to console line queue if the queue is backed up. (#1592)
* Skip adding line to console line queue if the queue is backed up.

* .
2022-01-07 14:28:21 -05:00
Tingluo HuangandGitHub f2e210e5f3 Add trace to help debug IPC message corruption in runner. (#1587)
* Add trace to help debug IPC message corruption in runner.

* .
2022-01-05 13:42:20 -05:00
Tingluo HuangandGitHub fa32fcf2a1 Use checkout@v2 in workflows (#1588)
* Use checkout@v2 in workflows

* .
2022-01-05 11:40:26 -05:00
Tingluo HuangandGitHub 46da23edb1 Allow script to exit early as soon as runner process exits. (#1580) 2022-01-04 19:02:45 -05:00
Tingluo HuangandGitHub 9bfbc48f45 Prepare runner release 2.286.0. (#1574) 2021-12-21 10:50:14 -05:00
Tingluo HuangandGitHub ead1826afb Update codeql.yml 2021-12-21 10:32:55 -05:00
Tingluo HuangandGitHub d0ab54ce45 Refactor SelfUpdater adding L0 tests. (#1564)
* Refactor SelfUpdater with L0 tests.

* .

* .
2021-12-20 00:37:14 -05:00
Tingluo HuangandGitHub 3e65909b81 Produce trimmed down runner packages. (#1556)
* Produce trimmed down runner packages.

* feedback.

* rename.
2021-12-15 22:05:58 -05:00
Tingluo HuangandGitHub 3ec20e989d Update dependency check for dotnet 6. (#1551) 2021-12-15 12:16:11 -05:00
Tingluo HuangandGitHub b1ecffd707 Add masks for multiline secrets from ::add-mask:: (#1521)
* Add mask for multiline secrets.

* .
2021-12-01 09:53:13 -05:00
Tingluo HuangandGitHub 801a02ec89 Bump runtime to dotnet 6 (#1471)
* bump runtime to dotnet 6
2021-11-30 22:00:15 -05:00
Tingluo HuangandGitHub 5b8ff174c6 Add telemetry around runner update process. (#1497)
* Add telemetry around runner update process.

* .

* .

* .
2021-11-22 18:27:57 -05:00
Tingluo HuangandGitHub e3e977fd84 Support node.js 16 and bump node.js 12 version. (#1439)
* Support node.js 16 and bump node.js 12 version.

* L0
2021-11-18 15:25:33 -05:00
Tingluo HuangandGitHub 23a693aa2c Update README.md 2021-11-09 14:19:46 -05:00
Tingluo HuangandGitHub eb36db8ff9 Try to delete portable-net45+win8 from all projects (#1470)
* Update Runner.Common.csproj

* Update Runner.Listener.csproj

* Update Runner.PluginHost.csproj

* Update Runner.Plugins.csproj

* Update Runner.Sdk.csproj

* Update Runner.Worker.csproj

* Update Sdk.csproj

* Update Test.csproj
2021-11-09 10:53:53 -05:00
55a861f089 Expose GITHUB_REF_* as environment variable (#1314)
* Keep env vars alphabetical

* ref_* context.

Co-authored-by: Ferenc Hammerl <[email protected]>
2021-10-18 22:22:34 -04:00
5afb52b272 Update the comment about the --once in Constants.cs (#1360)
* Update Constants.cs

* feedback.

* Update src/Runner.Listener/Runner.cs

Co-authored-by: Thomas Boop <[email protected]>

Co-authored-by: Thomas Boop <[email protected]>
2021-09-21 21:31:48 +00:00
Tingluo HuangandGitHub 7ffd9af644 Support --ephemeral flag (#660)
This optional flag will configure the runner to only take one job, and let the service un-configure the runner after that job finishes.
2021-09-13 11:28:09 -04:00
Tingluo HuangandGitHub 72fa2a8a0d Wait for job record updated before running steps. (#1320)
* Wait for job record updated before running steps.

* only oidc
2021-09-09 21:55:15 -04:00
Tingluo HuangandGitHub 1a62162708 Prepare 2.281.1 runner release. (#1305) 2021-09-01 16:15:08 -04:00
Tingluo HuangandGitHub 1fc159e0df Temporary fix for macOS runner upgrade crash loop. (#1304) 2021-09-01 15:39:17 -04:00
Tingluo HuangandGitHub 62d568674c Add ACTIONS_ID_TOKEN_REQUEST_URL/Token to script as well. (#1287) 2021-08-26 13:29:02 -04:00
Tingluo HuangandGitHub 05b84297b7 Add extra env for the Token log-in action is going to use to request ID_TOKEN. (#1270) 2021-08-23 14:50:35 -04:00
Tingluo HuangandGitHub aab4aca8f7 Finish job when worker crashed with IOException. (#1239) 2021-08-03 16:21:39 -04:00
Tingluo HuangandGitHub 110eb3a5de Add generateIdTokenUrl to env vars for actions. (#1234) 2021-08-02 14:47:50 -07:00
Tingluo HuangandGitHub bd1341e580 Print out resolved SHA for each action. (#1233) 2021-08-02 15:59:09 -04:00
Tingluo HuangandGitHub 29c09c5bf8 ignore this test 2021-07-08 17:22:46 -04:00
Tingluo HuangandGitHub 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
Tingluo HuangandGitHub ee34f4842e Delete runner-basic-e2e-test-case.yml 2021-06-21 13:46:21 -04:00
Tingluo HuangandGitHub 713344016d Delete e2etest.yml 2021-06-21 13:21:24 -04:00
Tingluo HuangandGitHub 40d6eb3da3 turn-off e2e test 2021-06-19 02:12:21 -04:00
Tingluo HuangandGitHub 4d5d5b74ee Ignore changes from BuildConstants.cs (#1132) 2021-06-03 16:19:26 -04:00
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 <[email protected]>

Co-authored-by: Ross Brodbeck <[email protected]>
2021-04-23 11:10:22 -04:00
088caf5337 Update support platform doc for Apple M1 issue (#1057)
* apple M1 issue

* Update docs/start/envosx.md

Co-authored-by: Ross Brodbeck <[email protected]>

* Update docs/start/envosx.md

Co-authored-by: Ross Brodbeck <[email protected]>

Co-authored-by: Ross Brodbeck <[email protected]>
2021-04-23 09:47:30 -04:00
Tingluo HuangandGitHub 57d694197f Not create runner release as pre-release. (#1054) 2021-04-21 17:08:44 -04:00
Tingluo HuangandGitHub 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
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
Tingluo HuangandGitHub 09760c0d69 Trace process error in RunnerService.js (#955) 2021-02-01 10:03:15 -05:00
Tingluo HuangandGitHub 8f14466cbb Add http POST to --check. (#949)
* Add http POST to --check.

* feedback.
2021-01-30 22:35:45 -05:00
TingluoHuang 0953ffa62b Prepare 2.276.0 runner release. 2021-01-14 13:55:13 -05:00
Tingluo HuangandGitHub 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 HuangandGitHub 3b34e203dc always use Fips Cryptography (#896) 2021-01-12 11:05:01 -05:00
Tingluo HuangandGitHub e808190dd2 add warning when running out of disk. (#873) 2021-01-05 21:49:11 -05:00
Tingluo HuangandGitHub a94a19bb36 add e2e workflow badge 2020-12-25 22:39:25 -05:00
Tingluo HuangandGitHub a9be5f6557 Update job name in logs. 2020-12-25 22:17:24 -05:00
Tingluo HuangandGitHub 3600f20cd3 e2e test workflow (#885) 2020-12-25 21:54:46 -05:00
Tingluo HuangandGitHub 81a00fff3e config runner via PAT. (#874) 2020-12-25 21:54:23 -05:00
Tingluo HuangandGitHub 56529a1c2f fix compat issue in timeline record state. (#861) 2020-12-14 15:43:00 -05:00
Tingluo HuangandGitHub 9ceb3d481a unset GTIHUB_ACTION_REPOSITORY and GITHUB_ACTION_REF for non-repo based actions. (#804) 2020-12-11 11:04:07 -05:00