Skip to content

promote: Merge latest prod-staging changes to prod-stable - #592

Closed
jedevc wants to merge 13 commits into
prod-stablefrom
prod-staging
Closed

jedevc wants to merge 13 commits into
prod-stablefrom
prod-staging

Conversation

@jedevc

@jedevc jedevc commented Oct 30, 2026

Copy link
Copy Markdown
Member

dragosgheorghioiu and others added 10 commits October 26, 2026 15:47
A build needed docker or a buildkitd on the caller's machine, since
the CLI could only build with a local buildkit.

--remote <url> builds on the build service instead, which pushes the
image. The project directory, the registry logins, --secret and --ssh
reach the builder through a buildkit session.

Signed-off-by: Dragos Gheorghioiu <dragosg@unikraft.com>
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.com>
Approved-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.com>
The build service creates the account's builder on the first remote
build, and the CLI could not create it beforehand, nor inspect or
free its cache without deleting it.

Add unikraft buildkit create, du and prune. create makes the builder
with the service's sizes through x/buildkit's Platform.Create, unless
it exists, and works in js too. du and prune wake it to call
buildkit's DiskUsage and Prune. Bump x/buildkit for Platform.Create.

Signed-off-by: Dragos Gheorghioiu <dragosg@unikraft.com>
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.com>
Approved-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.com>
Signed-off-by: Dragos Gheorghioiu <dragosg@unikraft.com>
instance exec exited with 130 for every signal that ended the
command, since x/shell folded the plugin's negated signal into it.

Exit with 128 plus the signal instead, as instance shell does.

Signed-off-by: Dragos Gheorghioiu <dragosg@unikraft.com>
Reviewed-by: Alex-Andrei Cioc <andrei.cioc@unikraft.io>
Approved-by: Alex-Andrei Cioc <andrei.cioc@unikraft.io>
So that every push to prod-staging opens a PR to prod-stable.

Signed-off-by: Justin Chadwell <justin@unikraft.com>
The server now redirects a tag to the digest held in a file of that
name, the way an origin pins one. Both the tag and the digest are
inspected, copied and run.

Signed-off-by: Justin Chadwell <justin@unikraft.com>
unikraft buildkit created and pruned the builder on the platform
itself, so it had to know the build service's instance names and
sizes, and it does not find the builders the service now names
remote-builder-<name>.

Rename it to unikraft builder, which asks the build service at
--remote to create a builder, or to report or prune its cache.

Signed-off-by: Dragos Gheorghioiu <dragosg@unikraft.com>
jedevc and others added 3 commits October 30, 2026 15:47
Reviewed-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.com>
Approved-by: Cezar Craciunoiu <cezar.craciunoiu@unikraft.com>
Reviewed-by: Omar El Khatib <omar@unikraft.com>
Approved-by: Omar El Khatib <omar@unikraft.com>
@jedevc jedevc closed this Oct 30, 2026
@jedevc

jedevc commented Oct 30, 2026

Copy link
Copy Markdown
Member Author

Superseded by #595, which the new promote workflow opened (unikraft-cloud/x#592).

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

Successfully merging this pull request may close these issues.

4 participants