forked from renovatebot/renovate
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(manager/gitlabci): Update local include files
If local files are imported from the GitLab CI YAML file, the dependencies will be recognized but not updated by renovate. Renovate needs to respect the 'include:local' imports and update the depedependencies in those files. `extractPackageFile` is replaced by `extractAllPackageFiles` since the functionality of those two functions are the same. Related to renovatebot#6745 Fixes renovatebot#6713
- Loading branch information
Showing
13 changed files
with
294 additions
and
208 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
image: | ||
# comment | ||
name: renovate/renovate:19.70.8-slim | ||
|
||
services: | ||
# comment | ||
- mariadb:10.4.11 | ||
# another comment | ||
- other/image:1.0.0 | ||
|
||
include: | ||
- local: 'lib/manager/gitlabci/__fixtures__/include.yml' | ||
- local: 'lib/manager/gitlabci/__fixtures__/include.1.yml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
test: | ||
stage: test | ||
image: node:12 | ||
script: | ||
- echo test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
test: | ||
stage: test | ||
image: alpine:3.11 | ||
script: | ||
- echo test |
Oops, something went wrong.