Skip to content

Commit

Permalink
test(sanity): create the ignore file for devel
Browse files Browse the repository at this point in the history
  • Loading branch information
rrey committed Nov 4, 2023
1 parent 3d55a3b commit 4e0195e
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 5 deletions.
1 change: 1 addition & 0 deletions changelogs/fragments/294-bump-grafana-version.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
minor_changes:
- Bump version of Python used in tests to 3.10
- Now testing against Grafana 9.5.13, 8.5.27, 10.2.0
bugfixes:
- grafana_folder, fix an issue during delete (starting Grafana 9.3)
7 changes: 5 additions & 2 deletions plugins/modules/grafana_datasource.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,18 @@
(index name), C(mysql) or C(postgres).
required: false
type: str
default: ''
user:
description:
- The datasource login user for influxdb datasources.
type: str
default: ''
password:
description:
- The datasource password.
- Stored as secure data, see C(enforce_secure_data) and notes!
type: str
default: ''
basic_auth_user:
description:
- The datasource basic auth user.
Expand Down Expand Up @@ -180,6 +183,7 @@
- Monthly
- Yearly
type: str
default: ''
tsdb_version:
description:
- The opentsdb version.
Expand Down Expand Up @@ -280,7 +284,6 @@
aws_custom_metrics_namespaces:
description:
- Namespaces of Custom Metrics for CloudWatch datasource type
default: ''
required: false
type: str
azure_cloud:
Expand Down Expand Up @@ -494,7 +497,7 @@

from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six.moves.urllib.parse import quote
from ansible.module_utils.urls import fetch_url, url_argument_spec, basic_auth_header
from ansible.module_utils.urls import fetch_url, basic_auth_header
from ansible_collections.community.grafana.plugins.module_utils import base


Expand Down
4 changes: 4 additions & 0 deletions tests/sanity/ignore-2.16.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
plugins/modules/grafana_dashboard.py validate-modules:invalid-argument-name
tests/unit/modules/grafana/grafana_plugin/test_grafana_plugin.py pep8:W291
hacking/check_fragment.sh shebang
hacking/find_grafana_versions.py shebang
4 changes: 4 additions & 0 deletions tests/sanity/ignore-2.17.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
plugins/modules/grafana_dashboard.py validate-modules:invalid-argument-name
tests/unit/modules/grafana/grafana_plugin/test_grafana_plugin.py pep8:W291
hacking/check_fragment.sh shebang
hacking/find_grafana_versions.py shebang
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import (absolute_import, division, print_function)

from unittest import TestCase
from unittest.mock import call, patch, MagicMock
from unittest.mock import patch
from ansible_collections.community.grafana.plugins.modules import grafana_datasource
from ansible.module_utils._text import to_bytes
from ansible.module_utils import basic
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import (absolute_import, division, print_function)

from unittest import TestCase
from unittest.mock import patch, MagicMock
from unittest.mock import patch
from ansible_collections.community.grafana.plugins.modules import grafana_team
from ansible.module_utils._text import to_bytes
from ansible.module_utils import basic
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import (absolute_import, division, print_function)

from unittest import TestCase
from unittest.mock import call, patch, MagicMock
from unittest.mock import call, patch
from ansible_collections.community.grafana.plugins.modules import grafana_user
from ansible.module_utils._text import to_bytes
from ansible.module_utils import basic
Expand Down

0 comments on commit 4e0195e

Please sign in to comment.