Skip to content

Releases: ansible-community/ansible-bender

0.5.0

02 Mar 15:34
0cdafe6
Compare
Choose a tag to compare

0.5.0

Breaking changes

  • Option --labels was renamed to --label to match other container tooling.

Features

  • Ansible-bender can now be configured using Ansible variables. For more info,
    please read the documentation
    • Given this change, base image and target image name are now optional
      arguments of the build command.
  • Bender now uses more candidates when searching for python interpreter in the
    base image, namely /usr/bin/python3.7 and so on.
  • You can now set annotations on the target image.
  • When bender invokes a playbook against a container, it now changes hosts
    variable (in a copy), so that it's not accidentally executed in localhost
    environment.
  • Json schema is now used to validate input.
  • Before starting the build process, bender checks if the container backend
    works.

Bug fixes

  • When ansible-playbook command uses python 2, bender refuses to continue since
    the build will not work.
  • Errors are now being properly logged when bender looks for python interpreter
    in the base image.
  • There was a need for a compatibility fix with buildah 1.7.
  • A build will terminate if there was an exception thrown during the caching or
    layering process.
  • Bender will not try to load non-existent layers from cache.

0.4.0

28 Jan 21:42
4c2281b
Compare
Choose a tag to compare

0.4.0

Ansible-bender now uses Azure Pipelines as a CI system.

Features

  • There were updates to documentation in README:
    • Info about vfs and overlay buildah storage backends.
    • Rootless containers.
    • How you can use base images with python2.
    • Requirements of ansible-bender.
  • Bender now produces a more clear message when a base image doesn't have a
    python interpreter.
  • You are now able to pass path to the python interpreter inside the base image
    via CLI.

Bug fixes

  • Bender now uses more buildah commands instead of podman.
  • If bender is invoked with a non-root user, the ansible-playbook session is
    now wrapped with buildah unshare.
  • Don't print to error log when an image is being pulled.

0.3.2

11 Jan 10:08
02344fa
Compare
Choose a tag to compare

0.3.2

I experimented with running ansible-bender inside an OpenShift pod. Details can
be found in a Makefile and in the contrib/ directory.

Bug fixes

  • Ansible-bender is now able to pull base images properly again if they are not
    present before a build.
  • podman is now used to perform inspect.
  • Working container name was improved to be more safe.

0.3.1

13 Dec 14:12
Compare
Choose a tag to compare

No changelog provided

0.3.0

18 Nov 16:51
2a16567
Compare
Choose a tag to compare

No changelog provided

0.2.1

10 Nov 13:11
12c341d
Compare
Choose a tag to compare

No changelog provided

0.2.0

08 Nov 17:40
5fce825
Compare
Choose a tag to compare

0.1.0

24 Aug 12:42
Compare
Choose a tag to compare

Initial release!

Features

  • You can build your container images with buildah as a backend.
  • You are able to set various image metadata via CLI:
    • working directory
    • environment variables
    • labels
    • user
    • default command
    • exposed ports
  • You can do volume mounts during build.