From 62c94c9b20193a7c703595770e6b043c8f3696e6 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 15 Apr 2024 13:46:47 -0400 Subject: [PATCH] +ansible-lint closes #5878 --- projects/ansible.com/ansible-lint/package.yml | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 projects/ansible.com/ansible-lint/package.yml diff --git a/projects/ansible.com/ansible-lint/package.yml b/projects/ansible.com/ansible-lint/package.yml new file mode 100644 index 00000000..50baa0b6 --- /dev/null +++ b/projects/ansible.com/ansible-lint/package.yml @@ -0,0 +1,26 @@ +distributable: + url: https://github.com/ansible/ansible-lint/archive/refs/tags/{{version.tag}}.tar.gz + strip-components: 1 + +versions: + github: ansible/ansible-lint + +dependencies: + pkgx.sh: ^1 + +build: + dependencies: + python.org: ~3.11 + script: + - bkpyvenv stage {{prefix}} {{version}} + - ${{prefix}}/venv/bin/pip install . + - bkpyvenv seal {{prefix}} ansible-lint + +test: + fixture: | + [defaults] + fact_caching_timeout=invalid-value + script: ansible-lint $FIXTURE + +provides: + - bin/ansible-lint