Default ansible-test provisioning to us-east-1.

Previously windows instances on Shippable would be automatically directed to us-east-2.
This commit is contained in:
Matt Clay 2020-04-29 20:08:54 -07:00
parent dba17aeb13
commit 1cf26896c5

View file

@ -160,15 +160,8 @@ class AnsibleCoreCI:
region = args.remote_aws_region
# use a dedicated CI key when overriding the region selection
self.ci_key += '.%s' % args.remote_aws_region
elif is_shippable():
# split Shippable jobs across multiple regions to maximize use of launch credits
if self.platform == 'windows':
region = 'us-east-2'
else:
region = 'us-east-1'
else:
# send all non-Shippable jobs to us-east-1 to reduce api key maintenance
region = 'us-east-1'
self.path = "%s-%s" % (self.path, region)
self.endpoints = (AWS_ENDPOINTS[region],)