Commit 4da14b8 1 parent 2e09c33 commit 4da14b8 Copy full SHA for 4da14b8
File tree 4 files changed +50
-1
lines changed
4 files changed +50
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ func (p *provisioner) Supported(os define.OS) bool {
54
54
if os .Distro != Ubuntu {
55
55
return false
56
56
}
57
- if os .Version != "20.04" && os .Version != "22.04" {
57
+ if os .Version != "20.04" && os .Version != "22.04" && os . Version != "24.04" {
58
58
return false
59
59
}
60
60
// multipass only supports the same architecture of the host
Original file line number Diff line number Diff line change @@ -20,6 +20,19 @@ const (
20
20
// one in this list will be picked. So it's best to place the one that we want the
21
21
// most testing at the top.
22
22
var ogcSupported = []LayoutOS {
23
+ {
24
+ OS : define.OS {
25
+ Type : define .Linux ,
26
+ Arch : define .AMD64 ,
27
+ Distro : runner .Ubuntu ,
28
+ Version : "24.04" ,
29
+ },
30
+ Provider : Google ,
31
+ InstanceSize : "e2-standard-2" , // 2 amd64 cpus, 8 GB RAM
32
+ RunsOn : "ubuntu-2404-lts-amd64" ,
33
+ Username : "ubuntu" ,
34
+ RemotePath : "/home/ubuntu/agent" ,
35
+ },
23
36
{
24
37
OS : define.OS {
25
38
Type : define .Linux ,
@@ -54,6 +67,19 @@ var ogcSupported = []LayoutOS{
54
67
// Type: define.Linux,
55
68
// Arch: define.ARM64,
56
69
// Distro: runner.Ubuntu,
70
+ // Version: "24.04",
71
+ // },
72
+ // Provider: Google,
73
+ // InstanceSize: "t2a-standard-4", // 4 arm64 cpus, 16 GB RAM
74
+ // RunsOn: "ubuntu-2404-lts-arm64",
75
+ // Username: "ubuntu",
76
+ // RemotePath: "/home/ubuntu/agent",
77
+ // },
78
+ // {
79
+ // OS: define.OS{
80
+ // Type: define.Linux,
81
+ // Arch: define.ARM64,
82
+ // Distro: runner.Ubuntu,
57
83
// Version: "22.04",
58
84
// },
59
85
// Provider: Google,
Original file line number Diff line number Diff line change @@ -31,6 +31,16 @@ type SupportedOS struct {
31
31
}
32
32
33
33
var (
34
+ // UbuntuAMD64_2404 - Ubuntu (amd64) 24.04
35
+ UbuntuAMD64_2404 = SupportedOS {
36
+ OS : define.OS {
37
+ Type : define .Linux ,
38
+ Arch : define .AMD64 ,
39
+ Distro : Ubuntu ,
40
+ Version : "24.04" ,
41
+ },
42
+ Runner : DebianRunner {},
43
+ }
34
44
// UbuntuAMD64_2204 - Ubuntu (amd64) 22.04
35
45
UbuntuAMD64_2204 = SupportedOS {
36
46
OS : define.OS {
51
61
},
52
62
Runner : DebianRunner {},
53
63
}
64
+ // UbuntuARM64_2404 - Ubuntu (arm64) 24.04
65
+ UbuntuARM64_2404 = SupportedOS {
66
+ OS : define.OS {
67
+ Type : define .Linux ,
68
+ Arch : define .ARM64 ,
69
+ Distro : Ubuntu ,
70
+ Version : "24.04" ,
71
+ },
72
+ Runner : DebianRunner {},
73
+ }
54
74
// UbuntuARM64_2204 - Ubuntu (arm64) 22.04
55
75
UbuntuARM64_2204 = SupportedOS {
56
76
OS : define.OS {
@@ -146,8 +166,10 @@ var (
146
166
// one in this list will be picked. So it's best to place the one that we want the
147
167
// most testing at the top.
148
168
var supported = []SupportedOS {
169
+ UbuntuAMD64_2404 ,
149
170
UbuntuAMD64_2204 ,
150
171
UbuntuAMD64_2004 ,
172
+ UbuntuARM64_2404 ,
151
173
UbuntuARM64_2204 ,
152
174
UbuntuARM64_2004 ,
153
175
RhelAMD64_8 ,
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ func TestGetSupported(t *testing.T) {
37
37
Distro : Ubuntu ,
38
38
},
39
39
Results : []SupportedOS {
40
+ UbuntuAMD64_2404 ,
40
41
UbuntuAMD64_2204 ,
41
42
UbuntuAMD64_2004 ,
42
43
},
You can’t perform that action at this time.
0 commit comments