Commit graph

205 commits

Author SHA1 Message Date
Jamie Magee
778f0aba6e
feat(manager/azure-pipelines): extract azure-pipelines tasks (#16882)
* feat(manager/azure-pipelines): extract azure-pipelines tasks

* test coverage

* PR comments

* PR comments
2022-08-03 06:49:55 +02:00
IKEDA Sho
1558c9be61
docs(manager/circleci): Set displayName and url (#16919) 2022-08-03 06:11:56 +02:00
IKEDA Sho
2dbc15e679
docs(manager): Set displayName and url for nodenv and nvm managers (#16878) 2022-08-01 04:48:45 +00:00
IKEDA Sho
72db89f6e5
refactor: Fix constraint typos (#16879) 2022-08-01 04:02:55 +00:00
Sergei Zharinov
e4dbd4ad49
fix(ci): Restrict template expressions (#16834)
* fix(ci): Restrict template expressions

* Fix

* Fix

* Fix
2022-07-30 16:28:31 +02:00
Yun Lai
b696abb3c2
feat: add Hermit package manager (#16258)
* feat: add Hermit package manager

* fix: pass bin directory into getRepoStatus as string rather than an array

* fix: fix up hermit manager implementations

* add docker support in exec
* move fs related operations back into  util/fs
* remove ENVVar passed on by process.env
* set concurrency in pMap
* use for instead of pMap for concurrency = 1
* use regex to pick up package reference parts

* fix: fix manager updateArtifacts test after change

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

Co-authored-by: Philip <42116482+PhilipAbed@users.noreply.github.com>

* fix: fix up test and docker reference for hermit manager

* test refer to internal fs
* docker image change to sidecar
* only symlink are read for the changed file content after hermit
  install
* no more global mock in artifacts test

* fix: use warn instead of error so error better flows up in hermit manager

* fix: partial for test type, use throw instead of reject

* fix: update snapshot

* fix: combine install packages, also make extractPackageFile async

* fix: remove weird generated readLocalSynmlink in test

* fix: removes old test

* fix: use ensureLocalPath and fix test coverage

* fix: more test coverage

* fix: use ensureLocalPath in readLocalSymlink

* Apply suggestions from code review

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

* fix: remove unused functions and types

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* fix: use execSnapshots and for of loop when returning the result

* Update lib/modules/manager/hermit/artifacts.spec.ts

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

* fix: move exports below imports

Co-authored-by: Philip <42116482+PhilipAbed@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
2022-07-30 08:41:45 +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
IKEDA Sho
16705ed083
docs(manager/argocd): Set displayName and url (#16838) 2022-07-28 16:15:33 +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
a7a44b32db
fix(manager/pip_requirements): remove invalid tagScheme (#16829) 2022-07-28 10:27:12 +00:00
IKEDA Sho
caa720401a
docs(manager/gomod): Set displayName and url (#16796) 2022-07-27 08:51:17 +03:00
Gabriel-Ladzaretti
871b069d83
fix(logs): remove variable from a template literal for a warn message for gradle (#16789)
logs: tidy up warn message for grade file not found
2022-07-26 15:03:05 +00:00
Piotr Krzemiński
adccb9c0ca
feat(manager): add support for Kotlin Script (#16684) 2022-07-26 13:37:34 +02:00
Sebastian Poxhofer
90f85b9958
feat(manager/fleet): implement Rancher Fleet manager (#16138)
* feat(manager/fleet): implement Rancher Fleet manager

* Apply suggestions from code review

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

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

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

* docs(fleet): add tsdocs

* fixup test null checks

* docs: add default filematch

* chore: rename tempDep to dep

* apply change requests

* catch exceptions from yaml-js

* trigger yaml parse error

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-26 08:48:50 +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
IKEDA Sho
6f42227e5e
docs(manager/cocoapods): Configure ModuleApi's displayName and url (#16760)
* docs(manager/cocoapods): Configure `ModuleApi`'s displayName and url

* Revert export order

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-26 04:18:43 +00:00
Johannes Feichtner
d6fa2fefda
fix(gradle): silence warning for file not found via "apply from" (#16767) 2022-07-25 19:06:56 +02:00
Michael Kriese
17387fcf48
fix(manager/nuget): skip invalid xml files (#16758) 2022-07-25 14:54:46 +02:00
Michael Kriese
2bbbc956e9
fix(manager/nuget): Skip dep if version is undefined (#16757) 2022-07-25 12:31:53 +00:00
IKEDA Sho
1ad61a7ebd
refactor(manager): consistently write as export const language = ... (#16739)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-25 06:13:57 +00:00
Johannes Feichtner
a3c3f11860
fix(gradle): adjust max. recursion depth and logger warning (#16734) 2022-07-24 13:28:04 +02:00
Sergei Zharinov
6e01af9320
fix(bundler): fix recursive resolved dependencies (#16462)
* fix(bundler): fix recursive resolved dependencies

* Remove ugly type assertions

* fixes

* fix

* fix

* Add recursion limit

* Extract unique packages

* pr fixes

* Add `exec-error.ts`

* fix

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-24 11:45:01 +03:00
foolioo
bb52f9785a
docs(regex): clarify regex manager limitations (#16709) 2022-07-24 09:25:45 +03:00
Johannes Feichtner
1b36708c64
feat(gradle): always add depType to extracted dependencies (#16725) 2022-07-24 06:14:29 +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
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