Michael Kriese
c25b02e856
feat(manager/gomod): dynamic golang install 🎉 ( #19104 )
2022-11-25 18:11:37 +01:00
RahulGautamSingh
7d56162c49
refactor: log exec command before executing ( #19037 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-11-24 08:44:25 +00:00
Michael Kriese
1633759497
feat(manager/nuget): support install mode ( #19049 )
2022-11-23 09:35:38 +00:00
Rhys Arkins
a72f405aad
chore: revert docker exec log for stats
2022-11-17 06:33:34 +01:00
RahulGautamSingh
d869c946d1
refactor: reduce debug metadata ( #18737 )
2022-11-07 11:29:02 +00:00
Jamie Magee
c90cda06e3
feat(nix): support binarySource=install for nix ( #18707 )
2022-11-02 06:18:51 +01:00
Rhys Arkins
ca4025b36b
feat(composer): support binarySource=install for php ( #18656 )
2022-10-29 14:42:00 +00:00
Rhys Arkins
0be74f3ff9
feat: default to binarySource=install ( #18027 )
...
Changes binarySource default value from global to install.
Closes #14531
BREAKING CHANGE: Users of containerbase images (such as official Renovate images) will now have dynamic package manager installs enabled by default.
2022-10-23 06:48:35 +02:00
renovate[bot]
7935a7b8ed
chore(deps): lock file maintenance ( #18082 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-10 21:47:23 -07:00
Rhys Arkins
95339bde33
refactor: use containerbase terminology ( #18023 )
2022-09-28 17:09:28 +02:00
renovate[bot]
582f77371c
chore(deps): update jest monorepo ( #17737 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-09-12 16:58:52 +02:00
Rhys Arkins
7b1c1170a7
fix: log containerbaseDir ( #17509 )
2022-08-30 14:21:12 +02:00
Gabriel-Ladzaretti
21ab4bad63
feat(util/exec): enable process group handling on process termination ( #17447 )
2022-08-28 21:32:23 +03:00
Rhys Arkins
f764f8879c
feat(config): containerbaseDir ( #17414 )
2022-08-25 15:43:06 +00:00
Rhys Arkins
ee6287971d
refactor: use containerbase not buildpack terminology ( #17398 )
2022-08-25 06:59:55 +00:00
Gabriel-Ladzaretti
cb53e18de8
chore(util/exec): remove unneeded renaming related TODOs ( #17399 )
2022-08-25 06:43:13 +00:00
Michael Kriese
60ed6ad40d
feat(versioning): add python versioning for buildpack ( #17147 )
2022-08-12 06:24:56 +00:00
Michael Kriese
f684da8c2f
fix(buildpack): use poetry versioning for python ( #17129 )
...
* fix(buildpack): use poetry versioning for python
* test: fix tests
2022-08-11 08:59:04 +00:00
Yun Lai
1111b322f5
fix(hermit): findUpLocal expects relative cwd, fix incorrect hermit env in nested directory setup ( #17031 )
2022-08-08 06:15:45 +00:00
Rhys Arkins
53f687898e
fix(npm): use node versioning for node ( #17014 )
...
Closes #17013
2022-08-06 06:27:47 +00:00
Michael Kriese
4573bd78e6
feat(manager/npm): lerna buildpack support ( #16991 )
2022-08-05 15:00:34 +00:00
Yun Lai
44059c3e20
fix: join env var lines with os.EOL to fix test failure on different systems ( #16993 )
...
* fix: join env var lines with os.EOL to fix test failure on different systems
* fix: update test data to achieve full test coverage
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-05 12:06:59 +00:00
Michael Kriese
9b3a3f8d11
fix(buildpack): execute preCommads
on install mode ( #16995 )
2022-08-05 12:20:22 +02:00
Yun Lai
87fc22a4ce
fix: fix failed hermit binary source tests due to findUp module acts differently in windows ( #16985 )
...
* fix: fix failed hermit binary source tests due to findUp module acts differently in windows
* fix: set localDir in GlobalConfig in getHermitEnvs test
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
* fix: added two more mockResolvedValueOnce for extra test case and remove mockResolvedValueOnce('')
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-05 09:21:54 +00:00
Yun Lai
f07dcfb03a
feat: add hermit binary source ( #16259 )
2022-08-05 05:17:11 +00:00
Michael Kriese
3b699e9f7e
feat(manager/npm): prepare for buildpack support ( #16979 )
...
* feat(manager/npm): prepare for buildpack support
* chore: fixes
2022-08-04 21:18:43 +02:00
Gabriel-Ladzaretti
257d9a9d8e
fix(core/exec): use nodejs style error messages when throwing ( #16961 )
2022-08-04 14:29:11 +00:00
Michael Kriese
a3d1235032
feat(manager/pipenv): support binarySource=install ( #16828 )
...
* feat(manager/pipenv): support binarySource=install
* docs: update docs
* fix: linting
2022-07-28 17:17:02 +00:00
Michael Kriese
cf7bb3226d
feat(manager/gradle-wrapper): support binarySource=install
( #16830 )
...
* feat(manager/gradle-wrapper): support `binarySource=install`
* docs: update docs
2022-07-28 13:47:56 +00:00
Michael Kriese
8270d5512d
refactor: fix lint issues ( #16779 )
...
* refactor: fix lint issues
* Update lib/renovate.ts
* chore: revert toplevel await for ts
2022-07-26 08:32:12 +00:00
Michael Kriese
6854145528
feat(manager/elixir): support install binary source ( #16710 )
...
* feat(manager/elixir): support install binary source
* test: fix snapshot
2022-07-22 16:35:20 +00:00
Gabriel-Ladzaretti
892595aea8
feat(util/exec): use spawn instead of exec ( #16414 )
...
* refactor(util): use spawn instead of exec
- Use child_process.spawn instead of child_process.exec
* refactor(util): use spawn instead of exec
- Use child_process.spawn instead of child_process.exec
* refactor(util): use spawn instead of exec
- Use child_process.spawn instead of child_process.exec
* refactor(util): use spawn instead of exec
- Use child_process.spawn instead of child_process.exec
* refactor(util): use spawn instead of exec
- init spawn-util
* refactor(util): use spawn instead of exec
- spawn-util
* refactor(util): use spawn instead of exec
- init index-spawn.spec.ts
* refactor(util): use spawn instead of exec
- fixed various tests
* refactor(util): use spawn instead of exec
- fix all artifacts.spec.ts
* refactor(util): use spawn instead of exec
- fix all artifacts.spec.ts
* refactor(util): use spawn instead of exec
- fix npm post update imports
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
* refactor(util): use spawn instead of exec
- revert renaming to minimize PR diff
- destroy stdio when terminating child process
* refactor(util): use spawn instead of exec
- delete and revert dev related changes
* refactor(util): use spawn instead of exec
- fix support for windows
* refactor(util): use spawn instead of exec
- handle SIGSTOP and such
- add test coverage
* refactor(util): use spawn instead of exec
- now converts to strings when resolving/rejecting
* refactor(util): use spawn instead of exec
- logs improvements
- force shell (exec like)
- fix tests
* refactor(util): use spawn instead of exec
- strongly type listeners
* refactor(util): use spawn instead of exec
- create helper mock for spawn
* refactor(util): use spawn instead of exec
- cr changes
* Update lib/util/exec/common.ts
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
* refactor(util): use spawn instead of exec
- documentation
* refactor(util): use spawn instead of exec
- revert unnecessary formatting
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
- added ExecError class
* refactor(util): use spawn instead of exec
- exec-error.ts restructure
* refactor(util): use spawn instead of exec
* Apply suggestions from code review
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
- deprecated RawExecOptions.encoding property
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
* refactor(util): use spawn instead of exec
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-07-22 15:43:28 +00:00
Michael Kriese
6c78237993
test: simplify exec mock ( #16698 )
2022-07-22 07:42:30 +00:00
Michael Kriese
4f82df4c3d
feat(buildpack): enable cache ( #16591 )
2022-07-21 07:00:02 +00:00
Gabriel-Ladzaretti
6202b1c264
refactor(util/exec): change mocked modules in existing tests ( #16519 )
2022-07-11 11:41:24 +02:00
RahulGautamSingh
3d31fa371d
refactor(lib/util): strict null check for test files ( #15812 )
...
* add types for tmp
* expand files in lib/util
* update yarn lock
* Update tsconfig.strict.json
* util/exec
* util/git
* util/http
* Revert "util/exec"
This reverts commit 96cf479a1b
.
* update strict.json
* redo util/exec
* revert util/git
* util/merge-confidence
* update util/git
* util/package-rules
* fix util/git
* util/template
* util/
* revert extras
* rm newline
* add tmp back
* apply suggestion from review
* util/cache
* more changes
* Update tsconfig.strict.json
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-19 21:17:46 +00:00
Rhys Arkins
ff2318547d
fix: log sidecar sha ( #15499 )
2022-05-07 16:22:04 +02:00
Rhys Arkins
16bd06381c
fix: respect latest when selecting tool versions ( #15481 )
2022-05-06 09:53:28 +00:00
Michael Kriese
42824400d7
feat(manager:cocoapods): support binarySource=install
for cocoapods ( #15473 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-05-05 16:59:42 +02:00
Michael Kriese
03b28828f3
feat(manager:npm): support binarySource=install
for yarn ( #15414 )
2022-05-04 08:32:15 +02:00
Michael Kriese
955b442871
refactor: strict null checks for util ( #15150 )
2022-04-17 11:07:22 +02:00
Michael Kriese
c2adeff003
feat(manager:bundler): move constraint extraction to update artifacts ( #15125 )
...
* feat(manager:bundler): move constraint extraction to update artifacts
* fix: missing null checks
* chore: add comment
* chore: not null save transitives
* chore: fix snapshot
2022-04-15 18:30:34 +02:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules ( #15085 )
2022-04-12 14:49:49 +00:00
Rhys Arkins
dca3418bbd
refactor: lib/modules ( #14488 )
...
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/
BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00
Rhys Arkins
6c9aad38a8
refactor: remove unnecessarily long paths in imports and mocks ( #14429 )
2022-02-26 16:09:01 +00:00
Sergei Zharinov
8070f007a6
refactor: Use Windows-compatible regex for newlines ( #13956 )
2022-02-02 07:31:11 +00:00
Dan Ports
41f198c63c
feat(manager/flux): Update system manifests. ( #13675 )
2022-01-29 06:30:02 +00:00
Rhys Arkins
3144a48f2e
feat(helm): support binarySource=install ( #13719 )
2022-01-28 13:30:34 +00:00
Rhys Arkins
47d158d696
feat(poetry): support binarySource=install ( #13794 )
2022-01-25 15:45:28 +00:00
Rhys Arkins
6b0e896eb7
fix(buildpack): filter stable if no constraint ( #13797 )
2022-01-25 11:48:01 +01:00
Rhys Arkins
d67436cc87
feat(bundler): support binarySource=install ( #13780 )
2022-01-24 16:39:22 +00:00
Rhys Arkins
d2a47ce7e7
feat(npm): support binarySource=install for pnpm ( #13723 )
2022-01-21 18:03:15 +01:00
Sergei Zharinov
15a120847b
test(lib/util): Refactor snapshot tests ( #13289 )
2021-12-27 11:28:10 +01:00
Michael Kriese
2b24a98359
refactor: update imports for esm ( #13230 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-12-22 08:37:47 +00:00
Rhys Arkins
9bf5ba7b56
chore: log docker exec image
2021-12-20 09:28:39 +01:00
Sergei Zharinov
995df4d9a7
refactor(util/exec): Fix strict null errors ( #12909 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-10 15:07:02 +01:00
Rhys Arkins
a9d334874a
feat: binarySource=install ( #12961 )
2021-12-10 10:56:00 +00:00
Rhys Arkins
2d50969550
chore: fix duplicate types import ( #12973 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2021-12-06 12:41:43 +00:00
Rhys Arkins
99749f17f3
fix(npm): allow hash -d to fail ( #12960 )
2021-12-05 09:27:21 +01:00
Rhys Arkins
328de3fc27
refactor: exec types ( #12942 )
2021-12-04 07:12:27 +01:00
Rhys Arkins
38ae77eafc
refactor(npm): move hash to allToolConfig ( #12946 )
2021-12-03 23:13:27 +01:00
Rhys Arkins
ded642bf92
refactor(npm): move hash to toolConstraints ( #12943 )
2021-12-03 16:49:27 +01:00
Rhys Arkins
8c588ddbfc
feat(npm): use install-tool instead of npm global installs ( #12624 )
2021-12-03 12:58:39 +01:00
Rhys Arkins
508cec1015
refactor: move preCommands out of docker options ( #12938 )
2021-12-03 12:07:32 +01:00
Rhys Arkins
b95f608fa1
refactor: remove unused postCommands ( #12939 )
2021-12-03 11:00:49 +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
Andrei Nistor
d2d356c801
feat: Add jsonnet-bundler support ( #12720 )
2021-11-22 15:36:48 +00:00
Rhys Arkins
2ae52b3bd9
logs: remove warn interpolation
2021-11-19 10:40:29 +01:00
Rhys Arkins
04620d71a8
feat: evaluate buildpack constraints in exec ( #12609 )
2021-11-12 08:19:23 +01:00
HonkingGoose
ab018191fa
chore: report and fix unused ESLint disable directives ( #12548 )
2021-11-08 20:20:03 +01:00
Feng Yu
5c24e2955a
test: add timeout option test for exec ( #12278 )
2021-10-28 11:42:21 +02:00
RahulGautamSingh
91f067b39f
fix: refactor regex to use re2 part3 ( #12283 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2021-10-27 14:37:11 +00:00
Rhys Arkins
8571b3e68d
feat: binarySource=docker avoid unstable tags ( #12309 )
2021-10-25 13:19:17 +02:00
Sergei Zharinov
5f4b9f9a3a
test: Fix test descriptions and enforce it via new linting rule ( #11285 )
2021-08-18 05:46:56 +00: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
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