Skip to content

Releases: linux-system-roles/tox-lsr

Add support for ansible-test sanity with docker

01 Apr 23:28
58a4e57
Compare
Choose a tag to compare

There have been several issues lately with using ansible-test sanity in the tox venv possibly related to a new github actions environment or a new version of ansible-test. The Galaxy team and Automation Hub use ansible-test sanity --docker. Let's use this for our tox CI.
The .github/workflows/tox.yml for each role will need to set

env:
  TOX_LSR: "git+https://github.com/linux-system-roles/[email protected]"
  LSR_ANSIBLE_TEST_DOCKER: "true"

to use docker in CI

Add support for ansible-test environment

02 Mar 22:56
b82750b
Compare
Choose a tag to compare

Fix several issues with running ansible-test sanity from tox. You can now run tox -e collection,ansible-test to first build the collection then run ansible-test against it. ansible-test sanity is currently run with ansible 2.9 since that's what Automation Hub uses. See the README for more details.

lock down the version of ansible to ansible==2.10.* in tox-lsr, etc.

24 Feb 18:58
9244f50
Compare
Choose a tag to compare
  • additional fixes to run ansible-test in the collection test
  • lock down the version of ansible to ansible==2.10.* in tox-lsr

improve collection testing, etc.

10 Feb 22:20
22f4d63
Compare
Choose a tag to compare
  • runshellcheck.sh: Use find -exe
  • runcollection.sh: Don't be so quiet
  • lsr_ci_runtox: Don't exit too early
  • improve collection testing
  • update README with new *_CONFIG_FILE env. vars

add six to deps for collection

09 Feb 15:28
041c75f
Compare
Choose a tag to compare

add six to deps for collection

minor docs fix

04 Feb 22:43
54c68e3
Compare
Choose a tag to compare

minor docs fix

support for ansible-doc, ansible-test in collections testing

04 Feb 22:36
4ab769c
Compare
Choose a tag to compare

the tox -e collection testenv is now able to run ansible-doc and ansible-test. You can enable this by setting the environment variable LSR_ROLE2COLL_RUN_ANSIBLE_TESTS=true - see the docs for more details

support for molecule v3

25 Jan 01:40
5374f0a
Compare
Choose a tag to compare

support for molecule v3

lock role2collection version

19 Jan 18:18
db4288e
Compare
Choose a tag to compare

lock the lsr_role2collection script to a specific version. This
will allow us to change the script without immediately breaking
CI. Introduce env. vars. for the script version, namespace, and
collection name.

molecule: remove ansible-lint, add jmespath

08 Jan 01:42
bf5c1a9
Compare
Choose a tag to compare

molecule: remove ansible-lint, add jmespath