Ansible-builder

Latest version: v3.1.0

Safety actively analyzes 688724 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

3.1.0

What's Changed

New Features
* Support for tags from the configuration file by Akasurde in https://github.com/ansible/ansible-builder/pull/555
* Support multiple -v for verbosity by Shrews in https://github.com/ansible/ansible-builder/pull/564
* Allow the .yaml file extension on the default EE file by Shrews in https://github.com/ansible/ansible-builder/pull/631
* Account for PEP668 in pip invocations by Shrews in https://github.com/ansible/ansible-builder/pull/627
* Expose a way to exclude dependencies by Shrews in https://github.com/ansible/ansible-builder/pull/664
* Support extra build command args by Shrews in https://github.com/ansible/ansible-builder/pull/677

Other Improvements
* Various improvements to documentation.
* Warn if `USER` directive is found in `additional_build_steps` by Akasurde in https://github.com/ansible/ansible-builder/pull/528
* Warn about version less than 3 by Akasurde in https://github.com/ansible/ansible-builder/pull/574
* Warn user about using default base image in v3 by Akasurde in https://github.com/ansible/ansible-builder/pull/591
* Fix container policy for version 3 by Shrews in https://github.com/ansible/ansible-builder/pull/652
* Guarantee collection base path exists by Shrews in https://github.com/ansible/ansible-builder/pull/683

New Contributors
* sivel made their first contribution in https://github.com/ansible/ansible-builder/pull/535
* Andersson007 made their first contribution in https://github.com/ansible/ansible-builder/pull/549
* felixfontein made their first contribution in https://github.com/ansible/ansible-builder/pull/544
* acozine made their first contribution in https://github.com/ansible/ansible-builder/pull/552
* dependabot made their first contribution in https://github.com/ansible/ansible-builder/pull/545
* samccann made their first contribution in https://github.com/ansible/ansible-builder/pull/623
* w4hf made their first contribution in https://github.com/ansible/ansible-builder/pull/598
* bhavikbhavsar made their first contribution in https://github.com/ansible/ansible-builder/pull/642
* webknjaz made their first contribution in https://github.com/ansible/ansible-builder/pull/667
* audgirka made their first contribution in https://github.com/ansible/ansible-builder/pull/662

**Full Changelog**: https://github.com/ansible/ansible-builder/compare/3.0.0...3.1.0

3.0.1

What's Changed
* Wrap variable in double quotes by Akasurde in https://github.com/ansible/ansible-builder/pull/537
* definition.rst: Add link to Galaxy requirements file format; add example of specifying collection version by Andersson007 in https://github.com/ansible/ansible-builder/pull/549
* Docs: mention a few base images as examples, using a free one as the default by felixfontein in https://github.com/ansible/ansible-builder/pull/544
* Update to the builder documentation by acozine in https://github.com/ansible/ansible-builder/pull/552
* Document PKGMGR_PRESERVE_CACHE by Akasurde in https://github.com/ansible/ansible-builder/pull/558
* Added scenarios for version 3 by Akasurde in https://github.com/ansible/ansible-builder/pull/538
* Docs: Using prepend_base by Akasurde in https://github.com/ansible/ansible-builder/pull/563
* collection_metadata: improve documentation by Andersson007 in https://github.com/ansible/ansible-builder/pull/551
* Improve CLI usage docs by Andersson007 in https://github.com/ansible/ansible-builder/pull/559
* Fix container policy for version 3 by Shrews in https://github.com/ansible/ansible-builder/pull/654

New Contributors
* felixfontein made their first contribution in https://github.com/ansible/ansible-builder/pull/544
* acozine made their first contribution in https://github.com/ansible/ansible-builder/pull/552

**Full Changelog**: https://github.com/ansible/ansible-builder/compare/3.0.0...3.0.1

3.0.0

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

What's Changed
* Remove get-extra-packages by Akasurde in https://github.com/ansible/ansible-builder/pull/492
* Add pipopts on install-from-bindep by tanganellilore in https://github.com/ansible/ansible-builder/pull/468
* Normalize package names with lowercase by dsavineau in https://github.com/ansible/ansible-builder/pull/460
* switch to setuptools_scm by nitzmahone in https://github.com/ansible/ansible-builder/pull/494
* Faster integration tests by nitzmahone in https://github.com/ansible/ansible-builder/pull/495
* Fix test_base_image_build_arg to remove test image by Shrews in https://github.com/ansible/ansible-builder/pull/500
* Update contrib and readme by Shrews in https://github.com/ansible/ansible-builder/pull/499
* move pytest coverage and parallelization to tox config by nitzmahone in https://github.com/ansible/ansible-builder/pull/498
* Ignore mtime for requirements files by Shrews in https://github.com/ansible/ansible-builder/pull/502
* Update schema doc for 3.0 version reference by Shrews in https://github.com/ansible/ansible-builder/pull/504
* Fix path for _target_scripts in Containerfile by Akasurde in https://github.com/ansible/ansible-builder/pull/507
* fix serial mark enforcement by nitzmahone in https://github.com/ansible/ansible-builder/pull/510
* Add pytest option to skip runtime by Shrews in https://github.com/ansible/ansible-builder/pull/508
* Fix for pulp setup by Shrews in https://github.com/ansible/ansible-builder/pull/511
* Remove redundant requirements.py file by Shrews in https://github.com/ansible/ansible-builder/pull/513
* explicitly set WORKDIR on builder stage by nitzmahone in https://github.com/ansible/ansible-builder/pull/512
* support blind-translated YAML mapping for galaxy deps by nitzmahone in https://github.com/ansible/ansible-builder/pull/515
* Update labeler and issue-labeler actions by Akasurde in https://github.com/ansible/ansible-builder/pull/518
* Remove forced `dnf upgrade`, speed up tests by nitzmahone in https://github.com/ansible/ansible-builder/pull/516
* Allow to set user value for the container image by Akasurde in https://github.com/ansible/ansible-builder/pull/521
* Purge /output for final image by Shrews in https://github.com/ansible/ansible-builder/pull/522
* Added missing underscore in target_scripts path by Akasurde in https://github.com/ansible/ansible-builder/pull/524
* Parse build-args for empty values by Akasurde in https://github.com/ansible/ansible-builder/pull/517

New Contributors
* tanganellilore made their first contribution in https://github.com/ansible/ansible-builder/pull/468
* dsavineau made their first contribution in https://github.com/ansible/ansible-builder/pull/460

**Full Changelog**: https://github.com/ansible/ansible-builder/compare/3.0.0rc1...3.0.0rc2

3.0.0rc1

What's Changed
* Add docs for container_init options by Shrews in https://github.com/ansible/ansible-builder/pull/480
* Include data files from _target_scripts by Akasurde in https://github.com/ansible/ansible-builder/pull/483
* Pass full path while copying by Akasurde in https://github.com/ansible/ansible-builder/pull/479
* entrypoint script support, passwd permission relax by nitzmahone in https://github.com/ansible/ansible-builder/pull/486
* update demo EE definition, remove old versions by nitzmahone in https://github.com/ansible/ansible-builder/pull/488
* disable busted pbr bits by nitzmahone in https://github.com/ansible/ansible-builder/pull/490


**Full Changelog**: https://github.com/ansible/ansible-builder/compare/3.0.0b1...3.0.0rc1

3.0.0b1

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

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.