Commit Graph
100 Commits
Author SHA1 Message Date
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
Tingluo HuangandGitHub 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
TingluoHuang 38f816c2ae prepare release 2.272.0 runner. 2020-07-29 15:31:45 -04:00
Tingluo HuangandGitHub e7b0844772 Add manual trigger 2020-07-23 00:34:36 -04:00
TingluoHuang 2709cbc0ea rename master to main. 2020-07-14 13:37:20 -04:00
TingluoHuang 7cef9a27ca release 2.267.0 runner. 2020-06-23 14:05:28 -04:00
Tingluo HuangandGitHub df7e16954e print runner and machine name to log. (#539) 2020-06-23 13:57:37 -04:00
Tingluo HuangandGitHub e728b8594d fix race condition. (#538) 2020-06-11 16:17:24 -04:00
Tingluo HuangandGitHub de4490d06d Restore SELinux context on service file when SELinux is enabled (#525) 2020-06-11 15:40:09 -04:00
Tingluo HuangandGitHub 2e800f857e Skip search $PATH on command with fully qualified path (#526) 2020-06-11 13:52:42 -04:00
Tingluo HuangandGitHub 312c7668a8 Fix DataContract with Token service (#532) 2020-06-11 12:11:35 -04:00
Tingluo HuangandGitHub eaf39bb058 add libicu66 for Ubuntu 20.04 (#535) 2020-06-11 12:11:13 -04:00
Tingluo HuangandGitHub 3c5aef791c Fix null ref exception in SecretMasker caused by hashfiles timeout. (#516) 2020-06-05 23:02:10 -04:00
Tingluo HuangandGitHub c4626d0c3a Remove SPS/Token migration code. Remove GHES url manipulate code. (#513)
* Remove SPS/Token migration code. Remove GHES url manipulate code.

* feedback.
2020-06-03 23:24:53 -04:00
TingluoHuang 11435857e4 prepare 2.263.0 runner release.
Runner CD / build (./dev.sh, ubuntu-latest, linux-arm) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-arm64) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-x64) (push) Has been cancelled
Runner CD / release (push) Has been cancelled
Runner CD / check (push) Has been cancelled
Runner CD / build (./dev, windows-latest, win-x64) (push) Has been cancelled
Runner CD / build (./dev.sh, macOS-latest, osx-x64) (push) Has been cancelled
Code Scanning - Action / CodeQL-Build (push) Has been cancelled
2020-05-21 15:49:10 -04:00
Tingluo HuangandGitHub 6f260012a3 Fix inputs validation warning, fix post step display name, fix worker crash due to error in step.env (#490) 2020-05-21 11:09:50 -04:00
Tingluo HuangandGitHub cd8e4ddba1 Validate inputs only for repo action, no warning for small delay. (#476)
Runner CD / check (push) Has been cancelled
Code Scanning - Action / CodeQL-Build (push) Has been cancelled
Runner CD / build (./dev, windows-latest, win-x64) (push) Has been cancelled
Runner CD / build (./dev.sh, macOS-latest, osx-x64) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-arm) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-arm64) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-x64) (push) Has been cancelled
Runner CD / release (push) Has been cancelled
* validate inputs only for repo action, no warning for small delay.

* l0
2020-05-12 16:09:13 -04:00
Tingluo HuangandGitHub abf59bdcb6 Fix configure as service with runner name has space. (#474) 2020-05-12 16:08:50 -04:00
TingluoHuang 7a65236022 prepare 2.262.0 runner release.
Code Scanning - Action / CodeQL-Build (push) Has been cancelled
Runner CD / check (push) Has been cancelled
Runner CD / build (./dev, windows-latest, win-x64) (push) Has been cancelled
Runner CD / build (./dev.sh, macOS-latest, osx-x64) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-arm) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-arm64) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-x64) (push) Has been cancelled
Runner CD / release (push) Has been cancelled
2020-05-11 15:05:59 -04:00
Tingluo HuangandGitHub 6922f3cb86 sps/token migration tweak, ActionResult casing. (#462) 2020-05-11 12:36:35 -04:00
Tingluo HuangandGitHub 911135e66c add help info for '--labels' (#472) 2020-05-11 12:36:16 -04:00
Tingluo HuangandGitHub 70729fb3c4 Help trace worker crash in Kusto. (#450)
* Help trace worker crash in Kusto.

* more

* feedback.
2020-04-27 23:44:17 -04:00
Tingluo HuangandGitHub 1470a3b6e2 better error when runner removed from service. (#441) 2020-04-27 23:02:00 -04:00
Tingluo HuangandGitHub 3f7a01af93 add secret masker for trimming double qoutes. (#440) 2020-04-21 22:07:55 -04:00
Tingluo HuangandGitHub d5c54f9819 Raise warning when action input does not match action.yml. (#429) 2020-04-21 19:42:53 -04:00
Tingluo HuangandGitHub c5fa9fb062 Print node version in debug instead of output. (#433) 2020-04-17 11:53:51 -04:00
Tingluo HuangandGitHub d5c7097d2c support 'pre' execution for actions. (#389) 2020-04-13 21:46:30 -04:00
Tingluo HuangandGitHub 2bd0b1af0e launch middle man process on macOS to workaround SIP limit (#416) 2020-04-09 16:13:06 -04:00
Tingluo HuangandGitHub baa6ded3bc Better Kusto Tracing for self-hosted runner. (#405) 2020-04-09 14:33:16 -04:00
TingluoHuang 7817e1a976 Prepare 2.169.0 runner release for GHES Alpha.
Runner CD / check (push) Has been cancelled
Runner CD / build (./dev, windows-latest, win-x64) (push) Has been cancelled
Runner CD / build (./dev.sh, macOS-latest, osx-x64) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-arm) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-arm64) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-x64) (push) Has been cancelled
Runner CD / release (push) Has been cancelled
2020-04-08 11:32:56 -04:00
Tingluo HuangandGitHub d90273a068 Raise warning when volume mount root. (#413) 2020-04-08 11:17:54 -04:00
TingluoHuang 2cdde6cb16 fix L0 test. 2020-04-07 14:04:37 -04:00
TingluoHuang 1f52dfa636 bump dev-dependency version. 2020-04-07 14:00:37 -04:00
Tingluo HuangandGitHub 0e8777ebda ADR for wrapper action (#361)
* wrapper action adr.

* rename

* updates.

* Update 0361-wrapper-action.md
2020-03-31 10:11:02 -04:00
Tingluo HuangandGitHub be325f26a6 support config with GHES url. (#393) 2020-03-30 14:48:02 -04:00
Tingluo HuangandGitHub 3d70ef2da1 update workflow schema file. (#388) 2020-03-26 23:01:17 -04:00
TingluoHuang 9fc0686dc2 prepare 2.168.0 runner release.
Runner CD / check (push) Has been cancelled
Runner CD / build (./dev, windows-latest, win-x64) (push) Has been cancelled
Runner CD / build (./dev.sh, macOS-latest, osx-x64) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-arm) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-arm64) (push) Has been cancelled
Runner CD / build (./dev.sh, ubuntu-latest, linux-x64) (push) Has been cancelled
Runner CD / release (push) Has been cancelled
2020-03-24 16:25:11 -04:00
Tingluo HuangandGitHub 178a618e01 expose GITHUB_REPOSITORY_OWNER. (#378) 2020-03-20 13:02:07 -04:00