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

New image type: Fedora iot-bootable-container #361

Merged
merged 7 commits into from
Jan 23, 2024

Commits on Jan 19, 2024

  1. distro/fedora: add bootable container package set

    The package set mostly replicates the package selection from
    centos-bootc [1].  Comments are also retained from the original source
    files to assist in future decisions for modifications.
    
    The two differences from the centos-bootc package set are:
    - Kernel not specified: it is selected automatically along with user
      package selection.
    - Most of the packages specified in the user-experience [2] file aren't
      added.  We want to keep the image definition minimal and add or
      iterate on the package set going forward as required.
    
    [1] https://github.com/CentOS/centos-bootc/tree/4d5e1d86fbe1028f47e08d5533b4825e3b42dc68
    [2] https://github.com/CentOS/centos-bootc/blob/4d5e1d86fbe1028f47e08d5533b4825e3b42dc68/tier-1/user-experience.yaml
    achilleas-k committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    54273d3 View commit details
    Browse the repository at this point in the history
  2. distro/fedora: new image type: iot-bootable-container

    Add new image type and its image function called
    "iot-bootable-container".  The image function is very similar to the iot
    commit but enables the BootContainer flag so it exports a bootable base
    container instead of a tarball of the ostree repo.
    
    The iot-bootable-container image type is supported on F39+ only.
    achilleas-k committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    3323828 View commit details
    Browse the repository at this point in the history
  3. fedora: update image type lists in tests

    Add iot-bootable-container to all the test lists for Fedora 39 and 40.
    Also use the full distro name in each call to t.Run() instead of just
    the name "fedora" to make each iteration easier to distinguish.
    achilleas-k committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    fa2c83e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7663678 View commit details
    Browse the repository at this point in the history
  5. test: add AMI build and boot test for iot-bootable-container

    To boot test a iot-bootable-container, build an AMI using
    bootc-image-builder then use our boot-aws command to upload and boot the
    image in AWS.
    
    Since we can't build containers from the local registry yet, we push it
    to the gitlab registry and pull it back down.
    achilleas-k committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    6a327b3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e08a2af View commit details
    Browse the repository at this point in the history
  7. test: chmod a+rwX the bootc-image-builder artifact

    Make the build directory and all its contents world rwXable.  This isn't
    needed for the test itself, the artifact is already readable, but the
    original permissions make the cleanup of the testing environment fail.
    achilleas-k committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    c37674b View commit details
    Browse the repository at this point in the history