Commit graph

25 commits

Author SHA1 Message Date
Liora Milbaum
bcb61d5360
feat(manager/dockerfile): match Containerfile (#20804)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2023-03-10 05:37:14 +00:00
Rhys Arkins
3cef2f2e4f
refactor: PackageFile -> PackageFileContent (#20502) 2023-02-19 12:43:48 +00:00
HonkingGoose
fabb1bba08
docs(dockerfile): move paragraph up (#20147) 2023-02-01 13:36:46 +01:00
HonkingGoose
b309f2cbc4
docs(dockerfile): explain Docker versioning, improve link (#20109) 2023-01-31 17:34:55 +01:00
Johannes Feichtner
be21d44700
fix(docker): ensure digest is updated only once with ARG and multiple FROM statements (#18061) 2022-11-07 22:54:37 +00:00
RahulGautamSingh
2a07e91be6
refactor: convert ProgrammingLanguage to union type (#18748)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-05 08:49:57 +00:00
RahulGautamSingh
0151b6a4a9
refactor: reduce debug metadata (#18466)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-29 12:11:09 +00:00
Johannes Feichtner
4770c0069a
fix(manager/dockerfile): improve RegEx to match ARG values with trailing spaces (#18592) 2022-10-27 07:06:41 +03:00
Michael Kriese
a851aedfd2
fix(docker): skip empty and whitespace depName (#17644) 2022-09-06 06:57:20 +00:00
Johannes Feichtner
c4127f994c
fix(docker): use docker versioning for debian images with regular tags (#17602) 2022-09-04 08:08:51 +03:00
Benjamin Appel
551a40ccab
feat(manager/dockerfile): add support for registryAliases (#17139)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Niko Hass <nikohass571@gmail.com>
Co-authored-by: Niko Haß <48032410+nikohass@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-17 13:57:53 +00:00
Michael Kriese
0316a5e62d
test: use jest v29 (#17151) 2022-08-16 14:22:29 +02: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
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
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
Rhys Arkins
07b98a90ff
chore: improve/lower extract logging (#16181) 2022-06-22 12:06:22 +02: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
Johannes Feichtner
0bbf62eb3d
refactor(dockerfile): rewrite splitImageParts() (#15933) 2022-06-09 05:12:01 +00:00
Johannes Feichtner
44c67da0e1
feat(dockerfile): add support for escape chars and ARG instructions (#15751) 2022-06-06 05:47:17 +00:00
Gabriel-Ladzaretti
c17a274de3
feat(versioning/debian): Debian codenames support (#14881)
* refactor(tools/distro-info): for later use in ubuntu and debian versioning

cr changes

* feat(versioning/debian): Debian codenames support

restore extracted code

* feat(versioning/debian): Debian codenames support

package.json, dropped the generate: prefix.

unit test mod as per CR

* feat(versioning/debian): Debian codenames support

now using the generic ver api interface

* feat(versioning/debian): Debian codenames support

revert exporting docker versioning

* feat(versioning/debian): Debian codenames support

switched to luxon for time handle
test fixes
dropped ts-ignore comments

* feat(versioning/debian): Debian codenames support

extract changes in distro.ts

* feat(versioning/debian): Debian codenames support

post merge changes

* feat(versioning/debian): Debian codenames support

cr changes

* feat(versioning/debian): Debian codenames support

 - added support for pin range strategy

* feat(versioning/debian): Debian codenames support

- typos & metadata fixes

* feat(versioning/debian): Debian codenames support

- added isReleased to distro.ts

* feat(versioning/debian): Debian codenames support

- moved all time/date handling into distro.ts

- date freeze for ubuntu/debian/distro unit tests

* refactor(versioning/distro): Move date handling into distro.ts

- revert refactor #15272

* feat(versioning/debian): Debian codenames support

 - merge distro refactor

* feat(versioning/debian): Debian codenames support

 - extract private properties

* feat(versioning/debian): Debian codenames support

  - cr changes

* feat(versioning/debian): Debian codenames support

  - cr changes

* feat(versioning/debian): Debian codenames support

  - cr changes

Co-authored-by: Jamie Magee <jamie.magee@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-05-18 15:32:59 +00:00
Sean Fausett
5043379847
fix(dockerfile): loosen default dockerfile manager filematch (#15583) 2022-05-15 06:00:45 +02:00
Michael Kriese
da6ba6435f
refactor(manager): strict null checks (#15151)
* refactor: strict null checks for util

* chore: fix type

* Update tsconfig.strict.json

* Update lib/util/package-rules.ts

* Update lib/util/package-rules.ts

* chore: fix test and coverage

* chore: fix package rules

* refactor(manager): strict null checks

* chore: revert config changes
2022-04-17 14:34:26 +02:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00:00
Rhys Arkins
143c9a6751 refactor: rename lookupName -> packageName (#14494)
Renames `lookupName` to be `packageName`.

BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
2022-03-04 09:04:02 +01: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