Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Releases: lae/ansible-role-travis-lxc

v0.10.1

16 Jan 03:22
@lae lae
27d602d
Compare
Choose a tag to compare

Bug fix release.

Python 2 (EOL) support is deprecated as of this release.

v0.9.0

06 May 05:45
@lae lae
9333b05
Compare
Choose a tag to compare

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

04 Aug 15:34
@lae lae
v0.8.1
b3b86dd
Compare
Choose a tag to compare

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

26 Oct 08:15
@lae lae
v0.8.0
8b6d0fe
Compare
Choose a tag to compare

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

07 May 13:30
@lae lae
cb040f6
Compare
Choose a tag to compare

Python 3 support

Technically, all versions of Python should now be supported when using this role, but only 3.6 is strictly tested.

New Profiles

Alpine v3.7 and v3.6 and Ubuntu Bionic Beaver are now supported profiles.

v0.7.2

07 May 07:15
@lae lae
5516876
Compare
Choose a tag to compare

Bug fix release regarding installing/upgrading packages in CentOS/Fedora containers

v0.7.1

07 May 07:13
@lae lae
d2b8b1a
Compare
Choose a tag to compare

Minor feature release, introduces lxc_use_overlayfs role variable to configure whether or not to use OverlayFS.

If you are attempting to run Docker inside of LXC or otherwise using OverlayFS, you should set this variable to false.

v0.7.0

22 Apr 07:25
@lae lae
v0.7.0
8a4d2a3
Compare
Choose a tag to compare

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

21 Feb 17:37
@lae lae
v0.6.1
77842e5
Compare
Choose a tag to compare

You can now specify preinstalled packages in your test containers using the additional_packages role variable.

v0.6.0

19 Feb 01:37
@lae lae
v0.6.0
3ac3e00
Compare
Choose a tag to compare

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.