Skip to content

Commit 0031d12

Browse files
committed
Simplify integration tests for lookup plugins.
1 parent f0c5a0e commit 0031d12

File tree

37 files changed

+307
-1201
lines changed

37 files changed

+307
-1201
lines changed

.github/labels-issues.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,38 +70,26 @@ lookup:bakery:
7070

7171
lookup:folder:
7272
- 'Component Name: lookup_folder'
73-
74-
lookup:folders:
7573
- 'Component Name: lookup_folders'
7674

7775
lookup:host:
7876
- 'Component Name: lookup_host'
79-
80-
lookup:hosts:
8177
- 'Component Name: lookup_hosts'
8278

8379
lookup:ldap_connection:
8480
- 'Component Name: lookup_ldap_connection'
85-
86-
lookup:ldap_connections:
8781
- 'Component Name: lookup_ldap_connections'
8882

8983
lookup:rule:
9084
- 'Component Name: lookup_rule'
91-
92-
lookup:rules:
9385
- 'Component Name: lookup_rules'
9486

9587
lookup:ruleset:
9688
- 'Component Name: lookup_ruleset'
97-
98-
lookup:rulesets:
9989
- 'Component Name: lookup_rulesets'
10090

10191
lookup:site:
10292
- 'Component Name: lookup_site'
103-
104-
lookup:sites:
10593
- 'Component Name: lookup_sites'
10694

10795
lookup:version:

.github/labels-prs.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -113,60 +113,36 @@ lookup:folder:
113113
- any:
114114
- changed-files:
115115
- any-glob-to-any-file: 'plugins/modules/lookup/folder.py'
116-
117-
lookup:folders:
118-
- any:
119-
- changed-files:
120116
- any-glob-to-any-file: 'plugins/modules/lookup/folders.py'
121117

122118
lookup:host:
123119
- any:
124120
- changed-files:
125121
- any-glob-to-any-file: 'plugins/modules/lookup/host.py'
126-
127-
lookup:hosts:
128-
- any:
129-
- changed-files:
130122
- any-glob-to-any-file: 'plugins/modules/lookup/hosts.py'
131123

132124
lookup:ldap_connection:
133125
- any:
134126
- changed-files:
135127
- any-glob-to-any-file: 'plugins/modules/lookup/ldap_connection.py'
136-
137-
lookup:ldap_connections:
138-
- any:
139-
- changed-files:
140128
- any-glob-to-any-file: 'plugins/modules/lookup/ldap_connections.py'
141129

142130
lookup:rule:
143131
- any:
144132
- changed-files:
145133
- any-glob-to-any-file: 'plugins/modules/lookup/rule.py'
146-
147-
lookup:rules:
148-
- any:
149-
- changed-files:
150134
- any-glob-to-any-file: 'plugins/modules/lookup/rules.py'
151135

152136
lookup:ruleset:
153137
- any:
154138
- changed-files:
155139
- any-glob-to-any-file: 'plugins/modules/lookup/ruleset.py'
156-
157-
lookup:rulesets:
158-
- any:
159-
- changed-files:
160140
- any-glob-to-any-file: 'plugins/modules/lookup/rulesets.py'
161141

162142
lookup:site:
163143
- any:
164144
- changed-files:
165145
- any-glob-to-any-file: 'plugins/modules/lookup/site.py'
166-
167-
lookup:sites:
168-
- any:
169-
- changed-files:
170146
- any-glob-to-any-file: 'plugins/modules/lookup/sites.py'
171147

172148
lookup:version:

.github/workflows/ans-int-test-lkp-folder.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
group: ${{ github.workflow }}-${{ github.ref }}
1515
cancel-in-progress: true
1616

17-
name: Ansible Integration Tests for Folder Lookup Module
17+
name: Ansible Integration Tests for Folder Lookup Modules
1818
on:
1919
workflow_dispatch:
2020
schedule:
@@ -25,10 +25,12 @@ on:
2525
- devel
2626
paths:
2727
- 'plugins/lookup/folder.py'
28+
- 'plugins/lookup/folders.py'
2829
push:
2930
paths:
3031
- '.github/workflows/ans-int-test-lkp-folder.yaml'
3132
- 'plugins/lookup/folder.py'
33+
- 'plugins/lookup/folders.py'
3234
- 'plugins/module_utils/**'
3335
- 'tests/integration/files/includes/**'
3436
- 'tests/integration/targets/lookup_folder/**'

.github/workflows/ans-int-test-lkp-folders.yaml

Lines changed: 0 additions & 120 deletions
This file was deleted.

.github/workflows/ans-int-test-lkp-host.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414
group: ${{ github.workflow }}-${{ github.ref }}
1515
cancel-in-progress: true
1616

17-
name: Ansible Integration Tests for Host Lookup Module
17+
name: Ansible Integration Tests for Host Lookup Modules
1818
on:
1919
workflow_dispatch:
2020
schedule:
@@ -25,10 +25,12 @@ on:
2525
- devel
2626
paths:
2727
- 'plugins/lookup/host.py'
28+
- 'plugins/lookup/hosts.py'
2829
push:
2930
paths:
3031
- '.github/workflows/ans-int-test-lkp-host.yaml'
3132
- 'plugins/lookup/host.py'
33+
- 'plugins/lookup/hosts.py'
3234
- 'plugins/module_utils/**'
3335
- 'tests/integration/files/includes/**'
3436
- 'tests/integration/targets/lookup_host/**'

.github/workflows/ans-int-test-lkp-hosts.yaml

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)