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
Sergei Zharinov
1392955a04
refactor: Identify tests relying on single snapshots ( #11150 )
...
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2021-08-07 23:43:34 +00:00
Sergei Zharinov
030bd00212
refactor: Fair coverage for docker exec utils ( #10749 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-07-07 14:25:51 +00: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
jose-ws
dd462359b4
feat(proxy): lowercase proxy env ( #10025 )
2021-05-19 13:37:27 +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
Rhys Arkins
1edcf5fc15
fix: Revert "feat(proxy): proxy environment variables available in lowercase for child processes. ( #9978 )"
...
This reverts commit 2d9734c3da
.
2021-05-14 19:37:02 +02:00
jose-ws
2d9734c3da
feat(proxy): proxy environment variables available in lowercase for child processes. ( #9978 )
2021-05-14 17:27:02 +02:00
Sergei Zharinov
ce51f05cef
feat(test): Detect test utils callers and simplify helpers ( #9707 )
2021-04-26 16:15:03 +02:00
Rhys Arkins
8af905e8f5
feat: split trustLevel into separate options ( #9388 )
...
Removes trustLevel and replaces it with 3 other options instead. No longer necessary to set anything additional is configuring `allowedPostUpgradeCommands`
BREAKING CHANGE: `trustLevel` is no longer supported and instead broken into `allowCustomCrateRegistries` , `allowScripts` , and `exposeAllEnv`.
2021-04-22 08:47:58 +02:00
Sergei Zharinov
16c080fadc
refactor(util): Fix unbound methods usage ( #9626 )
2021-04-19 13:51:02 +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
Michael Kriese
40a59cc9e0
feat: use short renovate image names ( #9133 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-03-15 13:23:38 +00:00
Michael Kriese
41fb5b1602
fix: pass docker tls env to childs ( #9087 )
2021-03-11 17:38:54 +01:00
Rhys Arkins
3357e6333d
refactor: Object.assign -> object spread ( #9076 )
2021-03-11 08:03:37 +01: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
beaf834ba3
fix: warn for docker container remove error
2021-03-01 10:18:59 +01:00
Rhys Arkins
80fd1fe0d6
refactor: move customEnvVariables to admin config
2021-02-07 22:07:16 +01:00
Rhys Arkins
4e1271b702
fix(config): move trustLevel to admin config ( #8555 )
2021-02-05 12:30:01 +01:00
Rhys Arkins
4e2c33f10e
feat: admin config init ( #8546 )
2021-02-05 09:20:47 +01:00
Rhys Arkins
df2a31c7f5
fix: remove unused binarySource=auto ( #8461 )
2021-02-04 12:14:34 +01:00
Rhys Arkins
62c5fa9396
logs: improve binarySource=docker constraint logging
2021-02-03 22:05:09 +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
d56ab63989
fix: pass versioning for docker getPkgReleases ( #8261 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-01-14 12:26:49 +00:00
Rhys Arkins
00a08225b9
refactor: use ls-lint ( #7956 )
2020-12-11 13:29:43 +01:00
renovate[bot]
6c414e7736
chore(deps): update dependency eslint-config-prettier to v7 ( #7940 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2020-12-11 09:35:56 +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
9837ff876a
fix(pip_setup): extend timeout from 5s to 30s
2020-08-11 09:57:15 +02:00
renovate[bot]
ccf286240e
chore(deps): update linters (major) ( #6769 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Jamie Magee <JamieMagee@users.noreply.github.com>
2020-08-10 16:18:08 +02:00
Jamie Magee
456245aabe
chore(eslint): enable typescript 3.7 rules ( #6765 )
2020-07-18 08:42:32 +02:00
Rhys Arkins
09186488ac
logs: log depName and scheme when failling to satisfy a constraint
2020-07-05 08:22:32 +02:00
Rhys Arkins
735f6a595e
refactor: util/exec use getPkgReleases
2020-06-19 10:26:07 +02:00
Michael Kriese
93e7209428
logs: fix typo ( #6409 )
2020-06-02 14:38:17 +02:00
Rhys Arkins
989caae2ff
chore: fix docker warn message
2020-06-02 12:29:33 +02:00
Michael Kriese
342bfd42b2
chore(internal): fix log message typo ( #6317 )
2020-05-24 15:48:16 +02:00
Jamie Magee
53ce3cf4d6
chore(jest): add eslint jest checks ( #5986 )
2020-05-18 14:33:44 +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
Rhys Arkins
d7653707c3
fix: truly don’t warn if can’t connect to the Docker deamon
...
Closes #6094
2020-04-30 20:57:28 +02:00
Rhys Arkins
ed40e6e3dc
fix: don’t warn if can’t connect to the Docker deamon
...
Closes #6094
2020-04-30 17:18:56 +02:00
Rhys Arkins
4f79d794bf
chore: fix lint
2020-04-29 17:27:36 +02:00
Rhys Arkins
bb1ae6b7c1
logs: log exec docker constraint
2020-04-29 17:02:36 +02:00
Rhys Arkins
f97b194515
fix: gracefully catch and handle out of memory
2020-04-16 18:08:53 +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
Rhys Arkins
d927689dd5
fix: removeDanglingContainers
2020-04-09 23:48:51 +02:00
Rhys Arkins
126bae6921
fix: removeDockerContainer
2020-04-09 23:34:47 +02:00
Jamie Magee
d4f6aa4bc5
fix: add missing await statements ( #5918 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2020-04-09 12:47:48 +02:00
Michael Kriese
20e18b6437
feat(internal): generate dynamic manager imports ( #5818 )
2020-04-06 19:38:20 +02:00
Rhys Arkins
f9c8cb46e2
refactor(datasource): getPkgReleases -> getReleases ( #5867 )
2020-04-04 08:53:52 +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
81b4f7740d
fix: more xargs typos
2020-03-09 22:18:53 +01:00
Rhys Arkins
b68f5fd7cc
fix(exec): — typo
2020-03-09 22:01:23 +01:00
Rhys Arkins
20b46ae454
fix: better xargs and tests
2020-03-09 21:30:48 +01:00
Rhys Arkins
d1203bdc41
fix(exec): xargs --no-run-if-empty
2020-03-09 20:47:27 +01:00
Rhys Arkins
3725417f43
logs: downgrade docker warn to info
2020-03-09 19:54:44 +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
364163e7a0
fix: move tests into lib ( #5635 )
2020-03-05 21:57:24 +01:00
Rhys Arkins
57cbe3a42c
chore: lgtm ignore
2020-02-24 20:23:46 +01:00
Sergio Zharinov
969701ad6b
feat(util): Fetch docker tag according to version constraints ( #5497 )
2020-02-19 19:02:11 +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
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
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
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