-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.sig/releaseCategorizes an issue or PR as relevant to SIG Release.Categorizes an issue or PR as relevant to SIG Release.
Description
What happened:
In some cases, Zeitgeist is having some issues with leading vs in semver versions.
For example, the following dependencies.yaml config:
- name: sloth
version: 0.11.0
scheme: semver
sensitivity: minor
upstream:
flavour: github
url: slok/sloth
refPaths:
- path: src/layers/3-observability/sloth.tf
match: zeitgeist:sloth
Sees v0.12.0 as a new version and tries to upgrade it as:
- name: sloth
version: v0.12.0
scheme: semver
sensitivity: minor
upstream:
flavour: github
url: slok/sloth
refPaths:
- path: src/layers/3-observability/sloth.tf
match: zeitgeist:sloth
(Notice the added leading v)
And the matching update in the file:
image:
repository: ghcr.io/slok/sloth
- tag: v0.11.0 # zeitgeist:sloth
+ tag: vv0.12.0 # zeitgeist:sloth
What you expected to happen:
When the leading v is omitted in the dependencies.yaml, I expect zeitgeist to not add it anywhere else, and upgrade only the version instead
How to reproduce it (as minimally and precisely as possible):
See above
Anything else we need to know?:
Environment:
standard
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.sig/releaseCategorizes an issue or PR as relevant to SIG Release.Categorizes an issue or PR as relevant to SIG Release.