Skip to content

Commit 635ebbb

Browse files
committed
Upgrade cmake. Resize windows instances.
1 parent fcbfae7 commit 635ebbb

File tree

6 files changed

+36
-8
lines changed

6 files changed

+36
-8
lines changed

examples/multi-runner-cppal/templates/runner-configs/windows-2019.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ runner_config:
1717
enable_ssm_on_runners: true
1818
credit_specification: standard
1919
instance_types:
20-
- m5.large
21-
- c5.large
20+
- m5.xlarge
21+
- c5.xlarge
2222
runners_maximum_count: 100
2323
scale_down_schedule_expression: cron(* * * * ? *)
2424
runner_boot_time_in_minutes: 20
2525
ami_owners:
2626
- "047402373783"
27-
ami_filter: { 'name': ['github-runner-windows-2019-amd64-202306201440'] }
27+
ami_filter: { 'name': ['github-runner-windows-2019-amd64-202307212221'] }
2828
block_device_mappings:
2929
- device_name: /dev/sda1
3030
delete_on_termination: true

examples/multi-runner-cppal/templates/runner-configs/windows-2022.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ runner_config:
1818
enable_ssm_on_runners: true
1919
credit_specification: standard
2020
instance_types:
21-
- m5.large
22-
- c5.large
21+
- m5.xlarge
22+
- c5.xlarge
2323
runners_maximum_count: 100
2424
scale_down_schedule_expression: cron(* * * * ? *)
2525
runner_boot_time_in_minutes: 20
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"builds": [
3+
{
4+
"name": "githubrunner",
5+
"builder_type": "amazon-ebs",
6+
"build_time": 1689981909,
7+
"files": null,
8+
"artifact_id": "us-west-2:ami-0d3905ec987855806",
9+
"packer_run_uuid": "cb737a47-8eae-8bc8-a815-7b5b28dad74e",
10+
"custom_data": null
11+
}
12+
],
13+
"last_run_uuid": "cb737a47-8eae-8bc8-a815-7b5b28dad74e"
14+
}

images/windows-2019-cppal/variables.auto.pkrvars.hcl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ custom_shell_commands = [
2121
"choco install -y chocolatey-visualstudio.extension",
2222
"choco install -y chocolatey-windowsupdate.extension",
2323
"# cmake not in path without extra flag",
24-
"choco install -y cmake.install --version 3.16.2 --installargs '\"ADD_CMAKE_TO_PATH=System\"'",
24+
"# choco install -y cmake.install --version 3.16.2 --installargs '\"ADD_CMAKE_TO_PATH=System\"'",
25+
"choco install -y cmake.install --version 3.27.0 --installargs '\"ADD_CMAKE_TO_PATH=System\"'",
2526
"choco install -y curl --version 7.68.0",
2627
"choco install -y DotNet4.5.2 --version 4.5.2.20140902",
2728
"choco install -y DotNet4.6 --version 4.6.00081.20150925",

scripts/packerimages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# windows-2022-cppal
1111

1212
imagestobuild="
13-
windows-2022-cppal
13+
windows-2019-cppal
1414
"
1515

1616
timestamp=$(date +%Y%m%d_%H%M%S)

scripts/removeami.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,20 @@ set -xe
77
# aws ec2 describe-images --owners self --query 'Images[*].[Name,ImageId]' --output text --region us-west-2 > output.out
88

99
amis="
10-
add-amis
10+
ami-04aabf193c156dd72
11+
ami-08a1f288959c2d8cc
12+
ami-0c802449bdf8d981e
13+
ami-0a2e8524783d512eb
14+
ami-029f82a5bf6a7d634
15+
ami-0c549427a64402d3a
16+
ami-08b6c8a835ed9332b
17+
ami-0ac23aae25fdc4df9
18+
ami-0a04141dcc0980740
19+
ami-00a47faeeb02d03f0
20+
ami-0e6220d742fc51b57
21+
ami-09035050dec8b0d4d
22+
ami-0fb62047befcdd856
23+
ami-0d3cb1d97dab8043f
1124
"
1225

1326
region=us-west-2

0 commit comments

Comments
 (0)