ansible/test/integration
Deiwin Sarjas e970ae102c ecs_ecr: Fix AWS ECR repository creation (#34798)
* ecs_ecr: Remove registry ID from create repository call

[Boto3 documentation][1] specifies 'repositoryName' as the only expected
argument. The `**build_kwargs(registry_id)` part also adds 'registryId' which,
when executed, fails with: 'Unknown parameter in input: “registryId”, must be
one of: repositoryName'.

[AWS API documentation][2] also lists only the 'repositoryName' parameter. I.e.
this is not a problem with the boto3 library.

The default registry ID for the account that's making the request will be used
when creating the rpository. This means that if the `registry_id` specified by
the user is different from the default registry ID, then the policy changes
following the repository creation would fail, because the repository will have
been created in one repository but subsequent calls try to modify it in
another. Added a safeguard against this scenario.

[1]: https://boto3.readthedocs.io/en/latest/reference/services/ecr.html#ECR.Client.create_repository
[2]: https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_CreateRepository.html

* Fix concurrent ECR integration tests

If the `ecr_name` is the same in multiple concurrent test runs, then they can
interfere with one another causing both to fail. The `resource_prefix` is
guaranteed to be unique for different jobs running in CI an so avoids this
issue while also making it easier to identify the test which created the
resource.
2018-01-24 10:42:41 +10:00
..
host_vars Simplify Windows versions in ansible-test. 2018-01-17 16:16:15 -08:00
targets ecs_ecr: Fix AWS ECR repository creation (#34798) 2018-01-24 10:42:41 +10:00
asa.yaml
cloud-config-aws.yml.template Add region to ansible-test AWS cloud config. (#30733) 2017-09-22 00:19:21 -07:00
cloud-config-azure.yml.template
cloud-config-cs.ini.template
dellos6.yaml
dellos9.yaml
dellos10.yaml
eos.yaml Add eos_lldp module (#34302) 2018-01-02 18:54:06 +05:30
integration.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00
integration_config.yml
inventory ACI: Support validate_certs, use_ssl and use_proxy (#35146) 2018-01-21 00:38:20 +01:00
inventory.network
inventory.networking.template
inventory.remote.template
inventory.winrm.template
ios.yaml Add ios_linkagg DI module (#33215) 2018-01-11 12:33:15 +05:30
iosxr.yaml
junos.yaml Add junos_l2_interface module (#35123) 2018-01-22 20:38:07 +05:30
network-all.yaml
network-integration.cfg Increase socket connect retry timeout for integration test (#30681) 2017-09-21 15:02:19 +05:30
nxos.yaml Fix for nxos_pim issues (#35103) 2018-01-22 11:30:52 +05:30
ops.yaml
target-prefixes.network ACI: Make network testing work out-of-the-box (#35116) 2018-01-20 02:47:28 +01:00
vyos.yaml Add vyos_vlan DI module (#32072) 2017-10-27 15:21:37 +05:30
windows-integration.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00