Commit Graph

332 Commits

Author SHA1 Message Date
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