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

Generate manifests using tooling and configs from osbuild/images #4183

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Commits on Aug 8, 2024

  1. tools: new script gen-manifests

    A new script to replace ./cmd/gen-manifests.  The script queries the go
    dependencies to get the version of osbuild/images that osbuild-composer
    currently depends on, clones the osbuild/images repository at that
    version, and uses the ./cmd/gen-manifests tool from there to generate
    new manifests.
    
    This is meant to replace ./cmd/gen-manifests so that we only have one
    command and set of configurations for generating manifests, to avoid
    drift between the two implementations.
    achilleas-k committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    fa8abcf View commit details
    Browse the repository at this point in the history
  2. cmd/osbuild-image-tests: change json tag for request

    The manifests generated by osbuild/images use the property name
    'build-request' instead of 'compose-request'.
    achilleas-k committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    2e71ce8 View commit details
    Browse the repository at this point in the history
  3. tools/gen-manifests: add arguments for filtering

    Support arguments for filtering and pass them straight through to
    gen-manifests (multiple values and globs are supported).
    
    `set -x` before running the gen-manifests tool to print the full
    command.
    achilleas-k committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    643c218 View commit details
    Browse the repository at this point in the history
  4. tools/gen-manifests: go run with exclude_graphdriver_btrfs

    This is required for building the binary on RHEL.  It has no effect on
    manifest generation, so we can use it unconditionally.
    achilleas-k committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    67d4c10 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a399000 View commit details
    Browse the repository at this point in the history
  6. test: update the README

    Update the test README with information about the new script.
    achilleas-k committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    4003fea View commit details
    Browse the repository at this point in the history
  7. tools: remove the old test case generation configs

    Remove the format-request-map and repos that were used for the old
    manifest generation.  The new manifest generator uses the configs and
    repos defined in osbuild/images.
    achilleas-k committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    91d8c99 View commit details
    Browse the repository at this point in the history
  8. cmd: remove gen-manifests

    Remove the gen-manifests go cmd since we now only rely on the one in
    osbuild/images.
    achilleas-k committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    509a9a2 View commit details
    Browse the repository at this point in the history
  9. test/data/manifests: update Fedora manifests

    Updated only manifests for image types that were already in the
    repository.
    
    This commit also adds Fedora 40 manifests.
    
    Generated with:
    
        rm ./test/data/manifests/fedora*
        ./tools/gen-manifests 'fedora-*' 'x86_64,aarch64' 'iot-commit,iot-container,iot-installer,iot-raw-image,container,live-installer,minimal-raw,oci,openstack,qcow2,vmdk'
    achilleas-k committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    2b86185 View commit details
    Browse the repository at this point in the history
  10. test/data/manifests: update CentOS manifests

    Updated only manifests for image types that were already in the
    repository.
    
    This commit also adds CentOS 10 manifests.
    
    Generated with:
    
        rm ./test/data/manifests/centos*
        ./tools/gen-manifests 'centos-*' '*' 'minimal_raw,openstack,qcow2,tar,oci,vmdk'
    achilleas-k committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    879793e View commit details
    Browse the repository at this point in the history
  11. test/data/manifests: update RHEL manifests

    Updated only manifests for image types that were already in the
    repository.
    
    The commit also adds RHEL 10 manifests and removes manifests for distros
    without minor version, rhel-7, rhel-8, and rhel-9.
    
    Generated with:
    
        rm ./test/data/manifests/rhel*
        ./tools/gen-manifests 'rhel-*' '*' 'azure-rhui,gce-rhui,minimal-raw,openstack,qcow2,tar,vmdk'
    achilleas-k committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    5eaffcb View commit details
    Browse the repository at this point in the history