Commit Graph

2281 Commits

Author SHA1 Message Date
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
Michael Kriese ed538ac304 fix(manager/kubernetes): log filename on parse error (#16676) 2022-07-22 09:17:16 +00:00
Michael Kriese 6c78237993 test: simplify exec mock (#16698) 2022-07-22 07:42:30 +00:00
Michael Kriese 13027fd4f5 fix(manager/nuget): optimize xml error handling (#16681)
* fix(manager/nuget): optimize xml error handling

* Update lib/modules/manager/nuget/package-tree.spec.ts

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-07-22 09:15:25 +02:00
Michael Kriese c95024bb2c fix(manager/argocd): catch invalid definitions (#16675) 2022-07-22 06:11:01 +00:00
Philip b8c5a87bc4 fix(manage/gomod): Golang fix pin (#16682)
* Add .whitesource configuration file (#3)

Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com>

* Update .whitesource

* build(deps): update dependency simple-git to v3.5.0 (#17)

Co-authored-by: whitesource-for-github-com[bot] <whitesource-for-github-com[bot]@users.noreply.github.com>

* golang fix pin

* golang fix pin

Co-authored-by: whitesource-for-github-com[bot] <50673670+whitesource-for-github-com[bot]@users.noreply.github.com>
Co-authored-by: whitesource-for-github-com[bot] <whitesource-for-github-com[bot]@users.noreply.github.com>
2022-07-21 17:29:15 +02:00
Michael Kriese 4f82df4c3d feat(buildpack): enable cache (#16591) 2022-07-21 07:00:02 +00:00
Johannes Feichtner a6b747444a feat(gradle): add support for further apply-from patterns (#16507) 2022-07-20 05:45:31 +00:00
Sebastian Poxhofer d0926c3d61 fix(manager/regex): depName requirement if using the recursive strategy (#16225)
* fix(manager/regex): depName requirement if using the recursive strategy

* chore(manager/regex): implement code suggestions

* chore: replace Boolean with Is function

* chore: abort if match strings are empty

* refactor: do not parse regexes on each recursion and filter after all matches are processed

* fixup! test name

* Revert "chore: abort if match strings are empty"

This reverts commit bf41a92f

* refactor: extract inline function

* fix: out-of-bound check

* feat: allow currentDigest as valid alternative to currentValue

* Update lib/modules/manager/regex/utils.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* chore: prettier

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-19 12:02:42 +00:00
Philip a6e5eefb64 feat(manager/gomod): support updating go version in go.mod files (#16541) 2022-07-18 06:22:50 +00:00
cl 496e12f795 feat: add librarian-puppet support (#14789) 2022-07-17 05:27:35 +03:00
Michael Kriese 71f96f1f88 fix(manager/kubernetes): filter invalid documents (#16598) 2022-07-15 15:00:53 +00:00
renovate[bot] 0ed7072a1f chore(deps): update dependency type-fest to v2.16.0 (#16473)
* chore(deps): update dependency type-fest to v2.16.0

* chore: fix type issues

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-15 10:09:50 +00:00
Sergei Zharinov d0fe5f904e feat(fs): Scope checks for filesystem functions (#16511) 2022-07-14 07:53:26 +00:00
Jamie Magee 98b19615fa feat(manager/kubernetes): extract kubernetes api versions (#16556)
* feat(manager/kubernetes): extract kubernetes api versions

* Update lib/modules/manager/kubernetes/extract.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* coverage

* inline small fixture

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-13 21:09:15 +02:00
Florian Greinacher 2b582140c2 fix(manager/docker): use correct autoreplace string for registry aliases (#16542)
* fix(manager/docker): use correct autoreplace string for registry aliases

* fix: re-establish old behavior
2022-07-13 06:22:52 +00:00
Gabriel-Ladzaretti 6202b1c264 refactor(util/exec): change mocked modules in existing tests (#16519) 2022-07-11 11:41:24 +02:00
Johannes Feichtner 21d5e6829d feat(gradle): add support for variable assignments with rootProject and project (#16505)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-10 14:06:50 +00:00
Sergei Zharinov e26130329d refactor(fs): Add tests for every filesystem function (#16495)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-09 18:50:45 +00:00
Florian Greinacher 93c2d053a3 feat(manager/gitlabci): add support for registryAliases (#16227)
* feat(manager/gitlabci): add support for CI_REGISTRY

* fix: pass correct property

* chore: adapt tests

* docs; add documentation for the new option

* test: extend test cases

* fix: do the abc properly

* refactor: switch to using registryAliases option

* docs: mention registry variable

* style: remove extra heading

* docs: fix sentence

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* docs: move documentation to managers

* docs: fix formatting

* refactor: handle default value in function body

* refactor: remove unused function

* refactor: move registry alias handling to dockerfile manager

* style: remove unused import

* refactor: use match groups directly

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* refactor: add dockerfile manager tests

* chore: fix variable name

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-07 09:42:31 +02:00
Sergei Zharinov 83f67c27d5 refactor(fs): Rename getSubDirectory to getParentDir (#16446)
* refactor(fs): Rename `getSubDirectory` to `getParentDir`

* Add tests for `getSiblingFileName`

* fix

* fix
2022-07-07 06:44:21 +00:00
Paul Gschwendtner c8921582ce fix(npm): properly handle lock file maintenance for nested independent yarn workspaces (#16451) 2022-07-06 20:49:55 +00:00
Johannes Feichtner 19254ca0a4 fix(gradle): remove default maven central registry (#16430) 2022-07-06 20:33:56 +00:00
Jamie Magee 3589d0e222 refactor: remove deprecated loadFixture calls (#16404)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-04 04:18:53 +00:00
Johannes Feichtner db6de24756 fix(gradle): resolve escaped registry URLs in gradle.properties (#16403) 2022-07-03 15:53:43 -07:00
Jamie Magee 1c30a3d8cc refactor(manager/jenkins): correct type-check for version (#16395) 2022-07-03 20:48:53 +02:00
Johannes Feichtner 351fd363c1 fix(gradle): ignore stages() method from reckon plugin (#16401) 2022-07-03 16:25:36 +00:00
Johannes Feichtner d19d645b6c feat(manager/gradle): add support for apply from statements (#16030)
* add synchronous local file read

* add tests

* add support for apply from statements

* add safeguard to prevent breakout from localDir

* add safeguard to allow "apply from" only with official Gradle file types

* fix: use async io

* fix test coverage

* Update lib/modules/manager/gradle/extract.spec.ts

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

* Update lib/modules/manager/gradle/extract.spec.ts

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

* Update lib/modules/manager/gradle/extract.spec.ts

Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>

* re-add try/catch

* add istanbul ignore

* Update lib/modules/manager/gradle/parser.ts

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* fs tests: remove obsolete block

* remove istanbul ignore next

* Update lib/modules/manager/gradle/extract.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* tests: replace mockImplementationOnce() with mockRejectedValueOnce()

* scriptFile: explicitly set null for undefined values

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2022-07-03 15:58:58 +02:00
Johannes Feichtner aa50662d3d feat(gradle): add support for versions with underscores (#16365) 2022-07-02 08:54:50 +00:00
HonkingGoose f299699ae7 docs(gitlabci): rewrite predefined variables section (#16372) 2022-07-01 19:34:07 +02:00
Sergei Zharinov 2b43f273bf refactor(fs): Remove proxies.ts file (#16325)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-01 14:57:30 +02:00
Jonathan Narwold c3fd5c2edf feat(bundler): support conservative mode (#16129) 2022-07-01 08:49:23 +00:00
HonkingGoose 1261d70390 docs(manager/regex): link to our Handlebars helpers (#16340) 2022-06-30 09:37:50 +00:00
Michael Kriese 99b16becaf refactor: remove unused properties (#16328) 2022-06-29 13:18:12 +02:00
Sergei Zharinov 851d8f4f7a refactor(fs): Move chmod to chmodLocalFile (#16306)
* refactor(fs): Move `chmod` to `chmodLocalFile`

* More refactoring and tests

* Fix tests

* Apply suggestions from code review

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* Fix prettier

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 06:03:49 +00:00
Rhys Arkins f00590cff7 fix(bazel): skip updating if unchanged value (#16295)
Closes #16268
2022-06-28 11:27:57 +02:00
Sergei Zharinov 8e9d9245b3 feat(clojure): Support dependencies in bb.edn (#16234) 2022-06-25 15:43:01 +02:00
Rhys Arkins 92057df4b4 fix(nuget): filter project references for non empty strings (#16232)
Closes #16231
2022-06-25 10:39:37 +02:00
Alan Ross-Ross 1f778166e5 feat(bumpVersion): add prerelease semver level (#15626) 2022-06-25 07:38:19 +02:00
HonkingGoose 9d35b9df07 docs(nuget): rewrite readme (#16179) 2022-06-24 12:42:07 +02:00
Karl-Johan Grahn 29a272c78f feat(helm-manager): allow either tag or version for images in helm charts (#16058)
* update

Allow either tag or version for images in helm charts

* undo

* lint

* undo

* exports

* rewrite

* add spaces for lint

* chore: prettier fix

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-23 17:36:01 +00:00
Johannes Feichtner b9a400aa9f feat(gradle): add interpolation for local name variable in registry URL (#16136) 2022-06-22 11:10:34 +00:00
Rhys Arkins 07b98a90ff chore: improve/lower extract logging (#16181) 2022-06-22 12:06:22 +02:00
Jason Bedard 8901e724f3 feat(bazel): add "maybe" macro support (#16003) 2022-06-22 06:16:43 +00:00
Michael Kriese 10302eba68 refactor: fix prefer-nullish-coalescing (#16171) 2022-06-21 12:02:49 +00:00
Michael Kriese e5c6f38d75 refactor: enable strict checks (#16168)
* refactor:  enable strict checks

* chore: revert changes

* chore: fix tsconfig
2022-06-21 13:00:21 +02:00
Maron 7f48897e75 feat(go): add support for GOINSECURE (#15944) 2022-06-21 11:23:58 +02:00
Michael Kriese 0a582d31c7 refactor: fix nullable types (#16156)
* refactor: fix nullable types

* chore: revert changes

* chore: fix lint comments

* chore: revert changes
2022-06-20 16:15:40 +00:00
Michael Kriese b4319928f1 refactor: strict manager tests (#16155)
* refactor: strict manager tests

* chore: revert changes

* Update lib/modules/manager/gradle/extract.spec.ts
2022-06-20 17:05:39 +02:00
Sergei Zharinov 0cf4f48842 refactor: Strict null checks for all files except tests (#16071)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-20 11:47:07 +02:00