##// END OF EJS Templates
branching: merge stable into default
Raphaël Gomès -
r49646:834c9382 merge default
parent child Browse files
Show More
@@ -904,7 +904,7 b' def ensure_linux_dev_ami(c: AWSConnectio'
904 'Ebs': {
904 'Ebs': {
905 'DeleteOnTermination': True,
905 'DeleteOnTermination': True,
906 'VolumeSize': 10,
906 'VolumeSize': 10,
907 'VolumeType': 'gp2',
907 'VolumeType': 'gp3',
908 },
908 },
909 },
909 },
910 ],
910 ],
@@ -1048,7 +1048,7 b' def temporary_linux_dev_instances('
1048 'Ebs': {
1048 'Ebs': {
1049 'DeleteOnTermination': True,
1049 'DeleteOnTermination': True,
1050 'VolumeSize': 12,
1050 'VolumeSize': 12,
1051 'VolumeType': 'gp2',
1051 'VolumeType': 'gp3',
1052 },
1052 },
1053 }
1053 }
1054 ]
1054 ]
@@ -1075,7 +1075,7 b' def temporary_linux_dev_instances('
1075 'Ebs': {
1075 'Ebs': {
1076 'DeleteOnTermination': True,
1076 'DeleteOnTermination': True,
1077 'VolumeSize': 8,
1077 'VolumeSize': 8,
1078 'VolumeType': 'gp2',
1078 'VolumeType': 'gp3',
1079 },
1079 },
1080 }
1080 }
1081 )
1081 )
@@ -1151,13 +1151,13 b' def ensure_windows_dev_ami('
1151 'Ebs': {
1151 'Ebs': {
1152 'DeleteOnTermination': True,
1152 'DeleteOnTermination': True,
1153 'VolumeSize': 32,
1153 'VolumeSize': 32,
1154 'VolumeType': 'gp2',
1154 'VolumeType': 'gp3',
1155 },
1155 },
1156 }
1156 }
1157 ],
1157 ],
1158 'ImageId': image.id,
1158 'ImageId': image.id,
1159 'InstanceInitiatedShutdownBehavior': 'stop',
1159 'InstanceInitiatedShutdownBehavior': 'stop',
1160 'InstanceType': 't3.medium',
1160 'InstanceType': 'm6i.large',
1161 'KeyName': '%sautomation' % prefix,
1161 'KeyName': '%sautomation' % prefix,
1162 'MaxCount': 1,
1162 'MaxCount': 1,
1163 'MinCount': 1,
1163 'MinCount': 1,
@@ -1311,7 +1311,7 b' def temporary_windows_dev_instances('
1311 'Ebs': {
1311 'Ebs': {
1312 'DeleteOnTermination': True,
1312 'DeleteOnTermination': True,
1313 'VolumeSize': 32,
1313 'VolumeSize': 32,
1314 'VolumeType': 'gp2',
1314 'VolumeType': 'gp3',
1315 },
1315 },
1316 }
1316 }
1317 ],
1317 ],
@@ -151,7 +151,7 b' def build_all_windows_packages('
151 image = aws.ensure_windows_dev_ami(c, base_image_name=base_image_name)
151 image = aws.ensure_windows_dev_ami(c, base_image_name=base_image_name)
152 DIST_PATH.mkdir(exist_ok=True)
152 DIST_PATH.mkdir(exist_ok=True)
153
153
154 with aws.temporary_windows_dev_instances(c, image, 't3.medium') as insts:
154 with aws.temporary_windows_dev_instances(c, image, 'm6i.large') as insts:
155 instance = insts[0]
155 instance = insts[0]
156
156
157 winrm_client = instance.winrm_client
157 winrm_client = instance.winrm_client
@@ -496,7 +496,7 b' def get_parser():'
496 sp.add_argument(
496 sp.add_argument(
497 '--instance-type',
497 '--instance-type',
498 help='EC2 instance type to use',
498 help='EC2 instance type to use',
499 default='t3.medium',
499 default='m6i.large',
500 )
500 )
501 sp.add_argument(
501 sp.add_argument(
502 '--python-version',
502 '--python-version',
@@ -778,7 +778,17 b' impl DirEntry {'
778 let mut results = Vec::new();
778 let mut results = Vec::new();
779 for entry in read_dir_path.read_dir()? {
779 for entry in read_dir_path.read_dir()? {
780 let entry = entry?;
780 let entry = entry?;
781 let metadata = entry.metadata()?;
781 let metadata = match entry.metadata() {
782 Ok(v) => v,
783 Err(e) => {
784 // race with file deletion?
785 if e.kind() == std::io::ErrorKind::NotFound {
786 continue;
787 } else {
788 return Err(e);
789 }
790 }
791 };
782 let file_name = entry.file_name();
792 let file_name = entry.file_name();
783 // FIXME don't do this when cached
793 // FIXME don't do this when cached
784 if file_name == ".hg" {
794 if file_name == ".hg" {
General Comments 0
You need to be logged in to leave comments. Login now