Skip to content

feat: dry-run flag for kairos-agent upgrade #3833

@jasperdekeuk

Description

@jasperdekeuk

Is your feature request related to a problem? Please describe.

I was mainly looking for a solution to see what image kairos-agent would upgrade to, also when using a private registry, to see that the device can access the registry, before actually doing an upgrade of the system. I was using the list-releases for this, but might not be ideal. -> see: #3814

It made me wonder if a dry-run flag for the kairos-agent would make any sense for UX?

Describe the solution you'd like

Basically it should run everything that the kairos-agent upgrade does, but it should not actually do an upgrade. The output should be a lot of interesting meta info, like what image will be updated to (so you also see that the source of the cloud-config is used etc.) that e.g. the private registry is reachable, and potential other interesting info that could come from things that are usually done with an upgrade.

Describe alternatives you've considered

Additional context

This could potentially replace the list-releases as it could e.g. also output things like "no new version available" or "newer version available, will update to version x.y.z"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageAdd this label to issues that should be triaged and prioretized in the next planning call

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions