Skip to content

Releases: osbuild/osbuild-composer

15

12 Jun 12:17
Compare
Choose a tag to compare
15
  • Support for building RHEL for Edge is now available.

  • Composer has now support for building QCOW2 and tar images for ppc64le and
    s390x architectures.

  • Tar images for RHEL have returned. The Image Builder team found out that
    they are used as a way to install RHEL for Satellite.

  • Blueprints containing packages with a wildcard version no longer causes
    the built image to have both x86_64 and i686 versions of one package
    installed.

  • GPG check is now disabled by default. If you have a custom
    repository in /etc/osbuild-composer/repositories, just set gpg_check
    to true to enable the check. Note that all the pre-defined repositories
    have GPG check enabled.

  • Composer now supports a cancellation of jobs. This can be done by calling
    /compose/cancel route of Weldr API.

  • osbuild-composer previously crashed when osbuild didn't return the right
    machine-readable output (e.g. because of a disk being out of space). This
    is now fixed.

  • Because of the GPG check change and RHEL for Edge support, composer
    now requires osbuild 17 or higher.

  • osbuild-composer previously required the python package to be installed
    on RHEL. Now, it uses the always-installed platform-python.

  • The buildroot for RHEL 8 didn't have selinux labels before. This is now
    fixed.

  • When Composer crashed, it left temporary directories in /var/cache. The
    temporary directories are now moved to /var/tmp, which is managed by
    systemd with PrivateTmp set to true, so they're now correctly removed
    after a crash.

  • Several weldr API routes were aligned to work in the same way as with
    Lorax. /blueprints/freeze now correctly supports option to output TOML.
    Projects and modules routes return all fields as Lorax returns.

  • AWS upload now logs the current state to the system journal. Emojis are
    of course included. 🎉

  • As always, amazing improvements in the CI infrastructure happened. Also,
    the test coverage went up. Thanks all for doing this!

Contributions from: Alexander Todorov, Brian C. Lane, Christian Kellner,
Jakub Rusz, Lars Karlitski, Major Hayden, Martin
Sehnoutka, Ondřej Budai, Peter Robinson, Tom
Gundersen

— Liberec, 2020-06-12

14

03 Jun 21:37
Compare
Choose a tag to compare
14
  • AWS uploads doesn't anymore report to AWS that composer uploads
    the image in vhdx format. This surprisingly makes the upload process
    more stable.

  • Uploads were always in WAITING state. This is now fixed.

  • The /projects/source/* routes now correctly supports all the features
    of Weldr API v1.

  • AWS upload now logs the progress to journal. Even better logging is
    hopefully coming soon.

  • AWS upload's status is now correctly set to FAILED when ImportSnapshot
    fails. Before, this hanged the upload indefinitely.

  • Store unmarshalling is now safer in some cases. For example, stored
    manifests are now longer checked when loaded from disk. Therefore,
    changing of manifest schema doesn't lead to crashes when old manifests
    are present in the store.

  • When store loading failed in non-verbose mode of osbuild-composer, it
    crashed the process because of nil logger. This is now fixed.

  • The upstream spec file for building osbuild-composer package now
    excludes the i686 architecture. Note that composer never supported
    this arch.

  • The upstream spec file now correctly specifies the composer's dependency
    to osbuild-ostree. This was forgotten in the previous release which
    introduced Fedora IoT support.

  • The previous version didn't have repositories defined for s390x and
    ppc64le architectures. This is now fixed. Note that this only fixes
    some codepaths, osbuild-composer still cannot build any images on
    these architectures.

Contributions from: Brian C. Lane, Lars Karlitski, Major Hayden, Martin
Sehnoutka, Ondřej Budai, Stef Walter, Tom Gundersen

— Liberec, 2020-06-03

13

28 May 07:46
Compare
Choose a tag to compare
13
  • Fedora IoT is now supported for Fedora 32 in the form of producing the
    commit tarball. Feel free to test it and report any issues you find.

  • Support for RHEL was completely revamped. Now, osbuild-composer supports
    building images only for the latest RHEL 8. The separate minor versions
    are no longer available. Additionally, it now uses the Red Hat CDN which
    requires the host system to be properly subscribed. If you need to use
    different package repositories to build RHEL from, use a repository
    override in /etc/osbuild-composer/repositories.

  • Several image types were removed: ext4-filesystem, partitioned-disk,
    and tar. The use-cases for these image types were not clearly defined and
    without a clear definition, it was very hard to define test cases for
    them.

  • Support for Fedora 30 was dropped as it is now EOL. So long and thanks
    for all the fish!

  • The timeout for AWS upload is removed. It's very hard to predict how long
    will the AWS upload take. With the timeout in place, it caused the test
    suite to produce a lot of false positives.

  • Build logs were broken in the previous release, this release fixes it.
    This time, they were properly saved but weldr API read them from a wrong
    location. This is now fixed and covered with basic tests.

  • Weldr API has now support for /compose/metadata and /compose/results
    routes. This allows users to easily access a manifest used to build
    an image.

  • Preliminary support for ppc64le and s390x is added to RHEL distribution.
    No images cannot be built yet but at least it won't crash on startup.

  • The weldr API socket has now correct permissions. As the result, it can
    be read and written only by root and the weldr group. This is the same
    behaviour as Lorax has.

  • By mistake, workers incorrectly used the default store for every build.
    However, this can currently cause the store to grow indefinitely, so
    this release switched the osbuild store to use a temporary directory again.

  • /status route in weldr API now correctly returns msgs field.

  • Handling of json (un)marshalling in store is revamped. It should
    make it more stable and simplify the maintenance of the store backwards
    compatibility.

  • Initial support for koji is now added. It's currently not hooked up
    to composer and only supports password authentication. More coming soon.

  • Again, the automated testing was greatly improved during this cycle,
    big thanks to everyone involved!

Contributions from: Alexander Todorov, Brian C. Lane, David Rheinsberg, Jacob
Kozol, Lars Karlitski, Major Hayden, Ondřej Budai, Tom
Gundersen

12

14 May 06:35
Compare
Choose a tag to compare
12
# OSBuild Composer - Operating System Image Composition Services

## CHANGES WITH 12:

    * In previous versions support for running remote workers was
     broken. This is now fixed and running remote workers is once
     again possible. See #568 for more information.

    * The job queue and the store are now two separate Go packages.
     One of the benefits is that it is now possible to build images
     without using the store which is too complicated for some usecases.
     
    * A blueprint name is now checked against the regex
     "^[a-zA-Z0-9._-]+$". This is the same limitation as in
     lorax-composer.
     
    * All osbuild calls now use the new --output-directory argument.
     This change is a must because the old way of retrieving images from
     the osbuild store will soon be deprecated.
     
    * Some routes from the weldr API are now implemented in a more
     efficient way.
     
    * As always, the team worked hard on improving the tests and the CI.

    Contributions from: David Rheinsberg, Jiri Kortus, Lars Karlitski,
                        Major Hayden, Ondřej Budai

    - Liberec, 2020-05-13

11

29 Apr 18:45
Compare
Choose a tag to compare
11
# OSBuild Composer - Operating System Image Composition Services

## CHANGES WITH 11:

    * The support for uploading VHD images to Azure is now available.
    
    * AMI images are now produced in the vhdx format. This fixes
     the issue that those images couldn't be previously booted in EC2.

    * In version 10 the logs weren't saved when osbuild failed. This
     is now fixed.
     
    * The warnings when upgrading/removing the RPM package are now fixed.
     Note that updating to version 11 still produces them because
     the upgrade process runs also the scriptlets from version 10.
     
    * The size calculation for Fedora 31 vhd images is fixed.
    
    * The size field was removed from the tar assembler struct.
     The field has actually never been supported in osbuild
     and it doesn't make any sense.
    
    * The minimal required version of osbuild is bumped to 12.
    
    * This release also got big upgrades to the testing infrastructure,
     more tests are run on a CI and they now run faster. Also, the unit
     test coverage is improved.

    Contributions from: Alexander Todorov, Jacob Kozol, Jakub Rusz,
                        Jiri Kortus, Lars Karlitski, Major Hayden,
                        Ondřej Budai, Tom Gundersen

    - Liberec, 2020-04-29

10

15 Apr 15:02
Compare
Choose a tag to compare
10
# OSBuild Composer - Operating System Image Composition Services

## CHANGES WITH 10:

    * The correct metadata_expire value is now passed to dnf. In the
     past, this led to a lot of failed builds, because dnf has the
     default expire time set to 48 hours, whereas the Fedora updates
     repos have the expire time of 6 hours. 

    * A decision was made that the minimal Go version required for
     building the project is 1.12. This is now enforced by the CI.

    * The intermediate s3 object is now deleted after the upload to AWS
     is finished. It has no value for users.
     
    * The upload to AWS has now a bigger timeout. The current coronavirus
     situation is affecting the AWS responsiveness in a negative way.

    * The weldr API has better test coverage. In the process, several
     bugs in sources and composes were fixed.
    
    * Worker and jobqueue packages are receiving a big refactoring.
     This is the prerequisite for having multiple job queues for building
     images for different distributions and architectures.

    * The image tests now boot the AWS images in the actual EC2. 

    Contributions from: Alexander Todorov, Brian C. Lane,
                        Jacob Kozol, Jakub Rusz, Lars Karlitski,
                        Major Hayden, Martin Sehnoutka,
                        Ondřej Budai, Tom Gundersen

    - Liberec, 2020-04-15

9

01 Apr 14:02
Compare
Choose a tag to compare
9
# OSBuild Composer - Operating System Image Composition Services

## CHANGES WITH 9:

    * Fedora is now build with updates and modules repositories
     enabled, therefore up-to-date images are now produced.
     
    * A new man-page `osbuild-composer(7)` with high-level
     description of the project is now available. It can be built
     by the new man target in the Makfile.
     
    * All Fedora images have now a generic initramfs. This should
     make the images more reproducible and less likely failing to boot
     if the image build was done in a less usual environment.
     
    * Metalink is now used to access the Fedora repositories. This change
     should hopefully lead to more stable builds.

    * Composer is now released to Fedora 32 and 33 in a new
     osbuild-composer package. The old golang-github-osbuild-composer
     package will be automatically upgraded to the new one.

    * The internal osbuild-pipeline command now has a more user-friendly
     interface.

    * The RCM API (in development, experimental) is reworked to allow
     any distribution-architecture-image type combination.

    * The work on a high-level description of image types began.
     See image-types directory.
     
    * The osbuild-worker arguments are reworked, they are now much more
     flexible.
     
    * The image-info tool used in the integration tests can be now run
     on Fedora 32.
     
    * The unit test coverage is now much bigger, thanks to all
     contributors!
     
    * Internal distribution representation is significantly reworked,
     this simplifies the process of adding the support for all currently
     missing architectures.
     
    * Integration tests were also improved, the image tests are fully
     switched to the new Go implementation and an automatic way
     of generating test cases is added. The weldr API coverage is also
     much better. Several bugs in it were fixed in the process.
     
    * Codecov.io is now used to monitor the test coverage of the code.
     
    * As always, minor fixes and improvements all over the place.

    Contributions from: Alexander Todorov, Brian C. Lane, David
                        Rheinsberg, Jacob Kozol, Jakub Rusz, Jiri
                        Kortus, Lars Karlitski, Martin Sehnoutka,
                        Ondřej Budai, Tom Gundersen

    - Liberec, 2020-04-01

8

18 Mar 16:41
Compare
Choose a tag to compare
8
  • All generated pipelines now use the rpm stage rather than the dnf stage
  • The state directory can be now set using STATE_DIRECTORY env variable
  • Several fixes in blueprint weldr API
  • Mising systemd scriplets were added to the spec file

7

05 Mar 16:36
Compare
Choose a tag to compare
7
  • rhel 8.1 is now supported
  • automatic tests have been extended
  • semantic versioning of blueprints is now enforced
  • more corner-case errors are now checked
  • preparations for the switch from dnf to rpm
  • better handling of cache directory
  • fixes in weldr/blueprint API
  • osbuild-composer rpm no longer provides lorax-composer

6

24 Feb 15:26
@teg teg
Compare
Choose a tag to compare
6
v6

6