Escape use of % in tox.ini to avoid interpolation
Zuul-jobs tox roles wants to be able to run tox --showconfig -e linters. Unfortunately our linters target has an unescaped % symbol in it which causes python3 + tox to fail with an interpolation error. Escaping the % to avoid interpolation addresses this. Change-Id: I7e23595495909fc94a7ea5a9e461e67e25ddeae9
This commit is contained in:
parent
1bd14f4eea
commit
e25845d8fa
2
tox.ini
2
tox.ini
@ -40,7 +40,7 @@ commands =
|
|||||||
# Ansible lint
|
# Ansible lint
|
||||||
bash -c "find playbooks -type f -regex '.*.ya?ml' -print0 | \
|
bash -c "find playbooks -type f -regex '.*.ya?ml' -print0 | \
|
||||||
xargs -t -n1 -0 ansible-lint"
|
xargs -t -n1 -0 ansible-lint"
|
||||||
bash -c 'find roles -maxdepth 1 -mindepth 1 -type d -printf "%p/\n" | \
|
bash -c 'find roles -maxdepth 1 -mindepth 1 -type d -printf "%%p/\n" | \
|
||||||
xargs -t -n1 ansible-lint'
|
xargs -t -n1 ansible-lint'
|
||||||
# Ansible Syntax Check
|
# Ansible Syntax Check
|
||||||
bash -c "find playbooks -type f -regex '.*.ya?ml' -exec \
|
bash -c "find playbooks -type f -regex '.*.ya?ml' -exec \
|
||||||
|
Loading…
Reference in New Issue
Block a user