93 windows.purge_hg(winrm_client) |
93 windows.purge_hg(winrm_client) |
94 windows.build_wix_installer(winrm_client, arch, DIST_PATH) |
94 windows.build_wix_installer(winrm_client, arch, DIST_PATH) |
95 |
95 |
96 |
96 |
97 def terminate_ec2_instances(hga: HGAutomation, aws_region): |
97 def terminate_ec2_instances(hga: HGAutomation, aws_region): |
98 c = hga.aws_connection(aws_region) |
98 c = hga.aws_connection(aws_region, ensure_ec2_state=False) |
99 aws.terminate_ec2_instances(c.ec2resource) |
99 aws.terminate_ec2_instances(c.ec2resource) |
100 |
100 |
101 |
101 |
102 def purge_ec2_resources(hga: HGAutomation, aws_region): |
102 def purge_ec2_resources(hga: HGAutomation, aws_region): |
103 c = hga.aws_connection(aws_region) |
103 c = hga.aws_connection(aws_region, ensure_ec2_state=False) |
104 aws.remove_resources(c) |
104 aws.remove_resources(c) |
105 |
105 |
106 |
106 |
107 def run_tests_windows(hga: HGAutomation, aws_region, instance_type, |
107 def run_tests_windows(hga: HGAutomation, aws_region, instance_type, |
108 python_version, arch, test_flags): |
108 python_version, arch, test_flags): |