Skip to content

Commit 9b990b9

Browse files
Add a fake integration suite including an aliases file listing every module name with missing integration tests. (#986) (#1010)
Add a fake integration suite including an aliases file listing every … …module name with missing integration tests. (#986) Prevent CI to be run for whole collection when modules without integration tests are modified Add a fake integration suite including an aliases file listing every module name with missing integration tests. This fake suite is necessary for the new CI ansible-test-splitter behaviour. Namely, if one of the modules (listed in the aliases file) without a test suite is modified, the CI is run for the entire collection since the ansible-test-splitter won't find any target match. This fake integration suite helps handle this situation by avoiding running the CI for the whole collection. Furthermore, since the modules listed in the aliases file are marked as disabled, tests are automatically skipped). Add some of the modules in the aliases files where it makes more sense. SUMMARY ISSUE TYPE Bugfix Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Mark Chappell SUMMARY ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Mark Woolley <[email protected]>
1 parent 00a26e9 commit 9b990b9

File tree

6 files changed

+53
-0
lines changed

6 files changed

+53
-0
lines changed

tests/integration/targets/aws_waf_web_acl/aliases

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ aws_waf_info
88
aws_waf_web_acl
99
aws_waf_web_match
1010
aws_waf_web_rule
11+
aws_waf_condition
12+
aws_waf_rule

tests/integration/targets/ec2_asg/aliases

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
disabled
55

66
cloud/aws
7+
8+
ec2_asg_info

tests/integration/targets/ecs_cluster/aliases

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ unsupported
44

55
cloud/aws
66

7+
ecs_service
78
ecs_service_info
89
ecs_task
910
ecs_taskdefinition
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
cloud/aws
2+
3+
elb_classic_lb_info
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Fake integration suite
2+
3+
This is a fake integration suite including an aliases file listing every module name with missing integration tests.
4+
5+
This fake suite is necessary for the new CI ansible-test-splitter behaviour. Namely, if one of the modules (listed in the aliases file) without a test suite is modified, the CI is run for the entire collection since the ansible-test-splitter won't find any target match. This fake integration suite helps handle this situation by avoiding running the CI for the whole collection. Furthermore, since the modules listed in the aliases file are marked as disabled, tests are automatically skipped).
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
disabled
2+
3+
# Modules that do not have test suites
4+
aws_application_scaling_policy
5+
aws_batch_compute_environment
6+
aws_batch_job_definition
7+
aws_batch_job_queue
8+
aws_direct_connect_confirm_connection
9+
aws_direct_connect_connection
10+
aws_direct_connect_gateway
11+
aws_direct_connect_link_aggregation_group
12+
aws_direct_connect_virtual_interface
13+
aws_s3_cors
14+
aws_sgw_info
15+
cloudfront_info
16+
cloudfront_invalidation
17+
cloudfront_origin_access_identity
18+
cloudwatchevent_rule
19+
cloudwatchlogs_log_group_info
20+
data_pipeline
21+
dynamodb_ttl
22+
ec2_ami_copy
23+
ec2_asg_lifecycle_hook
24+
ec2_customer_gateway
25+
ec2_customer_gateway_info
26+
ec2_snapshot_copy
27+
ec2_vpc_vgw_info
28+
ec2_win_password
29+
ecs_attribute
30+
elasticache_info
31+
elasticache_parameter_group
32+
elasticache_snapshot
33+
elb_target_group_info
34+
iam_mfa_device_info
35+
lambda_event
36+
rds_instance_snapshot
37+
rds_snapshot_info
38+
redshift_cross_region_snapshots
39+
s3_website
40+
sts_session_token
41+
ec2_vpc_vpn

0 commit comments

Comments
 (0)