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
Jan Pazdziora
97883c8cd5
Fix spelling of RHEL and CentOS. ( #436 )
2020-04-19 16:53:06 -04:00
Tingluo Huang
c5fa9fb062
Print node version in debug instead of output. ( #433 )
2020-04-17 11:53:51 -04:00
David Kale
c126b52fe5
ArgumentNullException: Value cannot be null, for anonymous volume mounts ( #426 )
...
* Dont check if path starts with null
* Check SourceVolumePath not MountVolume obj
* Prefer string.IsNullOrEmpty
2020-04-14 14:36:39 -04:00
Lokesh Gopu
117ec1fff9
Fix optional parameter for unattended ( #425 )
2020-04-14 12:14:26 -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
2bd0b1af0e
launch middle man process on macOS to workaround SIP limit ( #416 )
2020-04-09 16:13:06 -04:00
Tingluo Huang
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.
2020-04-08 11:32:56 -04:00
Tingluo Huang
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
dependabot[bot]
83b5742278
Bump acorn from 6.4.0 to 6.4.1 in /src/Misc/expressionFunc/hashFiles ( #371 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-04-07 13:49:48 -04:00
eric sciple
ba69b5bc93
Fix runner config IsHostedServer detection for GHES alpha ( #401 )
2020-04-01 17:29:57 -04:00
Tingluo Huang
be325f26a6
support config with GHES url. ( #393 )
2020-03-30 14:48:02 -04:00
Josh Soref
dec260920f
spelling: deprecate ( #394 )
2020-03-30 07:45:06 -04:00
eric sciple
b0a1294ef5
Fix API URL for GHES ( #390 )
2020-03-27 00:16:02 -04:00
Tingluo Huang
3d70ef2da1
update workflow schema file. ( #388 )
2020-03-26 23:01:17 -04:00
eric sciple
e23d68f6e2
add github.url and github.api_url for ghes alpha ( #386 )
2020-03-25 15:11:52 -04:00
eric sciple
dff1024cd3
cache actions on premises ( #381 )
2020-03-24 21:51:37 -04:00
TingluoHuang
9fc0686dc2
prepare 2.168.0 runner release.
2020-03-24 16:25:11 -04:00
David Kale
ab001a7004
Add expanded volumes strings to container mounts ( #384 )
2020-03-23 18:53:01 -04:00
Tingluo Huang
178a618e01
expose GITHUB_REPOSITORY_OWNER. ( #378 )
2020-03-20 13:02:07 -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
c8890d0f3f
Expose job name as $GITHUB_JOB ( #366 )
2020-03-12 20:47:25 -04:00
Konrad Pabjan
53fb6297cb
Change problem matchers output to debug ( #363 )
2020-03-11 21:52:46 -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
Josh Gross
94e7560ccd
Add event type to credential call ( #352 )
...
* Add event type to credential call
* Move events to contants
2020-03-02 11:22:45 -05:00
Lokesh Gopu
d80ab095a5
Update runnerversion ( #348 )
...
* Update runnerversion
* Update runnerversion
2020-02-28 13:28:33 -05:00
Josh Gross
2efd6f70e2
Use the Uri Scheme in the register runner url ( #345 )
2020-02-25 18:30:33 -05:00
Lokesh Gopu
a6f144b014
Update Runner Register GitHub API URL to Support Org-level Runner ( #339 )
...
* Update GitHub API URL
* pr comments
* Updated GitHub API URL
2020-02-24 09:15:15 -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
Thomas Boop
68de3a94be
Remove Temporary Build Step ( #316 )
...
* Remove Temporary Build Step
* Updated dev.sh to set path for find
2020-02-04 12:59:49 -05:00
Tingluo Huang
a0a590fb48
setup/evaluate env context after setup steps context. ( #309 )
2020-01-30 22:14:14 -05:00
TingluoHuang
a3c2479a29
prepare 2.165.0 runner release.
2020-01-27 22:14:06 -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
Tingluo Huang
eb78d19b17
Set both http_proxy and HTTP_PROXY env for runner/worker processes. ( #298 )
2020-01-27 11:04:35 -05:00
David Kale
17970ad1f9
Set http_proxy and related env vars for containers ( #304 )
...
* WIP add in basic passthrough for proxy env vars
* Add http_proxy vars after container env is created
2020-01-27 10:56:18 -05:00