Skip to content

Commit dadb141

Browse files
committed
feat(registry): update versions from the registry
The versions are updated to the latest ones. Fix CLI-24
1 parent 1f76794 commit dadb141

File tree

5 files changed

+30
-30
lines changed

5 files changed

+30
-30
lines changed

internal/question/models/version.go

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,33 @@ package models
22

33
var (
44
LanguageTypeVersions = map[Runtime][]string{
5-
DotNet: {"6.0", "3.1"},
6-
Elixir: {"1.13", "1.12", "1.11"},
7-
Golang: {"1.22", "1.21", "1.20"},
8-
Java: {"19", "18", "17", "11", "8"},
9-
NodeJS: {"20", "18", "16"},
10-
PHP: {"8.2", "8.1", "8.0"},
11-
Python: {"3.11", "3.10", "3.9", "3.8", "3.7"},
12-
Ruby: {"3.3", "3.2", "3.1", "3.0", "2.7", "2.6", "2.5", "2.4", "2.3"},
5+
DotNet: {"8.0", "7.0", "6.0"},
6+
Elixir: {"1.18", "1.15", "1.14"},
7+
Golang: {"1.25", "1.24", "1.23", "1.22", "1.21", "1.20"},
8+
Java: {"21", "19", "18", "17", "11", "8"},
9+
NodeJS: {"24", "22", "20"},
10+
PHP: {"8.4", "8.3", "8.2", "8.1"},
11+
Python: {"3.13", "3.12", "3.11", "3.10", "3.9", "3.8"},
12+
Ruby: {"3.4", "3.3", "3.2", "3.1", "3.0"},
1313
Rust: {"1"},
1414
}
1515

1616
ServiceTypeVersions = map[ServiceName][]string{
17-
ChromeHeadless: {"95", "91", "86", "84", "83", "81", "80", "73"},
18-
InfluxDB: {"2.3"},
19-
Kafka: {"3.2"},
20-
MariaDB: {"11.0", "10.11", "10.6", "10.5", "10.4", "10.3"},
17+
ChromeHeadless: {"120", "113", "95", "91"},
18+
InfluxDB: {"2.7", "2.3"},
19+
Kafka: {"3.7", "3.6", "3.4", "3.2"},
20+
MariaDB: {"11.8", "11.4", "10.11", "10.6"},
2121
Memcached: {"1.6", "1.5", "1.4"},
22-
MySQL: {"10.6", "10.5", "10.4", "10.3"},
23-
NetworkStorage: {"2.0"},
24-
OpenSearch: {"2", "1.2", "1.1"},
22+
MySQL: {"11.0", "10.11", "10.6", "10.5", "10.4", "10.3"},
23+
NetworkStorage: {"1.0"},
24+
OpenSearch: {"3", "2", "1"},
2525
OracleMySQL: {"8.0", "5.7"},
26-
PostgreSQL: {"15", "14", "13", "12", "11"},
27-
RabbitMQ: {"3.11", "3.10", "3.9"},
28-
Redis: {"7.0", "6.2"},
29-
RedisPersistent: {"7.0", "6.2"},
30-
Solr: {"9.1", "8.11"},
31-
Varnish: {"7.2", "7.1", "6.3", "6.0"},
26+
PostgreSQL: {"17", "16", "15", "14", "13", "12"},
27+
RabbitMQ: {"4.1", "4.0", "3.13", "3.12"},
28+
Redis: {"8.0", "7.2"},
29+
RedisPersistent: {"8.0", "7.2"},
30+
Solr: {"9.9", "9.6", "9.4", "9.2", "9.1", "8.11"},
31+
Varnish: {"7.6", "7.3", "7.2", "6.0"},
3232
VaultKMS: {"1.12"},
3333
}
3434
)

platformifier/platformifier_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ var (
2121
Name: "django",
2222
Type: "python",
2323
Stack: Django,
24-
Runtime: "python-3.9",
24+
Runtime: "python-3.13",
2525
ApplicationRoot: "app",
2626
Environment: map[string]string{
2727
"DJANGO_SETTINGS_MODULE": "app.settings",
@@ -81,14 +81,14 @@ var (
8181
{
8282
Name: "db",
8383
Type: "postgres",
84-
TypeVersions: []string{"13", "14", "15"},
84+
TypeVersions: []string{"17", "16", "15", "14", "13", "12"},
8585
Disk: "1024",
8686
DiskSizes: []string{"1024", "2048"},
8787
},
8888
{
8989
Name: "mysql",
9090
Type: "mysql",
91-
TypeVersions: []string{"13", "14", "15"},
91+
TypeVersions: []string{"11.0", "10.11", "10.6", "10.5", "10.4", "10.3"},
9292
Disk: "1024",
9393
DiskSizes: []string{"1024", "2034"},
9494
},
@@ -141,7 +141,7 @@ var (
141141
Name: "Laravel",
142142
Type: "php",
143143
Stack: Laravel,
144-
Runtime: "php-8.2",
144+
Runtime: "php-8.4",
145145
ApplicationRoot: "app",
146146
Environment: map[string]string{},
147147
Root: "app",

platformifier/templates/generic/.platform/services.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
{{ else }}
1717
# relationships
1818
# db:
19-
# type: postgresql:14
19+
# type: postgresql:17
2020
# disk: 1024
2121
{{ end -}}

platformifier/templates/upsun/.upsun/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ services:
239239
{{- else }}
240240
# services:
241241
# db:
242-
# type: postgresql:14
242+
# type: postgresql:17
243243
{{ end }}
244244

245245
# The routes of the project.

validator/validator_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ applications:
121121
Data: []byte(`
122122
services:
123123
redis:
124-
type: redis:6.2
124+
type: redis:8.0
125125
size: AUTO
126126
`,
127127
),
@@ -158,7 +158,7 @@ applications:
158158
Data: []byte(`
159159
services:
160160
redis:
161-
type: redis:6.2
161+
type: redis:8.0
162162
size: AUTO
163163
`,
164164
),
@@ -192,7 +192,7 @@ applications:
192192
Data: []byte(`
193193
services:
194194
redis:
195-
type: redis:6.2
195+
type: redis:8.0
196196
size: AUTO
197197
`,
198198
),

0 commit comments

Comments
 (0)