Commit Graph
41 Commits
Author SHA1 Message Date
eric scipleandGitHub 4e7d27a53c remove temporary logic when resolving action download info (#550) 2020-06-15 13:13:47 -04:00
eric scipleandGitHub 5815819f24 Resolve action download info (#515) 2020-06-09 08:53:28 -04:00
Nick FieldsandGitHub 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
eric scipleandGitHub 416a7ac4b8 prepare to switch to service resolves archive download info (#508) 2020-06-02 17:21:50 -04:00
eric scipleandGitHub 4fc87ddfc6 fix problem matcher for GHES (#488) 2020-05-19 16:15:03 -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
David KaleandGitHub 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 HuangandGitHub 6922f3cb86 sps/token migration tweak, ActionResult casing. (#462) 2020-05-11 12:36:35 -04:00
PJ QuirkandGitHub 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 QuirkandGitHub 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 HuangandGitHub d5c54f9819 Raise warning when action input does not match action.yml. (#429) 2020-04-21 19:42:53 -04:00
Tingluo HuangandGitHub d5c7097d2c support 'pre' execution for actions. (#389) 2020-04-13 21:46:30 -04:00
eric scipleandGitHub dff1024cd3 cache actions on premises (#381) 2020-03-24 21:51:37 -04:00
eric scipleandGitHub dfaf6e06ee switch hashFiles to extension function (#362) 2020-03-18 12:08:51 -04:00
Tingluo HuangandGitHub b0a71481f0 support defaults. (#369) 2020-03-17 23:40:37 -04:00
Tingluo HuangandGitHub 88875ca1b0 set steps.<id>.outcome and steps.<id>.conclusion. (#372) 2020-03-17 21:18:42 -04:00
Tingluo HuangandGitHub 2d6042421f add support for job outputs. (#365)
* add support for job outputs.
2020-03-14 17:54:58 -04:00
eric scipleandGitHub 0cba42590f preserve workflow file/line/column for better error messages (#356) 2020-03-03 22:38:19 -05:00
eric scipleandGitHub 5294a3ee06 commands translate file path from container action (#331) 2020-02-12 21:07:43 -05:00
Tingluo HuangandGitHub a0a590fb48 setup/evaluate env context after setup steps context. (#309)
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
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
2020-01-30 22:14:14 -05:00
Tingluo HuangandGitHub 0a6bac355d include step.env as part of env context. (#300) 2020-01-27 15:54:28 -05:00
Alberto GimenoandTingluo Huang c59c0e2ded Support action.yaml file (#288)
* Support action.yaml file

* L0 tests.

* l0

Co-authored-by: Tingluo Huang <[email protected]>
2020-01-20 12:22:59 -05:00
Tingluo HuangandGitHub 7a382facb3 default post-job action's condition to always(). (#293) 2020-01-20 09:28:29 -05:00
eric scipleandGitHub 02639a2092 translate problem matcher file to host path (#272) 2020-01-13 15:24:57 -05:00
eric scipleandGitHub a9c58d7398 Handle escaped '%' in commands data section (#200) 2020-01-12 03:30:26 -05:00
Tingluo HuangandGitHub abc65839f3 detect source file path without using env. (#257) 2020-01-06 12:56:15 -05:00
Joseph PetersenandTingluo Huang ac1a076a3b Treat warnings as errors (#249)
* Treat warnings as errors

* fix warnings
2019-12-21 09:51:41 -05:00
Tingluo HuangandGitHub 91b7e7a07a delete more unused code. (#230)
* delete more unused code.

* pr feedback.
2019-12-17 16:47:14 -05:00
Tingluo HuangandGitHub d0a4a41a63 delete un-used code. (#218) 2019-12-16 17:05:26 -05:00
eric scipleandGitHub ab87b39f53 better repo matching for issue file path (#208) 2019-12-11 14:21:26 -05:00
Julio BarbaandGitHub 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 HuangandGitHub 3ed80b7c10 Fix L0 tests, add/update runner release yaml. (#214) 2019-12-09 16:11:00 -05:00
Tingluo HuangandGitHub d81a7656a4 Add Proxy Support for self-hosted runner. (#206) 2019-12-09 15:15:54 -05:00
Julio BarbaandGitHub d93fb70a3e Fix PrepareActions_DownloadActionFromGraph test (#205) 2019-12-02 16:03:42 -05:00
eric scipleandGitHub 7d505f7f77 problem matcher default severity (#203) 2019-11-22 13:21:46 -05:00
eric scipleandGitHub 8911283cdb fix problem matcher to treat fromPath as a file path (#183) 2019-11-07 11:26:29 -05:00
Eilon LiptonandThomas Boop ec9cb6c68d Fix build warnings in Test project (#178)
The build warnings were of these type (mostly reported by xUnit's Code Analyzers):
- Fixed wrong parameter order in xUnit assertions (can lead to poor error reporting in test failures)
- Unused code was removed
- Correct assertions were used (e.g. Assert.True/.Contains/.EndsWith)
- Public non-test methods on test classes were made private
2019-11-06 08:52:51 -05:00
Tingluo HuangandThomas Boop 5b6f9d3b93 Stop job container after all post actions. (#165)
* stop job container after all post actions.

* c

* c
2019-11-04 13:19:21 -05:00
eric scipleandGitHub 0129e8111f Clear action cache for local runner (#148) 2019-10-28 11:56:12 -04:00
Julio BarbaandThomas Boop 82e9857d4f Implement new echo behavior and command (#139)
* Remove controlling echoing by command

* Add 'echo on' and 'echo off' action commands

* PR feedback and add L0 tests

* Register new command

* Eric's PR feedback

* Tweak logging a bit

* Rename EchoOnActionCommandSuccess -> EchoOnActionCommand

* More PR reaction

* Make warning messages in Action Commands not rely on context from echo commands
2019-10-25 10:38:56 -04:00
Tingluo Huang c8afc84840 GitHub Actions Runner 2019-10-10 00:52:42 -04:00