Tingluo Huang
2e800f857e
Skip search $PATH on command with fully qualified path ( #526 )
2020-06-11 13:52:42 -04:00
eric sciple
5815819f24
Resolve action download info ( #515 )
2020-06-09 08:53:28 -04:00
Nick Fields
f994ae0542
Reduce input validation warnings ( #506 )
...
* Only raise a single warning for unexpected inputs
* Update invalid input test to raise single warning
2020-06-05 23:09:14 -04:00
Tingluo Huang
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
eric sciple
416a7ac4b8
prepare to switch to service resolves archive download info ( #508 )
2020-06-02 17:21:50 -04:00
eric sciple
4fc87ddfc6
fix problem matcher for GHES ( #488 )
2020-05-19 16:15:03 -04:00
Tingluo Huang
cd8e4ddba1
Validate inputs only for repo action, no warning for small delay. ( #476 )
...
* validate inputs only for repo action, no warning for small delay.
* l0
2020-05-12 16:09:13 -04:00
David Kale
462b5117c8
docker build using -f instead of implied default ( #471 )
...
* pass -f to docker build
* Wrong place
* build path
* Also pass docker context path
* Tidy up format
* PR Feedback
2020-05-11 13:57:31 -04:00
Tingluo Huang
6922f3cb86
sps/token migration tweak, ActionResult casing. ( #462 )
2020-05-11 12:36:35 -04:00
PJ Quirk
01c9a8a8af
Remove community actions munging and add dotcom fallback for downloading actions ( #469 )
...
* Fallback to dotcom rather than munged community actions
* Encapsulate the link and the auth details
* Rename the method to be clearer
* Remove BOM
2020-05-11 12:23:02 -04:00
PJ Quirk
f798f5606b
Use the API_URL and munge action URLs for GHES ( #437 )
...
* First pass at logic for GHES, not all correct
* Need to mock out file downloading
* Allowed for mocking of HTTP responses
* Added test for builtin GHES action download
* More tests
* Don't retry on action 404
* Remove commented out code
* Add a using statement back, because Windows
* Make windows happy again
* Another windows fix
* Always delete the cache since it isn't fully implemented
* Use RunnerService base class
* Add examples, update URL path
* Remove forceDotCom
* Fix a bug
* Remove a test that's no longer relevant
* PR feedback
* Add missing return
* More trace info
* Use the new agreed-upon format
* Use the auth token since we're hitting GHES directly
* Fixing tests on windows
* Fixed one more test
2020-04-23 17:02:13 -04:00
Tingluo Huang
3f7a01af93
add secret masker for trimming double qoutes. ( #440 )
2020-04-21 22:07:55 -04:00
Tingluo Huang
d5c54f9819
Raise warning when action input does not match action.yml. ( #429 )
2020-04-21 19:42:53 -04:00
Tingluo Huang
d5c7097d2c
support 'pre' execution for actions. ( #389 )
2020-04-13 21:46:30 -04:00
Lokesh Gopu
f9baec4b32
Added support for custom labels ( #414 )
...
* Added support for custom labels
* ignore case
* Added interactive config for labels
* Fixing L0s
* pr comments
2020-04-13 21:33:13 -04:00
Tingluo Huang
baa6ded3bc
Better Kusto Tracing for self-hosted runner. ( #405 )
2020-04-09 14:33:16 -04:00
Tingluo Huang
be325f26a6
support config with GHES url. ( #393 )
2020-03-30 14:48:02 -04:00
eric sciple
dff1024cd3
cache actions on premises ( #381 )
2020-03-24 21:51:37 -04:00
eric sciple
dfaf6e06ee
switch hashFiles to extension function ( #362 )
2020-03-18 12:08:51 -04:00
Tingluo Huang
b0a71481f0
support defaults. ( #369 )
2020-03-17 23:40:37 -04:00
Tingluo Huang
88875ca1b0
set steps.<id>.outcome and steps.<id>.conclusion. ( #372 )
2020-03-17 21:18:42 -04:00
Tingluo Huang
a5eb8cb5c4
set CI=true when launch process in actions runner. ( #374 )
2020-03-17 19:58:12 -04:00
Tingluo Huang
2d6042421f
add support for job outputs. ( #365 )
...
* add support for job outputs.
2020-03-14 17:54:58 -04:00
Tingluo Huang
f9b5d626c5
load and print machine setup info from .setup_info ( #364 )
2020-03-11 10:36:56 -04:00
Tingluo Huang
6bec1e3bb8
Switch to use token service instead of SPS for exchanging oauth token. ( #325 )
...
* Gracefully switch the runner to use Token Service instead of SPS.
* PR feedback.
* feedback2
* report error.
2020-03-04 21:40:58 -05:00
eric sciple
0cba42590f
preserve workflow file/line/column for better error messages ( #356 )
2020-03-03 22:38:19 -05:00
eric sciple
5294a3ee06
commands translate file path from container action ( #331 )
2020-02-12 21:07:43 -05:00
Tingluo Huang
745b90a8b2
Revert "Update Base64 Encoders to deal with suffixes ( #284 )" ( #330 )
...
This reverts commit c45aebc9ab .
2020-02-12 14:26:30 -05:00
Tingluo Huang
0db908da8d
Use authenticate endpoint for testing runner connection. ( #311 )
...
* use authenticate endpoint for testing runner connection.
* PR feedback.
2020-02-05 16:56:38 -05:00
Tingluo Huang
a0a590fb48
setup/evaluate env context after setup steps context. ( #309 )
2020-01-30 22:14:14 -05:00
Thomas Boop
c45aebc9ab
Update Base64 Encoders to deal with suffixes ( #284 )
...
* Update Base64 Encoders to deal with suffixes
* Set UriDataEscape to public for unit tests
2020-01-27 21:38:31 -05:00
Tingluo Huang
0a6bac355d
include step.env as part of env context. ( #300 )
2020-01-27 15:54:28 -05:00
Alberto Gimeno
2e0e8eb822
Change prompt message when removing a runner ( #303 )
...
* Change prompt message to be consistent with the UI/API
* Update test
2020-01-26 18:40:06 -05:00
Alberto Gimeno
c59c0e2ded
Support action.yaml file ( #288 )
...
* Support action.yaml file
* L0 tests.
* l0
Co-authored-by: Tingluo Huang <tingluohuang@github.com >
2020-01-20 12:22:59 -05:00
Tingluo Huang
7a382facb3
default post-job action's condition to always(). ( #293 )
2020-01-20 09:28:29 -05:00
eric sciple
02639a2092
translate problem matcher file to host path ( #272 )
2020-01-13 15:24:57 -05:00
eric sciple
a9c58d7398
Handle escaped '%' in commands data section ( #200 )
2020-01-12 03:30:26 -05:00
Tingluo Huang
abc65839f3
detect source file path without using env. ( #257 )
2020-01-06 12:56:15 -05:00
Joseph Petersen
ac1a076a3b
Treat warnings as errors ( #249 )
...
* Treat warnings as errors
* fix warnings
2019-12-21 09:51:41 -05:00
Tingluo Huang
80b6038cdc
consume dotnet core 3.1 in runner. ( #213 )
2019-12-18 15:09:03 -05:00
Tingluo Huang
91b7e7a07a
delete more unused code. ( #230 )
...
* delete more unused code.
* pr feedback.
2019-12-17 16:47:14 -05:00
Tingluo Huang
d0a4a41a63
delete un-used code. ( #218 )
2019-12-16 17:05:26 -05:00
Mike Coutermarsh
d778f13dee
Remove runner flow: Change from PAT to "deletion token" in prompt ( #225 )
...
* Updating prompt deletion token
Currently if you leave the token off the command, we're showing "Enter your personal access token:"
Which won't work. This updates prompt to "deletion token"
* Call correct function in test
* Fix command text in test
2019-12-15 21:38:42 -05:00
eric sciple
ab87b39f53
better repo matching for issue file path ( #208 )
2019-12-11 14:21:26 -05:00
Julio Barba
a3c6a8c201
Introduce name config argument ( #217 )
2019-12-11 13:26:06 -05:00
Julio Barba
275ab753a1
Runner cleanup - continuation ( #209 )
...
* Agent/AgentCredential -> Runner/RunnerCredential
* Test trait rename: Agent -> Runner
* Enable remaining RunnerL0 tests
* Remove job message PII variable masking code
* Remove unused Agent.ToolsDirectory variable
* Misc test Agent -> Runner renaming
* Some more misc cleaning
2019-12-09 17:54:41 -05:00
Tingluo Huang
3ed80b7c10
Fix L0 tests, add/update runner release yaml. ( #214 )
2019-12-09 16:11:00 -05:00
Tingluo Huang
d81a7656a4
Add Proxy Support for self-hosted runner. ( #206 )
2019-12-09 15:15:54 -05:00
Julio Barba
cd2cec8282
Another runner code cleanup round ( #197 )
...
* Remove remaining non-SDK references of capabilities/demands
* Remove unused Runner.Common constants
* Remove more variables
* Clean up RU link, and named-pipe support
* Remove NotificationSocketAddress
* Re-add legacy OnPremises JobDispatcher code (commented out)
* More misc cleanup
2019-12-04 10:18:37 -05:00
Julio Barba
d93fb70a3e
Fix PrepareActions_DownloadActionFromGraph test ( #205 )
2019-12-02 16:03:42 -05:00