Commit Graph

2035 Commits

Author SHA1 Message Date
Sourav Das bdaa7b8e49 feat(constants): Host Types (#5171) 2020-02-06 12:15:54 +00:00
Michael Kriese 2ffad1363e chore(eslint): stricter settings (#5375) 2020-02-05 18:17:20 +00:00
Michael Kriese 8719f70dea chore(eslint): simplify / update settings (#5296) 2020-02-04 10:37:00 +01:00
Sergio Zharinov aa49a21e54 fix(exec): Whitelist LC_ALL and LANG (#5239) 2020-01-29 06:29:53 +01:00
Martín Fernández 8da8d7a072 feat: Add DOCKER_HOST to child env (#5222)
Currently the DOCKER_HOST env variable is not passed to the child
environment making it impossible to use a non default docker host.
2020-01-25 19:30:43 +01:00
Sergio Zharinov 6b2ef2822c refactor(exec): Explicit extraEnv defaults and nullable docke… (#5219) 2020-01-24 10:42:09 +01:00
Sergio Zharinov 8b6d280741 feat(exec): Allow for extra docker commands (#5208) 2020-01-22 11:45:21 +01:00
Rhys Arkins c44a82e60b refactor: rename docker exec helper 2020-01-22 11:08:29 +01:00
Sergio Zharinov 60d895bd5c feat(exec): Cache Docker image prefetch info (#5205) 2020-01-22 09:19:29 +01:00
Rhys Arkins a56e0de4c7 feat: move localDir awareness to util/exec (#5207) 2020-01-21 18:04:50 +01:00
Rhys Arkins d2c0b0e727 fix: binarySource docker only if opts set 2020-01-20 22:05:41 +01:00
Sergio Zharinov ef7357d022 fix(exec): Refactor binarySource out to global setting (#5190)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-20 16:50:32 +01:00
Sergio Zharinov ad0708d88d fix(exec): Don't call bash for non-docker commands (#5175) 2020-01-16 22:05:50 +01:00
renovate[bot] 36a37dada8 chore(deps): update dependency prettier to v1.19.1 (#5169)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-01-16 16:21:07 +01:00
Rhys Arkins 57300ead3d feat: centralized exec timing (#5153) 2020-01-15 08:14:44 +01:00
Sergio Zharinov 69dabac278 feat: improved exec wrapper (#5131) 2020-01-14 12:12:03 +01:00
Rhys Arkins 56d94e259f refactor: centralized docker volumes (#5132) 2020-01-12 19:47:39 +01:00
Sourav Das ee153e560e feat: use error constants (#5088) (#5100)
Use defined error constants throughout codebase.
2020-01-12 08:50:11 +01:00
Rhys Arkins 2715603ad3 refactor: centralize dockerUser logic
Closes #5124
2020-01-10 17:38:27 +01:00
Rhys Arkins 1617a193c0 refactor: move util/exec to own folder (#5125)
Also moves related docker and env files
2020-01-10 16:39:15 +01:00
Sergio Zharinov 5fd6361c56 refactor: add env awareness to util/exec (#5095) 2020-01-10 15:18:41 +01:00
Michael Kriese e4164115a2 chore: remove duplicate type definition (#5111) 2020-01-07 10:06:24 +00:00
Sergio Zharinov f1d703272c refactor(docker): Use pre/post commands instead of wrapping (#5103)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-01-07 07:47:12 +00:00
Rhys Arkins f5e76ae073 fix: use re2 for packageRules 2019-12-30 09:12:04 +00:00
Sergio Zharinov 9277da8951 refactor: Introduce centralized docker run execution (#4983)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2019-12-23 15:59:57 +01:00
Rhys Arkins ce266f8004 chore: info not warn for version comparison 2019-12-13 12:47:04 +01:00
Rhys Arkins 28085a8ad5 fix(package-rules): check for version match first 2019-12-03 13:54:44 +01:00
Rhys Arkins 76e8fd18f8 fix(package-rules): handle case of no current version found 2019-11-29 13:59:25 +01:00
Rhys Arkins 8d0aa39920 refactor(eslint): '@typescript-eslint/explicit-function-return-type' improvements 2019-11-24 08:43:24 +01:00
Zach Willard 9d9d7ec84e feat(docker): add insecureRegistry hostRule (#4590) 2019-10-08 09:19:11 +02:00
Jamie Magee 0c538ebf78 feat(emoji): Adds support for configuring emoji types (#4409) 2019-09-25 11:40:16 +02:00
Michael Kriese 49325143bd feat(sanitize): refactor (#4479) 2019-09-12 12:48:31 +02:00
Rhys Arkins 8a4e5ccb12 fix: add try/throw within util/regex (#4453) 2019-09-09 12:21:01 +02:00
Rhys Arkins 95d54baf83 feat: centralized sanitation (#4446)
Adds a sanitize function to host-rules that redacts tokens and passwords from issues and PRs.

Closes #4444
2019-09-07 14:51:00 +02:00
Michael Kriese 79f72f0b5d chore: move clone to utils (#4434) 2019-09-06 06:48:25 +02:00
Michael Kriese b0d1de8e59 fix: optional re2 package (#4367) 2019-08-25 14:29:51 +02:00
Michael Kriese 2b11b661ed feat(config): convert to ts (#4299) 2019-08-23 15:46:31 +02:00
Michael Kriese 4c485b727a feat(utils): convert to ts (#4237) 2019-08-15 08:26:21 +02:00
Rhys Arkins ee101648fa refactor: remove versioning destructuring (#4284) 2019-08-13 22:02:06 +02:00
Michael Kriese fd847da4a8 fix: refactor exec (#4155) 2019-07-23 14:39:15 +02:00
Michael Kriese d97737914e refactor: add js type check (#4098) 2019-07-17 10:14:56 +02:00
Jamie Magee f334c568a5 feat(typescript): convert logger to typescript (#3671) 2019-07-15 11:04:05 +02:00
praveshtora aaa80f8055 fix: Pass PROXY in child Process (#4013) 2019-07-13 08:23:03 +02:00
Tanuel ffbc39680d fix(host-rules): Handle invalid URLs (#4049) 2019-07-11 16:24:45 +02:00
Michael Kriese 5a2eb752e0 fix(got): repoCache was not updated (#3958) 2019-06-24 13:17:02 +03:00
Rhys Arkins 1ccb45601e refactor(package-rules): split logic into separate function and return earlier 2019-06-21 22:04:42 +02:00
Rhys Arkins bc853ad309 fix(package-rules): check compareVersion is a version first
Closes #3952
2019-06-21 21:45:34 +02:00
Rhys Arkins e13a223f18 fix(got): don’t cache streams 2019-06-21 07:59:25 +02:00
Rhys Arkins 9c63ac033d fix(package-rules): check currentValue before isVersion 2019-06-15 08:53:19 +02:00
Rhys Arkins 73f953ca94 refactor(gitlab): use util/got/auth 2019-05-27 09:29:22 +02:00