Skip to content

Commit

Permalink
deploy: Retrieve bound images when staging new image
Browse files Browse the repository at this point in the history
This parses any file pointed to by a symlink with a
.container or .image extension found in /usr/lib/bootc/bound-images.d.
An error is thrown if a systemd specifier is found in the parsed
fields. It currently only supports the Image and AuthFile fields.

Some known shortcomings are that each image is pulled synchronously.
It does not do any cleanup during a rollback or if the switch
fails after pulling an image. The install path also needs to
pull bound images.

Co-authored-by: Colin Walters <[email protected]>
Signed-off-by: Chris Kyrouac <[email protected]>
  • Loading branch information
ckyrouac and cgwalters committed Jul 15, 2024
1 parent 42fe361 commit 8dc147f
Show file tree
Hide file tree
Showing 5 changed files with 553 additions and 247 deletions.
Loading

0 comments on commit 8dc147f

Please sign in to comment.