Skip to content

Commit c37c6a6

Browse files
authored
Merge pull request #240 from spk/fix-schema
chore: update mounts and add post_start on schemas
2 parents 0b7446a + c8102c4 commit c37c6a6

File tree

2 files changed

+28
-8
lines changed

2 files changed

+28
-8
lines changed

validator/schema/platformsh.application.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@
7878
"title": "The type of mount that will provide the data.",
7979
"enum": [
8080
"local",
81-
"service"
81+
"service",
82+
"tmp"
8283
]
8384
},
8485
"source_path": {
@@ -367,7 +368,8 @@
367368
"title": "The type of mount that will provide the data.",
368369
"enum": [
369370
"local",
370-
"service"
371+
"service",
372+
"tmp"
371373
]
372374
},
373375
"source_path": {
@@ -560,6 +562,10 @@
560562
"start": {
561563
"type": "string",
562564
"title": "The command used to start the application. It will be restarted if it terminates. Do not use on PHP unless using a custom persistent process like React PHP."
565+
},
566+
"post_start": {
567+
"type": "string",
568+
"title": "A command executed after the application is started."
563569
}
564570
},
565571
"required": [
@@ -774,7 +780,8 @@
774780
"title": "The type of mount that will provide the data.",
775781
"enum": [
776782
"local",
777-
"service"
783+
"service",
784+
"tmp"
778785
]
779786
},
780787
"source_path": {
@@ -925,4 +932,4 @@
925932
}
926933
],
927934
"additionalProperties": false
928-
}
935+
}

validator/schema/upsun.json

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,11 @@
7676
"type": "string",
7777
"title": "The type of mount that will provide the data.",
7878
"enum": [
79+
"instance",
80+
"service",
7981
"storage",
80-
"service"
82+
"temporary",
83+
"tmp"
8184
]
8285
},
8386
"source_path": {
@@ -361,8 +364,11 @@
361364
"type": "string",
362365
"title": "The type of mount that will provide the data.",
363366
"enum": [
367+
"instance",
368+
"service",
364369
"storage",
365-
"service"
370+
"temporary",
371+
"tmp"
366372
]
367373
},
368374
"source_path": {
@@ -764,8 +770,11 @@
764770
"type": "string",
765771
"title": "The type of mount that will provide the data.",
766772
"enum": [
773+
"instance",
774+
"service",
767775
"storage",
768-
"service"
776+
"temporary",
777+
"tmp"
769778
]
770779
},
771780
"source_path": {
@@ -849,6 +858,10 @@
849858
"start": {
850859
"type": "string",
851860
"title": "The command used to start the application. It will be restarted if it terminates. Do not use on PHP unless using a custom persistent process like React PHP."
861+
},
862+
"post_start": {
863+
"type": "string",
864+
"title": "A command executed after the application is started."
852865
}
853866
},
854867
"required": [
@@ -1445,4 +1458,4 @@
14451458
"required": [
14461459
"applications"
14471460
]
1448-
}
1461+
}

0 commit comments

Comments
 (0)