Verified Commit accb6f24 authored by Maciej Delmanowski's avatar Maciej Delmanowski

Merge branch 'ypid-rework/filter_plugins'

parents 830b7e5b 77702037
Pipeline #63174082 (#580) passed with stages
in 403 minutes and 13 seconds
......@@ -105,7 +105,7 @@ twine-upload: ## Upload Python packages to PyPI
@twine upload dist/*
.PHONY: test-all
test-all: clean-tests test-pep8 test-debops-tools test-docs test-playbook-syntax test-yaml test-ansible-lint test-shell test-docker-build
test-all: clean-tests test-pep8 test-debops-tools test-debops-ansible_plugins test-docs test-playbook-syntax test-yaml test-ansible-lint test-shell test-docker-build
.PHONY: test-pep8
test-pep8:
......@@ -162,6 +162,11 @@ test-debops-tools:
@printf "%s\n" "Testing debops-tools using nose2..."
@nose2 --with-coverage
.PHONY: test-debops-ansible_plugins
test-debops-ansible_plugins:
@printf "%s\n" "Testing debops-ansible_plugins using nose2..."
@python ansible/roles/debops.ansible_plugins/filter_plugins/debops_filter_plugins.py
.PHONY: fail-if-git-dirty
fail-if-git-dirty:
@git diff --quiet && git diff --cached --quiet || ( \
......
......@@ -9,7 +9,6 @@
# (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils._text import to_native
......@@ -25,6 +24,8 @@ try:
except ImportError:
HAS_LDAP = False
__metaclass__ = type
ANSIBLE_METADATA = {'metadata_version': '1.1',
'status': ['preview'],
'supported_by': 'community'}
......
......@@ -5,6 +5,8 @@ set -o nounset -o pipefail -o errexit
sudo apt-get -qq update
pip install --upgrade pip wheel setuptools
pip install \
unittest2 \
cov-core \
future \
nose2 \
cov-core
unittest2 \
pyyaml
......@@ -3,5 +3,5 @@
set -o nounset -o pipefail -o errexit
make clean-tests
make test-debops-tools
make test-debops-tools test-debops-ansible_plugins
make check
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment