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

Support for maintenance window #15

Open
diegorondini opened this issue Jul 18, 2022 · 2 comments
Open

Support for maintenance window #15

diegorondini opened this issue Jul 18, 2022 · 2 comments

Comments

@diegorondini
Copy link
Contributor

hawkBit has support for specifying when an update should be applied and when it should not, a feature named "maintenance window".
See the commit message for details on how the feature is implemented in hawkBit:
eclipse/hawkbit@f4278c4

The maintenance window feature is supposed to work both on soft and forced updates.

Here's an excerpt of the deployment base JSON with a forced update:

{
  "id": "6",
  "deployment": {
    "download": "forced",
    "update": "forced",
    ...
  }
}

Here's an excerpt of the deployment base JSON with a forced update with a closed maintenance window:

{
  "id": "7",
  "deployment": {
    "download": "forced",
    "update": "skip",
    "maintenanceWindow": "unavailable",
    ...
  }
}

Here's an excerpt of the deployment base JSON with a forced update with an open maintenance window:

{
  "id": "7",
  "deployment": {
    "download": "forced",
    "update": "forced",
    "maintenanceWindow": "available",
    ...
  }
}
@GetRohitansh
Copy link

GetRohitansh commented Oct 9, 2023

Can I work on this ?

@diegorondini
Copy link
Contributor Author

@GetRohitansh Sure, contributions are of course very welcome.

Keep in mind this is a complex project and the task is not straightforward, so I recommend to start by:

  1. getting familiar with the project
  2. getting an understanding of what needs to be done
  3. describing your proposed changes to implement the feature, in order to get suggestions and early feedback
  4. keeping in touch with the development team about your progress and the challenges that you face

Regards

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

2 participants