forked from ansible-collections/community.aws
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ansible-collections#563 from jillr/remove_shippable
Cleanup integration tests post-Zuul migration SUMMARY This collection has been operating on Zuul CI for some weeks now. Remove shippable references Use shorter unique_ids were resource_prefixes now exceed AWS resource length limits (zuul hostnames are longer than shippable was) Cleanup for CI bugs surfaced in the course of this PR ISSUE TYPE Bugfix Pull Request COMPONENT NAME shippable.yml tests/ README.md NOT-Depends-On: ansible/ansible-zuul-jobs#978 Reviewed-by: Mark Chappell <None> Reviewed-by: Jill R <None>
- Loading branch information
Showing
101 changed files
with
94 additions
and
634 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
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 |
---|---|---|
|
@@ -2,6 +2,5 @@ | |
unstable | ||
|
||
cloud/aws | ||
shippable/aws/group2 | ||
|
||
aws_acm_info |
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 @@ | ||
cloud/aws | ||
shippable/aws/group1 |
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 @@ | ||
cloud/aws | ||
shippable/aws/group1 |
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 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 @@ | ||
cloud/aws | ||
shippable/aws/group2 |
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 @@ | ||
cloud/aws | ||
shippable/aws/group1 |
13 changes: 4 additions & 9 deletions
13
tests/integration/targets/aws_codepipeline/defaults/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 |
---|---|---|
@@ -1,12 +1,7 @@ | ||
--- | ||
# defaults file for aws_codepipeline | ||
|
||
codepipeline_name: "{{ resource_prefix }}-test-codepipeline" | ||
|
||
unique_id: "{{ resource_prefix | hash('md5') }}" | ||
codepipeline_name: "{{ unique_id }}-test-codepipeline" | ||
# IAM role names have to be less than 64 characters | ||
# The 8 digit identifier at the end of resource_prefix helps determine during | ||
# which test something was created and allows tests to be run in parallel | ||
# Shippable resource_prefixes are in the format shippable-123456-123, so in those cases | ||
# we need both sets of digits to keep the resource name unique | ||
unique_id: "{{ resource_prefix | regex_search('(\\d+-?)(\\d+)$') }}" | ||
codepipeline_service_role_name: "ansible-test-sts-{{ unique_id }}-codepipeline-role" | ||
# we hash the resource_prefix to get a shorter, unique string | ||
codepipeline_service_role_name: "ansible-test-sts-{{ unique_id | truncate(6, True, '') }}-codepipeline-role" |
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 @@ | ||
cloud/aws | ||
shippable/aws/group2 |
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 @@ | ||
cloud/aws | ||
shippable/aws/group2 |
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 @@ | ||
cloud/aws | ||
shippable/aws/group2 |
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 |
---|---|---|
|
@@ -3,6 +3,5 @@ | |
unstable | ||
|
||
cloud/aws | ||
shippable/aws/group2 | ||
|
||
aws_kms_info |
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 @@ | ||
cloud/aws | ||
shippable/aws/group4 |
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 @@ | ||
cloud/aws | ||
shippable/aws/group2 |
5 changes: 3 additions & 2 deletions
5
tests/integration/targets/aws_s3_bucket_info/defaults/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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
name_pattern: "testbucket-ansible-integration" | ||
unique_id: "{{ resource_prefix | hash('md5') | truncate(24, True, '') }}" | ||
|
||
testing_buckets: | ||
- "{{ resource_prefix }}-{{ name_pattern }}-1" | ||
- "{{ resource_prefix }}-{{ name_pattern }}-2" | ||
- "{{ unique_id }}-{{ name_pattern }}-1" | ||
- "{{ unique_id }}-{{ name_pattern }}-2" |
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 @@ | ||
cloud/aws | ||
shippable/aws/group3 |
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 @@ | ||
cloud/aws | ||
shippable/aws/group1 |
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 @@ | ||
cloud/aws | ||
shippable/aws/group2 |
4 changes: 2 additions & 2 deletions
4
tests/integration/targets/aws_ses_rule_set/defaults/main.yaml
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 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 @@ | ||
cloud/aws | ||
shippable/aws/group4 |
1 change: 0 additions & 1 deletion
1
tests/integration/targets/aws_step_functions_state_machine/aliases
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,4 +1,3 @@ | ||
cloud/aws | ||
shippable/aws/group2 | ||
|
||
aws_step_functions_state_machine_execution |
5 changes: 3 additions & 2 deletions
5
tests/integration/targets/aws_step_functions_state_machine/defaults/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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# the random_num is generated in a set_fact task at the start of the testsuite | ||
state_machine_name: "{{ resource_prefix }}_step_function_{{ random_num }}" | ||
step_functions_role_name: "ansible-test-{{ resource_prefix }}-step-function" | ||
state_machine_name: "{{ resource_prefix | hash('md5') }}_step_function_{{ random_num }}" | ||
unique_id: "{{ resource_prefix | hash('md5') }}" | ||
step_functions_role_name: "ansible-test-{{ unique_id }}-step-function" | ||
execution_name: "{{ resource_prefix }}_sfn_execution" |
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 |
---|---|---|
|
@@ -2,4 +2,3 @@ | |
unstable | ||
|
||
cloud/aws | ||
shippable/aws/group3 |
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,5 +1,4 @@ | ||
cloud/aws | ||
shippable/aws/group1 | ||
|
||
cloudwatchlogs_log_group | ||
cloudwatchlogs_log_group_metric_filter |
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 |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
unstable | ||
|
||
cloud/aws | ||
shippable/aws/group4 | ||
|
||
destructive | ||
non_local | ||
|
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 |
---|---|---|
|
@@ -2,4 +2,3 @@ | |
unstable | ||
|
||
cloud/aws | ||
shippable/aws/group2 |
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,5 +1,5 @@ | ||
--- | ||
# VPCs are identified by the CIDR. Don't hard code the CIDR. shippable will | ||
# run multiple copies of the test concurrently (Python 2.x and Python 3.x) | ||
# VPCs are identified by the CIDR. Don't hard code the CIDR. CI may | ||
# run multiple copies of the test concurrently. | ||
vpc_cidr: '10.{{ 256 | random(seed=resource_prefix) }}.0.0/16' | ||
subnet_cidr: '10.{{ 256 | random(seed=resource_prefix) }}.42.0/24' |
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 @@ | ||
cloud/aws | ||
shippable/aws/group3 |
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 @@ | ||
cloud/aws | ||
shippable/aws/group4 |
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 @@ | ||
cloud/aws | ||
shippable/aws/group3 |
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,4 +1,3 @@ | ||
cloud/aws | ||
shippable/aws/group4 | ||
|
||
ec2_transit_gateway_info |
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 @@ | ||
cloud/aws | ||
shippable/aws/group2 |
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,4 +1,3 @@ | ||
cloud/aws | ||
shippable/aws/group2 | ||
|
||
ec2_vpc_endpoint_info |
1 change: 0 additions & 1 deletion
1
tests/integration/targets/ec2_vpc_endpoint_service_info/aliases
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,3 +1,2 @@ | ||
cloud/aws | ||
shippable/aws/group2 | ||
ec2_vpc_endpoint_service_info |
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,4 +1,3 @@ | ||
cloud/aws | ||
shippable/aws/group2 | ||
|
||
ec2_vpc_igw_info |
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 |
---|---|---|
|
@@ -2,6 +2,5 @@ | |
unstable | ||
|
||
cloud/aws | ||
shippable/aws/group2 | ||
|
||
ec2_vpc_nacl_info |
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,3 +1,2 @@ | ||
cloud/aws | ||
shippable/aws/group2 | ||
ec2_vpc_nat_gateway_info |
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,4 +1,3 @@ | ||
cloud/aws | ||
shippable/aws/group1 | ||
|
||
ec2_vpc_peering_info |
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,4 +1,3 @@ | ||
cloud/aws | ||
shippable/aws/group4 | ||
|
||
ec2_vpc_route_table_info |
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 |
---|---|---|
|
@@ -2,4 +2,3 @@ | |
unstable | ||
|
||
cloud/aws | ||
shippable/aws/group2 |
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 |
---|---|---|
|
@@ -2,4 +2,3 @@ | |
unstable | ||
|
||
cloud/aws | ||
shippable/aws/group3 |
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 |
---|---|---|
|
@@ -2,4 +2,3 @@ | |
unstable | ||
|
||
cloud/aws | ||
shippable/aws/group2 |
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 |
---|---|---|
|
@@ -3,6 +3,5 @@ | |
unstable | ||
|
||
cloud/aws | ||
shippable/aws/group1 | ||
|
||
elasticache_subnet_group |
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 @@ | ||
cloud/aws | ||
shippable/aws/group2 |
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 @@ | ||
cloud/aws | ||
shippable/aws/group2 |
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 |
---|---|---|
|
@@ -4,6 +4,5 @@ | |
unstable | ||
|
||
cloud/aws | ||
shippable/aws/group2 | ||
|
||
elb_classic_lb_info |
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,4 +1,3 @@ | ||
cloud/aws | ||
shippable/aws/group4 | ||
|
||
elb_target_group |
8 changes: 4 additions & 4 deletions
8
tests/integration/targets/elb_target/playbooks/roles/elb_lambda_target/defaults/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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
resource_shortprefix: 'ansible-test-{{ resource_prefix | regex_search("([0-9]+)$") }}' | ||
lambda_role_name: '{{ resource_shortprefix }}-elb-target' | ||
unique_id: "ansible-test-{{ resource_prefix | hash('md5') }}" | ||
lambda_role_name: '{{ unique_id }}-elb-target' | ||
#lambda_role_name: '{{ resource_prefix }}-elb-target' | ||
lambda_name: '{{ resource_prefix }}-elb-target' | ||
elb_target_group_name: '{{ resource_shortprefix }}-elb-tg' | ||
lambda_name: '{{ unique_id }}-elb-target' | ||
elb_target_group_name: "{{ unique_id | truncate(8, True, '') }}-elb-tg" |
8 changes: 4 additions & 4 deletions
8
tests/integration/targets/elb_target/playbooks/roles/elb_target/defaults/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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
--- | ||
ec2_ami_name: 'amzn2-ami-hvm-2.0.20190612-x86_64-gp2' | ||
|
||
resource_shortprefix: 'ansible-test-{{ resource_prefix | regex_search("([0-9]+)$") }}' | ||
tg_name: "{{ resource_shortprefix }}-tg" | ||
tg_tcpudp_name: "{{ resource_shortprefix }}-tgtcpudp" | ||
lb_name: "{{ resource_shortprefix }}-lb" | ||
unique_id: "ansible-test-{{ resource_prefix | hash('md5') | truncate(8, True, '') }}" | ||
tg_name: "{{ unique_id }}-tg" | ||
tg_tcpudp_name: "{{ unique_id }}-tgtcpudp" | ||
lb_name: "{{ unique_id }}-lb" | ||
|
||
healthy_state: | ||
state: 'healthy' |
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 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 @@ | ||
cloud/aws | ||
shippable/aws/group4 |
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 @@ | ||
cloud/aws | ||
shippable/aws/group2 |
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,5 +1,4 @@ | ||
cloud/aws | ||
shippable/aws/group2 | ||
|
||
execute_lambda | ||
lambda_info |
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,10 +1,7 @@ | ||
--- | ||
# defaults file for lambda integration test | ||
lambda_function_name: '{{ resource_prefix }}' | ||
# IAM role names have to be less than 64 characters | ||
# The 8 digit identifier at the end of resource_prefix helps determine during | ||
# which test something was created and allows tests to be run in parallel | ||
# Shippable resource_prefixes are in the format shippable-123456-123, so in those cases | ||
# we need both sets of digits to keep the resource name unique | ||
unique_id: "{{ resource_prefix | regex_search('(\\d+-?)(\\d+)$') }}" | ||
# we hash the resource_prefix to get a shorter, unique string | ||
unique_id: "{{ resource_prefix | hash('md5') }}" | ||
lambda_function_name: '{{ unique_id }}' | ||
lambda_role_name: 'ansible-test-{{ unique_id }}-lambda' |
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 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 @@ | ||
cloud/aws | ||
shippable/aws/group3 |
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,10 +1,7 @@ | ||
--- | ||
# defaults file for lambda integration test | ||
lambda_function_name: '{{ resource_prefix }}' | ||
# IAM role names have to be less than 64 characters | ||
# The 8 digit identifier at the end of resource_prefix helps determine during | ||
# which test something was created and allows tests to be run in parallel | ||
# Shippable resource_prefixes are in the format shippable-123456-123, so in those cases | ||
# we need both sets of digits to keep the resource name unique | ||
unique_id: "{{ resource_prefix | regex_search('(\\d+-?)(\\d+)$') }}" | ||
# we hash the resource_prefix to get a shorter, unique string | ||
unique_id: "{{ resource_prefix | hash('md5') }}" | ||
lambda_function_name: 'ansible-test-{{ unique_id }}' | ||
lambda_role_name: 'ansible-test-{{ unique_id }}-lambda' |
Oops, something went wrong.