Commit Graph

19 Commits

Author SHA1 Message Date
Ethan Setnik afd16f7f7f fix(manager/circleci): parse config files as YAML 1.1 (#43551)
* docs(manager/circleci): document YAML merge key parsing limitation

Signed-off-by: Ethan Setnik <esetnik@gmail.com>

* fix(manager/circleci): parse config files as YAML 1.1

CircleCI processes config files as YAML 1.1, but Renovate parsed them
as YAML 1.2. Configs that use YAML 1.1 features failed to parse and
the entire file was silently skipped, dropping every `docker` and `orb`
dep in it.

The most common trigger is a mapping with more than one `<<` merge key,
which YAML 1.2 rejects as a duplicate key. CircleCI's own processor
allows it, since merge keys are a YAML 1.1 feature.

Pass `{ version: '1.1' }` to `parseSingleYaml` so the parser matches
CircleCI's behavior, and add a regression test that covers the
duplicate-merge-key case.

Replaces the workaround note added in the previous commit on this
branch (per review feedback) — the config-side `%YAML 1.1` directive is
no longer needed.

---------

Signed-off-by: Ethan Setnik <esetnik@gmail.com>
2026-05-26 21:10:42 +00:00
Sergei Zharinov 9d857c1f68 refactor(lint): Organize imports with biome (#40966) 2026-02-06 13:40:01 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Sergei Zharinov 8c00b15ffc refactor(circleci): Simplify CircleCI extraction (#35233) 2025-04-08 15:44:22 +00:00
Michael Kriese 19c115c813 test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
Michael Kriese bf5ce6cc3a fix(manager): retain depName when using registryAliases (#33911) 2025-01-30 08:05:36 +00:00
Michael Kriese 45bdc77844 refactor(manager): always set package name from docker image extract (#33917) 2025-01-29 15:36:24 +00:00
Steven Davidovitz ffa4333a38 fix(circleci): parsing of inline orb definitions (#31843) 2024-12-14 17:55:06 +00:00
Eugene Vilensky 914ab95cb0 feat(managers/circleci): add registryAliases support to circleci manager (#32945)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-09 07:41:12 +00:00
Sebastian Poxhofer b667a4b8a3 test(manager/circleci): remove snapshots and empty matchObjects tests (#30565) 2024-08-05 10:11:22 +00:00
Sebastian Poxhofer 269a4dd125 fix(manager/circleci): extract executors of CircleCi files again (#30562) 2024-08-02 13:48:53 +00:00
Shingo Sato 7272dd2d75 fix(manager/circleci): optional jobs parameter (#30251) 2024-07-19 15:46:44 +00:00
Sebastian Poxhofer 8d166a3f71 refactor(manager/circleci): replace regex system with YAML parsing (#30142) 2024-07-12 18:27:46 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
renovate[bot] 7935a7b8ed chore(deps): lock file maintenance (#18082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-10 21:47:23 -07: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
Gabriel-Ladzaretti a73942ca9d fix(circleci): add android to machine image skipping (#15792) 2022-06-04 07:53:24 +00:00
Michael Kriese 64f5bd5f03 test: enforce lint style rules (#15085) 2022-04-12 14:49:49 +00: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