Rhys Arkins
328de3fc27
refactor: exec types ( #12942 )
2021-12-04 07:12:27 +01:00
Rhys Arkins
508cec1015
refactor: move preCommands out of docker options ( #12938 )
2021-12-03 12:07:32 +01:00
Oleg Krivtsov
6293641326
feat(config): add safeguard timeouts ( #12604 )
...
* Add safeguard timeouts #2804
* Fix unit tests
* Fix unit tests
* Update lib/util/exec/index.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
* Changes after code review
* Fixes after merge
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2021-11-25 11:18:27 +00:00
Maksim
06d8c27043
refactor: global config ( #12743 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2021-11-23 21:10:45 +01:00
Rhys Arkins
04620d71a8
feat: evaluate buildpack constraints in exec ( #12609 )
2021-11-12 08:19:23 +01:00
Rhys Arkins
9150854d75
chore: rename config/admin -> config/global
2021-08-17 07:57:45 +02:00
Rhys Arkins
bf69924b78
refactor: rename config admin functions to global
2021-08-17 07:57:45 +02:00
Sergei Zharinov
28216ede05
fix: Working dir for Docker execution ( #11282 )
2021-08-16 12:20:08 +00:00
Sergei Zharinov
64754e6880
refactor: Split exec function to smaller blocks ( #11093 )
2021-08-12 16:47:33 +02:00
Geraint White
bab9b36db9
Log exec error on debug level ( #10341 )
2021-06-07 15:48:54 +00:00
Sergei Zharinov
1b6ecd87c0
refactor: move binarySource option to admin config ( #10022 )
2021-06-02 06:50:23 +00:00
Rhys Arkins
79592f848a
fix: Revert "refactor: localDir -> cloneDir" ( #10166 )
...
This reverts commit 0b287c763d .
2021-05-26 11:22:16 +00:00
Rhys Arkins
0b287c763d
refactor: localDir -> cloneDir ( #10158 )
2021-05-26 10:30:23 +02:00
Sergei Zharinov
fbbbce608e
chore: Configure fs local dirs via admin config ( #9990 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
2021-05-17 13:21:28 +00:00
Nils Plaschke
63b6cf66ac
feat: introduce dockerChildPrefix option ( #8613 )
...
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2021-04-08 10:10:25 +00:00
Rhys Arkins
948039d52b
refactor: INTERRUPTED -> TEMPORARY_ERROR
2021-03-07 21:40:40 +01:00
Rhys Arkins
1b673c9573
fix: abort branch if child process receives SIGTERM ( #8992 )
2021-03-04 21:27:21 +00:00
Michael Kriese
74d7691bef
refactor: optimize type usage ( #8947 )
2021-03-02 21:44:55 +01:00
Rhys Arkins
126979ff11
fix: remove docker setTimeout ( #8940 )
2021-03-02 13:01:15 +01:00
Rhys Arkins
80fd1fe0d6
refactor: move customEnvVariables to admin config
2021-02-07 22:07:16 +01:00
Rhys Arkins
4e2c33f10e
feat: admin config init ( #8546 )
2021-02-05 09:20:47 +01:00
Rhys Arkins
22245ceff7
tests: fix coverage ( #8340 )
2021-01-19 09:15:31 +00:00
Halil İbrahim Şener
207b177d60
feat: customEnvVariables ( #8321 )
...
Introduces a new option to pass custom environment variables to child processes. So that users can provide/override environment variables to influence executions, e.g. setting MAVEN_OPTS or passing credentials for private registries for the locking process.
2021-01-19 09:11:45 +01:00
Rhys Arkins
5d99ff9862
refactor: convert all path to upath ( #7712 )
2020-11-12 21:46:08 +01:00
Marek Hornak
5475f42518
fix(utils): change default maxBuffer limit to 10MB ( #7209 )
2020-09-10 07:00:40 +02:00
Michael Kriese
0503ad7c7a
feat: add docker image prefix ( #7164 )
...
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com >
2020-09-08 12:59:47 +02:00
Sergio Zharinov
095f2f8240
refactor(util): Fix lint warnings ( #7114 )
2020-08-27 09:11:10 +02:00
Rhys Arkins
9fccd87eeb
refactor: use Date.now() instead of process.hrtime()
2020-05-05 12:05:30 +02:00
Rhys Arkins
53ca91301f
chore: import linting ( #6105 )
2020-05-01 18:03:48 +02:00
renovate[bot]
4f59b62da4
chore(deps): update dependency prettier to v2 ( #5952 )
...
* chore(deps): update dependency prettier to v2
* Run prettier-fix
Co-authored-by: Renovate Bot <bot@renovateapp.com >
Co-authored-by: Jamie Magee <jamie.magee@gmail.com >
2020-04-12 18:09:36 +02:00
Michael Kriese
20e18b6437
feat(internal): generate dynamic manager imports ( #5818 )
2020-04-06 19:38:20 +02:00
acheronfail
e5baeee98f
fix: expose error when not using docker and exec fails ( #5688 )
2020-03-19 08:20:26 +01:00
Jamie Magee
5ce5ef39c1
chore(internal): disallow implicit braces ( #5730 )
2020-03-17 12:15:22 +01:00
Rhys Arkins
3371b95403
feat: clean up dangling docker containers at startup ( #5678 )
2020-03-09 15:56:50 +01:00
Rhys Arkins
98393c0b9b
feat: docker run timeout / cleanup ( #5673 )
...
Closes #5671
2020-03-09 13:33:45 +01:00
Rhys Arkins
036c7727db
logs: more exec logging
2020-03-09 09:16:42 +01:00
Rhys Arkins
0eb616f876
fix: replace subDirectory with cwdFile in util/exec
...
Closes #5436
2020-02-12 17:55:27 +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
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
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