From 894bf8c1176331b616bca143f0428f043b55e7aa Mon Sep 17 00:00:00 2001 From: Daniel Bengtsson Date: Fri, 7 Aug 2020 11:36:21 +0200 Subject: [PATCH] Add ensure-tox support. Add the ensure-tox role to fix the CI fail. Change-Id: I575e42fe15f16d0bd51597a540a13c4e384ec096 --- .zuul.yaml | 1 + playbooks/env_tox.yaml | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 playbooks/env_tox.yaml diff --git a/.zuul.yaml b/.zuul.yaml index ce750dd..af8fe96 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -10,6 +10,7 @@ - job: name: oslo-cookiecutter-tox-cookiecutter parent: tox + pre-run: playbooks/env_tox.yaml description: | Run tests for oslo-cookiecutter project. diff --git a/playbooks/env_tox.yaml b/playbooks/env_tox.yaml new file mode 100644 index 0000000..e3690aa --- /dev/null +++ b/playbooks/env_tox.yaml @@ -0,0 +1,7 @@ +- hosts: all + tasks: + - name: Ensure tox is installed + include_role: + name: ensure-tox + vars: + ensure_global_symlinks: True