|
| 1 | +# 0.8.0 |
| 2 | + |
| 3 | +Thank you to all the contributors! You are awesome! |
| 4 | + |
| 5 | +And special thanks to @kmehant, our [Red Hat Open Source Contest 2019](https://research.redhat.com/red-hat-open-source-contest/) student. |
| 6 | + |
| 7 | +## Features |
| 8 | + |
| 9 | +* You can now pass extra arguments to `buildah from` call when bender creates |
| 10 | + new build container. This can be done from CLI using |
| 11 | + `--extra-buildah-from-args` option of build command or in the playbook: |
| 12 | + `vars → ansible-bender → buildah_from_extra_args`. Thanks to @jordemort #140 |
| 13 | +* One can print bender's version using `-V/--version` options. |
| 14 | +* The final image build by bender can now be squashed — all layers merged into |
| 15 | + one. This can be done with the `--squash` option or in the playbook: `vars → |
| 16 | + ansible-bender → squash`. @jordemort #154 |
| 17 | +* Entrypoints now can be set! Aside from default container commands. Similar |
| 18 | + drill: `--entrypoint` or `vars → ansible-bender → target_image → entrypoint`, |
| 19 | + thanks you, @slopedog #155 |
| 20 | +* Build times in `list-builds` are now more readable, enjoy! Thanks to @kmehant |
| 21 | + #161 |
| 22 | +* Bender can now locate platform-python of RHEL 8 and CentOS 8, thanks to |
| 23 | + @hhenkel #171 |
| 24 | +* When running bender in debug mode (--debug), ansible stdout callback plugin |
| 25 | + is set to debug (`ANSIBLE_STDOUT_CALLBACK=debug`). @kmehant #175 |
| 26 | +* Ansible executes a playbook in the buildah container using `buildah run` |
| 27 | + command. Before bender gets to that point, it tries to create a no-op |
| 28 | + container (`buildah from --name $container $base_image && buildah run |
| 29 | + $container true`) first to verify that the container runtime is correctly set |
| 30 | + up. @kmehant #174 |
| 31 | +* We have two new subcommands: |
| 32 | + * `init` — create a template playbook in the current working directory so you |
| 33 | + can get on-board bender's train more easily. @kmehant #184 |
| 34 | + * `clean` — clean images from database which are no longer present on disk |
| 35 | + @kmehant #180 |
| 36 | + |
| 37 | +## Bug fixes |
| 38 | + |
| 39 | +* Buildah 1.7.3 introduced a backwards-incompatible change to `commit` command |
| 40 | + which required changes in bender's code. Bender is now able to work with |
| 41 | + both: buildah `< 1.7.3` and `>= 1.7.3`. CentOS 8.0 and RHEL 8.0 have buildah |
| 42 | + `< 1.7.3`. |
| 43 | +* Bender is using file locking when using its database (`~/.cache/ab/db.json`), |
| 44 | + the locks are now atomic thanks to @kmehant #176 |
| 45 | +* When you set bender-specific variables in your playbook (`vars → |
| 46 | + ansible-bender`) and there is a typo in any of the variables or the variable |
| 47 | + is not recognized, bender exits and informs you about this problem — we have |
| 48 | + implemented this to prevent typos in the configuration so that you would not |
| 49 | + be able to build invalid images. @kmehant #189 |
| 50 | +* Bender no longer prints output from buildah pull as errors. @kmehant #195 |
| 51 | + |
| 52 | +## Minor |
| 53 | + |
| 54 | +* [Contribution guide](/CONTRIBUTING.md) is now placed in the upstream repo. |
| 55 | +* You can now invoke ansible-bender directly from the upstream git repo using |
| 56 | + the common python way: |
| 57 | + ``` |
| 58 | + $ python3 -m ansible_bender --help |
| 59 | + ``` |
| 60 | + @kmehant #160 |
| 61 | +* Bender is now using [Packit project](https://packit.dev/) for continuous integration. |
| 62 | + |
| 63 | + |
1 | 64 | # 0.7.0
|
2 | 65 |
|
3 | 66 | ## Changes
|
|
0 commit comments