Skip to content

the specified sourceid "xxx" for condition[id] does not exist #6157

@olblak

Description

@olblak

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

A target relying on a source that doesn't exist display the wrong error message

Loading Pipeline "/tmp/demo_github_app.updatecli.yaml"
WARNING: Updatecli binary version is unset. This means you are using a development version that ignores manifest version constraint.
ERROR: the specified sourceid "latestVersion" for condition[id] does not exist
ERROR: failed loading pipeline(s)
	* /tmp/demo_github_app.updatecli.yaml:
		targets validation error:
		wrong updatecli configuration

Expected Behavior

Instead of
ERROR: the specified sourceid "latestVersion" for condition[id] does not exist
it should display

ERROR: the specified sourceid "latestVersion" for target[<with the real target id>] does not exist

Steps To Reproduce

No response

Environment

- OS: linux
- updatecli: v0.108.0

Pipeline Graph

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions