Commit graph

125 commits

Author SHA1 Message Date
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
Rhys Arkins
d4a00b7a4d fix(github): use token not Bearer 2019-05-27 08:03:43 +02:00
Rhys Arkins
ec301b1c48
refactor(bitbucket-server): use util/got (#3815) 2019-05-26 20:51:27 +02:00
Rhys Arkins
aa38e6af4f
feat: host stats (#3812)
Collects latency stats for hosts and dumps them at the end of each run.
2019-05-26 09:33:09 +02:00
Rhys Arkins
84cd62349f chore: downgrade got debugging to trace
# Conflicts:
#	lib/util/got/host-rules.js
2019-05-25 20:12:40 +02:00
Rhys Arkins
490e0689a7 refactor(host-rules): cleaner got processing 2019-05-25 20:09:16 +02:00
Rhys Arkins
11c77d07f6 fix(host-rules): massage timeout properly 2019-05-25 19:57:25 +02:00
Rhys Arkins
06cb50cf10 fix: Revert "fix: Revert "feat(host-rules): configurable timeout""
This reverts commit e3937fa89a.
2019-05-25 19:48:05 +02:00
Rhys Arkins
e3937fa89a fix: Revert "feat(host-rules): configurable timeout"
This reverts commit c9bfccfd9c.
2019-05-25 19:33:13 +02:00
Rhys Arkins
c9bfccfd9c feat(host-rules): configurable timeout
Closes #3640
2019-05-25 17:36:46 +02:00
Rhys Arkins
bc076c37a0 feat: convert token to bearer auth automatically 2019-05-25 17:17:22 +02:00