Releases: lae/ansible-role-travis-lxc
v0.10.1
v0.9.0
This is mainly a transitive release using the unmaintained lxc-templates project. Support for some newer distributions will require some refactoring in an upcoming release.
Travis Image Update
This role now uses the Ubuntu Bionic (18.04) Travis CI build image. For most users, this should only require updating dist: trusty
to dist: bionic
in your .travis.yml
definition (extra steps might be required if, for example, you're installing other Ansible dependencies via a package manager).
Test Profile Updates
- Alpine 3.9, 3.10, and 3.11 definitions added. 3.8 and below are no longer being tested.
- Ubuntu 20.04 (Focal) definition added. Trusty is no longer being tested.
- Per d10cbc6 debootstrap on Trusty does fail due to apt failures. This may get fixed in the refactor (through prebuilt images), though.
- CentOS 6 is no longer being tested.
- Debian Jessie is no longer being tested.
- Fedora 27-28 is no longer being tested.
No definitions have been removed and most should still be working, but support for EOL/old distros may be limited.
v0.8.1
Minor feature/maintenance release:
- Debian 10 support
- Fixed Fedora containers missing required packages like sudo
- Fixed Debian containers failing due to outdated keyring
Not specifically related to functionality of the role itself, but a Vagrantfile is now included for testing this role outside of Travis (useful for when it breaks), and Ansible 2.8 stable is now tested against.
v0.8.0
Test Profile Updates
- Introduces support for Alpine 3.8 and Fedora 28 and drops support for Ubuntu Precise. Fedora 25/26 and Debian Wheezy are still usable, but as as they are EOL upstream they are no longer included in our test suite (and thus it's possible they may break in the future.)
- Fixes a bug causing CentOS 6 containers to occasionally break
- Fixes Debian 8 container builds by installing the Debian Archive Keyring (likely affected builds without a cache from June 2018)
Local User
This role now creates a local user in build containers that matches the name of the user running a playbook with this role (e.g. travis
). This allows you to login to build containers unprivileged and use become
on
a need-by basis.
Ansible Updates/Cleanup
Backwards-compatible code with v0.6, supporting host_quantity
and the LXC_DISTRO
/LXC_RELEASE
environment variables has been removed. Please use test_profiles
instead.
Support for Ansible 2.4 and earlier has been dropped as they are EOL. This role now requires Ansible 2.5+ in order to run, and should be usable up to at least Ansible 2.11.
This role should handle a few network hiccups better during package installations/etc.
v0.7.3
v0.7.2
v0.7.1
v0.7.0
Test Profiles
You can now test against several distributions at once in the same environment with the test_profiles
role variable. For usage, please refer to the README
.
While backwards compatibility is currently maintained, the following role variables are deprecated and will be removed in a future release.
host_quantity
host_prefix
template
release
The LXC_DISTRO
and LXC_RELEASE
environment variables are also deprecated and will also be removed. Please update your roles to use test profiles or ensure that you pin to this version (ansible-galaxy install lae.travis-lxc,v0.7.0
).
Build time improvements
A base container per profile is created and resulting LXC hosts are cloned off the base container using OverlayFS. This frees up disk space and improves disk access times when running multiple containers. Containers are also now started up in parallel, and the base containers are cached if the LXC cache directory is specified in .travis.yml
. Refer to the README
for more information.
v0.6.1
v0.6.0
Mainly a fulfilling technical debt release in response to some changes to Ansible for 2.5.
epel-release
is no longer installed by default in CentOS containers, so if you depend on it being already installed, you should install it prior to running tests (or, if you see it fit, install EPEL within your role itself).- This release also removes support for Fedora 24 and introduces support for Fedora 27. (Note that Fedora 25 is not supported upstream anymore.)
This'll likely be one of the last releases before bumping to v1.0.