Commit graph

7646 commits

Author SHA1 Message Date
IKEDA Sho
9a413e5f2e
test(datasource): remove unnecessary optional chaining in tests (#16572) 2022-07-14 05:28:51 +00:00
Olivier Michaelis
5568420c78
feat(github): support unprefixed App Installation Token (#16174) 2022-07-14 04:42:05 +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
IKEDA Sho
0d2d22167d
feat(versioning): add perl versioning (#16518) 2022-07-12 10:29:27 +02:00
Jamie Magee
c3c493baf1
docs(azure): merge azure devops docs (#16432) 2022-07-12 04:59:43 +00:00
renovate[bot]
210695c1a0
build(deps): update dependency git-url-parse to v12 (#16458)
* build(deps): update dependency git-url-parse to v12

* fix: add workaround

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-11 19:37:56 +00:00
Gabriel-Ladzaretti
6202b1c264
refactor(util/exec): change mocked modules in existing tests (#16519) 2022-07-11 11:41:24 +02:00
RahulGautamSingh
e10aa6aa5a
fix: check cache before cloning (#16517) 2022-07-11 10:58:51 +02:00
Steffen Schroeder
fa17909e8f
feat(preset): extend NestJS monorepo (#16520) 2022-07-11 08:26:51 +00:00
RahulGautamSingh
5774fb3f2a
refactor(migrations): class-based migration for packageRules (#16390)
* use class-based migration for packageRules

* fix errors

* refactor: remove unnecessaru if statement

* refactor: use argument

* refactor: apply suggestions

* Update lib/config/migrations/custom/package-rules-migration.ts

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

* Update lib/config/migrations/custom/package-rules-migration.ts

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

* refactor: import type PackageRule

* Update lib/config/migrations/custom/package-rules-migration.ts

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

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-11 04:59:06 +00: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
Philip
6453c3833f
feat(PrBody): log when PR was created and updated (#15809) 2022-07-09 08:50:19 +02:00
Michael Kriese
677fc8b332
fix(datasource/docker): do not use json for '/v2/' (#16482)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-08 14:05:29 +00:00
Yun Lai
605f35c45c
feat: add versioning for Hermit package manager (#16256)
* feat: add versioning for Hermit package manager

* Update lib/modules/versioning/hermit/index.ts

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>

* Update lib/modules/versioning/hermit/index.ts

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>

* Update index.ts index.spec.ts and readme.md according to PR comments

* fix: fix versioning test double negation and _parseVersion function which is just for testing

* fix: simplify hermit versioning implementation as suggested

* fix: use _compare to simplify versioning implementation

* fix: reword version in hermit versioning and make _isChannel & _getChannel static

* fix: remove duplicated title in test and make _config readonly

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-07 13:30:22 +00:00
RahulGautamSingh
5bfa68b8d3
refactor(migrations): migrate package files (#16393)
* create file

* use class-based migration for packageFiles

* add tests

* fix errors

* fix merge errors

* Update lib/config/migrations/custom/package-files-migration.ts

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>

* Update lib/config/migrations/custom/package-files-migration.ts

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>

* add test

* Update index.ts

* modify test

* fix type

* refactor

* Update lib/config/migrations/custom/package-files-migration.ts

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

* Update lib/config/migrations/custom/package-files-migration.ts

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

* readd todo

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-07 07:53:47 +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
Yun Lai
793095c1a0
fix(git): add options to getRepoStatus (#16253) 2022-07-06 05:17:39 +00:00
RahulGautamSingh
8b9d038fa3
refactor(migrations): migrate node (#16422)
Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
2022-07-06 04:39:48 +00:00
RahulGautamSingh
895218d2a9
refactor: migration semantic prefix (#16218) 2022-07-06 02:34:21 +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
8738b0a47c
feat(versioning/redhat): Support for Red Hat release versioning (#16294) 2022-07-03 23:39:13 +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
Rhys Arkins
b49849b2a0
fix: assign default versioning before applying package rules (#16392) 2022-07-03 18:11:20 +02:00
Nuno Marujo
426d3f34cf
docs: Maven - Ensure changelog is fetchable (#16389) 2022-07-03 15:31:23 +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
RahulGautamSingh
f82c8674bd
refactor(migrations): master issue (#16399) 2022-07-03 10:33:33 +00:00
Sergei Zharinov
c866fd06fc
fix(github): Return remote commit hash for platformCommit=true (#16391) 2022-07-03 08:25:17 +00:00
Sergei Zharinov
1454b602fc
fix(github): Shrink pages for specific types of errors (#16388) 2022-07-02 18:41:02 +02:00
Sergei Zharinov
b5df686fb7
refactor(github): Introduce misc query function for GraphQL (#16387)
* refactor(github): Introduce misc `query` function for GraphQL

* Update lib/modules/datasource/github-releases/cache/cache-base.ts

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

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-02 15:24:17 +02:00
Johannes Feichtner
aa50662d3d
feat(gradle): add support for versions with underscores (#16365) 2022-07-02 08:54:50 +00:00
Sergei Zharinov
49f7bac4e0
refactor(github): Consume pages entirely during tags/releases caching (#16386) 2022-07-02 10:13:55 +02:00
Sergei Zharinov
b9257bf5dd
fix(github-tags): Use releaseTimestamp from tagger object (#16385) 2022-07-02 09:46:48 +02:00
RahulGautamSingh
8bd206b946
fix(config): preserve packageRules order when migrating (#16367) 2022-07-02 06:32:47 +00:00
Rhys Arkins
b18d31b97c
fix(config): don't skip migration PR if closed PR found (#16380) 2022-07-02 06:18:18 +00:00
Rhys Arkins
2b73940403 fix: log migration err properly 2022-07-02 06:57:16 +02:00
HonkingGoose
f299699ae7
docs(gitlabci): rewrite predefined variables section (#16372) 2022-07-01 19:34:07 +02:00
HonkingGoose
322deea7a3
fix(config): link to configMigration issue (#16360)
* fix(config): link to `configMigration` issue

* Update lib/config/options/index.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-01 13:45:11 +00: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
Rhys Arkins
2c787034eb
fix(config): improve config migration PR body and title (#16355) 2022-07-01 14:24:08 +02:00
RahulGautamSingh
a07fb52ec0
fix: move checkoutBranch after validation (#16246) 2022-07-01 12:13:26 +02:00
jatladams
e1bb2581ef
feat(bitbucket-server): Support gitUrl (#13875) 2022-07-01 11:59:58 +02:00
Jonathan Narwold
c3fd5c2edf
feat(bundler): support conservative mode (#16129) 2022-07-01 08:49:23 +00:00
HonkingGoose
7adab3cc45
docs: improve description for internal presets (#16338) 2022-07-01 08:19:33 +02:00
Jamie Magee
cc2ad5174e
fix: switch changelog urls from http to https (#16349) 2022-07-01 04:57:07 +00:00
HonkingGoose
1261d70390
docs(manager/regex): link to our Handlebars helpers (#16340) 2022-06-30 09:37:50 +00:00
Yun Lai
432a888cdb
fix: make http.stream apply hostRules & authentication (#16255)
* fix(http): support asset download via octet-stream header in github http

* Update lib/util/http/github.spec.ts

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

* fix: make http.stream apply hostRules & authentication

* chore: fix disable host test for http.stream

* Update lib/util/http/index.ts

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-30 07:54:48 +00:00
Johannes Feichtner
3b8bd95fe8
fix: add return value for additionalRegistryURLs concat in resolveRegistryUrls (#16334) 2022-06-30 05:06:22 +00:00
Hasan Awad
e174ad084b
feat(config/presets): add memory caching for config fetching (#16274) 2022-06-29 15:31:49 +00:00
Michael Kriese
99b16becaf
refactor: remove unused properties (#16328) 2022-06-29 13:18:12 +02:00
HonkingGoose
0d7c4300da
docs(presets): rewrite gitSignOff description (#16302) 2022-06-29 11:40:26 +02:00
Rhys Arkins
61aebaf0bb
fix: filter out rollback if followTag is true (#16296) 2022-06-29 11:39:57 +02:00
Sergei Zharinov
11f41825ca
fix(fs): Windows CI tests (#16318) 2022-06-29 07:57:44 +00:00
Sergei Zharinov
bfc393ef00
refactor(fs): Don't proxy writeFile function (#16310)
* refactor(fs): Don't proxy `writeFile` function

* Fix

* Update lib/workers/global/index.spec.ts

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

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 06:23:36 +00: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
Sergei Zharinov
0687799b28
refactor(fs): Remove unused proxied functions (#16311)
* refactor(fs): Remove unused proxied functions

* Fix lint/test

* Fix

* Update lib/util/fs/index.spec.ts

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

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 05:44:30 +00:00
Gabriel-Ladzaretti
dc11e26c37
fix(datasource/pypi): use pypi.org/pypi registry instead of pypi.org/simple (#16293)
* fix(datasource/pypi): use pypi api instead of the simple variant

* fix(datasource/pypi): use pypi api instead of the simple variant

* fix(datasource/pypi): use pypi api instead of the simple variant

* fix(datasource/pypi): use pypi api instead of the simple variant

* Update lib/modules/datasource/pypi/index.ts

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-29 07:26:46 +02:00
Sergei Zharinov
6d605cbf90
fix(helm): Revert source url logic back (#16317) 2022-06-29 03:58:08 +00:00
Rhys Arkins
17f1b409a6
fix: log http and npm rejection cases (#16307) 2022-06-28 16:30:35 +02:00
Gabriel-Ladzaretti
7ac91e452c
docs(config): Don't show [template] for long strings (#16224) 2022-06-28 13:49:42 +00:00
Rhys Arkins
f00590cff7
fix(bazel): skip updating if unchanged value (#16295)
Closes #16268
2022-06-28 11:27:57 +02:00
HonkingGoose
bfe47623f7
fix(config): update default dependencyDashboardHeader (#16206) 2022-06-28 02:36:22 +00:00
Maron
96a71ec4be
refactor(lib/workers): separate get dep warning func into two diff functions (#16165) 2022-06-27 20:35:40 +00:00
Rhys Arkins
787c98cdbe
fix: Revert "fix: commit message" (#16263)
Revert "fix: commit message (#16239)"

This reverts commit 3b0c2afe8a.
2022-06-27 21:46:00 +02:00
Rhys Arkins
989c5c38b1
fix: pass config to post-upgrade config templating (#16267) 2022-06-27 11:45:20 +02:00
Sergei Zharinov
4fc31b1d7a
fix(helm): Revert previous datasource changes (#16265) 2022-06-27 08:50:57 +00:00
Yun Lai
ce34a5530d
fix(git): add symbolic link file support to prepareCommit (#16254) 2022-06-27 07:55:25 +00:00
renovate[bot]
100a820db6
build(deps): update aws-sdk-js-v3 monorepo (#16233)
* build(deps): update aws-sdk-js-v3 monorepo

* update snapshots

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-27 05:31:34 +00:00
Michael Kriese
07d278b268
refactor: add missing type (#16251) 2022-06-27 07:17:52 +02:00
Michael Kriese
cbf39e7cae
fix(datasource/helm): refactor logging (#16252) 2022-06-27 07:17:28 +02:00
Sergei Zharinov
e987069a3a
fix(helm): Use semver-coerced for determining latest release (#16229) 2022-06-26 10:31:52 +00:00
Maksim
3b0c2afe8a
fix: commit message (#16239) 2022-06-26 04:47:55 +00: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
Gabriel-Ladzaretti
26cf208e2c
docs(core/config): Experimental feature handling (#16183) 2022-06-25 10:10:35 +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
Michael Kriese
cfc8b0b859
fix(config): add missing globalOnly flags (#16202) 2022-06-24 11:32:41 +02:00
Rhys Arkins
54c35dbbd4
fix(config): apply secrets to global hostRules (#16217)
* fix(config): apply secrets to global hostRules

Closes #16215

* fix import ordering

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-24 08:21:08 +00:00
Sergei Zharinov
9c51ff6733
feat(manager/helm): make change log url retrieval more flexible (#16210)
* feat(helm): improve fallback on sourceUrl selection

* fix(helm): use home and source from latest release

instead of the first. Otherwise those fields can't be ever changed.

* test(helm): test charts with no home metadata

* test(helm): test releases semver sorting

* fix(helm): select last release by semver

* Apply suggestions from code review

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

* fix(type): make homeMatch keys optional

* Fixes

Co-authored-by: Stefano Zaninetta <stefano.zaninetta@nagra.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-24 10:07:34 +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
Gabriel-Ladzaretti
ee52021a9d
fix(core/dashboard): GitHub error "maximum is 65536 characters" (#16208) 2022-06-23 16:25:55 +02:00
Tobias
3d96c7c5a1
feat(config): print hostRules when printConfig=true (#15699) 2022-06-23 07:39:31 +00:00
Sergei Zharinov
bce8dcc4e4
fix(github): Correct submodule updates for platformCommit=true (#16198) 2022-06-23 09:07:43 +02: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
Sergei Zharinov
dc34060ced
fix(onboarding): warnings for external host errors (#15587)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-06-22 09:56:55 +00:00
Jason Bedard
8901e724f3
feat(bazel): add "maybe" macro support (#16003) 2022-06-22 06:16:43 +00:00
Gabriel-Ladzaretti
e46af63184
fix(onboarding): Avoid workarounds descriptions in onboarding PRs (#16175) 2022-06-22 02:19:15 +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
RahulGautamSingh
03b0d2a24e
refactor(lib/workers): fix null-check for tests (#16163)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-06-21 09:39:30 +00: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