Ansible-builder

Latest version: v3.0.1

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

Scan your dependencies

Page 1 of 2

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

1.2.0

What's Changed
* Add min python version to install docs by Shrews in https://github.com/ansible/ansible-builder/pull/381
* Add support of HTTP requirements by stanislav-zaprudskiy in https://github.com/ansible/ansible-builder/pull/378
* Remove unused Containerfile parameter by Shrews in https://github.com/ansible/ansible-builder/pull/386
* Optimize logger lines containing string formatting by Shrews in https://github.com/ansible/ansible-builder/pull/385
* Remove integration test for prune by Akasurde in https://github.com/ansible/ansible-builder/pull/389
* Implement ANSIBLE_GALAXY_CLI_ROLE_OPTS by Akasurde in https://github.com/ansible/ansible-builder/pull/394
* Fix default tag not being used by Shrews in https://github.com/ansible/ansible-builder/pull/395
* Add LABEL to Containerfile by Akasurde in https://github.com/ansible/ansible-builder/pull/397
* Add pulp_integration framework by Shrews in https://github.com/ansible/ansible-builder/pull/400
* only run pulp tests when registry secrets are available by nitzmahone in https://github.com/ansible/ansible-builder/pull/403
* Fix secrets_preflight check by Shrews in https://github.com/ansible/ansible-builder/pull/405
* Container image signature validation by Shrews in https://github.com/ansible/ansible-builder/pull/371
* [backport][release_1.2] Update CI GH actions by Shrews in https://github.com/ansible/ansible-builder/pull/421

**Full Changelog**: https://github.com/ansible/ansible-builder/compare/1.1.0...1.2.0

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.