Skip to content

Commit c7780aa

Browse files
Merge pull request #190 from ansible-community/0.8.0-release
0.8.0 release Reviewed-by: Tomas Tomecek <[email protected]> https://github.com/TomasTomecek
2 parents f2e06f0 + d56dbab commit c7780aa

File tree

3 files changed

+72
-5
lines changed

3 files changed

+72
-5
lines changed

.packit.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ jobs:
1818
trigger: pull_request
1919
metadata:
2020
targets:
21-
# tests pass here
2221
- fedora-30-x86_64
23-
# https://github.com/ansible-community/ansible-bender/issues/181
2422
- fedora-31-x86_64
25-
# we can't even the provision test env here: twine fails to install
2623
- fedora-rawhide-x86_64
24+
- job: propose_downstream
25+
trigger: release
26+
metadata:
27+
dist-git-branch: master

CHANGELOG.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,66 @@
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+
164
# 0.7.0
265

366
## Changes

ansible-bender.spec

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
%bcond_with privileged_tests
77

88
Name: ansible-bender
9-
Version: 0.7.0
10-
Release: 4%{?dist}
9+
Version: 0.8.0
10+
Release: 1%{?dist}
1111
Summary: Build container images using Ansible playbooks
1212

1313
License: MIT
@@ -84,6 +84,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} \
8484

8585

8686
%changelog
87+
* Tue Nov 19 2019 Tomas Tomecek <[email protected]> - 0.8.0-1
88+
- new upstream release: 0.8.0
89+
8790
* Thu Oct 03 2019 Miro Hrončok <[email protected]> - 0.7.0-4
8891
- Rebuilt for Python 3.8.0rc1 (#1748018)
8992

0 commit comments

Comments
 (0)