Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default firmware override #2470

Open
mondalaci opened this issue Dec 22, 2024 · 0 comments
Open

Default firmware override #2470

mondalaci opened this issue Dec 22, 2024 · 0 comments

Comments

@mondalaci
Copy link
Member

The default firmware is bundled with Agent and can only be changed by releasing a new Agent version.

This can sometimes be a problem. For example, Agent 5.0.0 is currently the latest release, which bundles firmware 12.0.0, which contains some regressions. I want to force Agent 5.0.0 to use the latest firmware, 12.0.1, which fixes the regressions, and offer it as the default firmware instead of the bundled firmware.

I propose a firmware-overrides.json file stored in the repo that would contain the following for this case:

{
    "5.0.0": "12.0.1"
}

Before displaying the firmware update notification, Agent must read firmware-overrides.json and fetch the relevant firmware version or use the bundled version if GitHub timeouts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant