Skip to content

Releases: ansible/ansible-builder

3.1.0

20 Jun 16:13
6870747
Compare
Choose a tag to compare

What's Changed

New Features

  • Support for tags from the configuration file by @Akasurde in #555
  • Support multiple -v for verbosity by @Shrews in #564
  • Allow the .yaml file extension on the default EE file by @Shrews in #631
  • Account for PEP668 in pip invocations by @Shrews in #627
  • Expose a way to exclude dependencies by @Shrews in #664
    • This change removes Python dependency sanitization, which may cause build issues in images with older versions of pip that cannot handle duplicate requirement entries.
  • Support extra build command args by @Shrews in #677

Other Improvements

  • Various improvements to documentation.
  • Warn if USER directive is found in additional_build_steps by @Akasurde in #528
  • Warn about version less than 3 by @Akasurde in #574
  • Warn user about using default base image in v3 by @Akasurde in #591
  • Fix container policy for version 3 by @Shrews in #652
  • Guarantee collection base path exists by @Shrews in #683

New Contributors

Full Changelog: 3.0.0...3.1.0

3.0.1

21 Feb 16:11
e991c1a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 3.0.0...3.0.1

3.0.0

15 May 18:13
43a5017
Compare
Choose a tag to compare

What's Changed

A major evolution of Ansible Builder's Execution Environment definition format, with overall themes of increased flexibility and minimizing required manual alterations of generated build contexts. New features of the version 3 Execution Environment definition include:

  • Use of vanilla RHEL-ish container images instead of specially-crafted base and builder images (tested against Fedora, CentOS Stream 8/9, UBI9 and others).
  • Injection of custom build steps before and after every build stage.
  • Copying arbitrary files from the builder host into the generated container build context (which can then be copied into intermediate/final container images as needed with custom build steps).
  • Declarative bootstrapping of Python, Ansible Core, and Ansible Runner (in addition to roles/collections, of course).
  • Inline definition of Python/bindep/role/collection requirements in Execution Environment YAML (external files also still supported).
  • Customization of final container initialization ENTRYPOINT, USER, and CMD (with verified automatic defaults).
  • Dynamic builder image from user-specified base image- specifying a builder image is no longer required (or allowed).
  • Faster builds due to linear stage inheritance and removal of forced OS package upgrades.
  • Numerous bugfixes and minor enhancements... see documentation for examples.

Breaking Changes

  • The --squash argument to build now defaults to off for all container runtimes. This allows build caches to function by default for podman during development and testing, at the cost of more intermediate layers in the resultant image. Manually specifying --squash new is suggested for CI and production builds when using podman to minimize the size and number of intermediate layers.

  • Forced OS package manager upgrades are no longer performed in individual build stages by default. If a full OS package upgrade is desired, add a new build directive to prepend_base under additional_build_steps (e.g., - RUN dnf upgrade -y) to upgrade packages on the base image. The upgraded packages will be reflected in all subsequent build stages.

3.0.0rc2

05 May 21:49
43a5017
Compare
Choose a tag to compare
3.0.0rc2 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: 3.0.0rc1...3.0.0rc2

3.0.0rc1

25 Apr 05:31
52189d2
Compare
Choose a tag to compare
3.0.0rc1 Pre-release
Pre-release

What's Changed

Full Changelog: 3.0.0b1...3.0.0rc1

3.0.0b1

19 Apr 15:37
8aa6855
Compare
Choose a tag to compare
3.0.0b1 Pre-release
Pre-release

What's Changed

A 3.0 evolution of ansible-builder to address a number of pain points with current ansible-builder. New features available with the new version 3 of the execution environment definition file include:

  • Allows use of vanilla RHEL-ish container images instead specially-crafted images- check out demo/v3_demo/execution-environment.yml for a working sample tested with Fedora, CentOS Stream 8/9, UBI9...
  • Allows injection of custom before/after build steps at every build stage.
  • Allows copying arbitrary files from the builder host into the generated container build context (which can then be copied into intermediate/final container images as needed with custom build steps).
  • Allows declarative bootstrapping of Python, Ansible Core, and Ansible Runner (in addition to roles/collections, of course).
  • Allows inline definition of EE Python/bindep/role/collection requirements.
  • Allows customization of ENTRYPOINT and CMD.
  • Specifying a builder image is no longer needed (or allowed).
  • Many other goodies... see documentation for examples.

Full Changelog: https://github.com/ansible/ansible-builder/commits/3.0.0b1

1.2.0

01 Nov 21:35
664643a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.1.0...1.2.0

1.1.0

05 May 07:29
Compare
Choose a tag to compare

What's Changed

New Contributors

Read more

1.0.1

02 Jul 21:15
1.0.1
13f24c3
Compare
Choose a tag to compare
Release 1.0.1

1.0.0

30 Jun 12:33
afd1631
Compare
Choose a tag to compare
Release 1.0.0