-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[PR #1652/e01ac083 backport][stable-5] aws_ssm - Rework (and enable) integration tests This is a backport of PR #1652 as merged into main (e01ac08). Depends-On: #558 SUMMARY aws_ssm tests have been broken for a while. This should get initial integration tests up and running ISSUE TYPE Feature Pull Request COMPONENT NAME aws_ssm ADDITIONAL INFORMATION Notes: Does not cover cross-geo S3 buckets (only one region in CI at the minute) Does not cover encrypted buckets (missing permissions) Reviewed-by: Markus Bergholz <[email protected]>
- Loading branch information
1 parent
d1fd605
commit 7dc4f32
Showing
48 changed files
with
481 additions
and
357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
trivial: | ||
- aws_ssm - Rework and enable aws_ssm integration tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# Used to test basic operation once a connection plugin has established a connection | ||
hidden | ||
disabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/integration/targets/connection_aws_ssm/aws_ssm_integration_test_setup.yml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...s/integration/targets/connection_aws_ssm/aws_ssm_integration_test_setup/defaults/main.yml
This file was deleted.
Oops, something went wrong.
151 changes: 0 additions & 151 deletions
151
tests/integration/targets/connection_aws_ssm/aws_ssm_integration_test_setup/tasks/main.yml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
...nnection_aws_ssm/aws_ssm_integration_test_setup/templates/ec2_linux_vars_to_delete.yml.j2
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
...connection_aws_ssm/aws_ssm_integration_test_setup/templates/inventory-combined.aws_ssm.j2
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
...gets/connection_aws_ssm/aws_ssm_integration_test_setup/templates/s3_vars_to_delete.yml.j2
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
tests/integration/targets/connection_aws_ssm/aws_ssm_integration_test_teardown.yml
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
...egration/targets/connection_aws_ssm/aws_ssm_integration_test_teardown/README.md
This file was deleted.
Oops, something went wrong.
90 changes: 0 additions & 90 deletions
90
...s/integration/targets/connection_aws_ssm/aws_ssm_integration_test_teardown/tasks/main.yml
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
time=10m | ||
|
||
cloud/aws | ||
connection_aws_ssm |
5 changes: 5 additions & 0 deletions
5
tests/integration/targets/connection_aws_ssm_amazon/aws_ssm_integration_test_setup.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- hosts: localhost | ||
roles: | ||
- role: ../setup_connection_aws_ssm | ||
vars: | ||
target_os: amazon |
5 changes: 5 additions & 0 deletions
5
tests/integration/targets/connection_aws_ssm_amazon/aws_ssm_integration_test_teardown.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- hosts: localhost | ||
tasks: | ||
- include_role: | ||
name: ../setup_connection_aws_ssm | ||
tasks_from: cleanup.yml |
3 changes: 3 additions & 0 deletions
3
tests/integration/targets/connection_aws_ssm_amazon/meta/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
dependencies: | ||
- connection | ||
- setup_connection_aws_ssm |
Oops, something went wrong.