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

Update a unikernel from our reproducible build database #54

Open
hannesm opened this issue Sep 23, 2024 · 1 comment
Open

Update a unikernel from our reproducible build database #54

hannesm opened this issue Sep 23, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@hannesm
Copy link
Contributor

hannesm commented Sep 23, 2024

In albatross-client, we support the update command, which (a) fetches from builds.robur.coop the current unikernel job, (b) looks whether there's a more recent build of the same job, and (c) displays a url to the diff, finally (d) deploys the new unikernel

For mollymawk, we should have a two-stage interface where we can click on update, and then the diff is displayed inline, and we can confirm or reject the update.

@PizieDust
Copy link
Collaborator

PizieDust commented Dec 16, 2024

@hannesm I see that builder-web uses dream. Do you think it's a great idea to add two new endpoints that just return json data. I think this will be great for mollymawk, this way we just get the data and display it however we want.
The endpoints I propose should be:

GET .../latest/uuid -> return the uuid of the latest binary

{
   "uuid": "44bfafe0-97a4-471d-b96d-be0dd887d0ef"
}

GET .../compare/json/old_uuid/new_uuid -> returns differences formatted in json

Let me know what you think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants