| ... | ... |
@@ -112,7 +112,10 @@ |
| 112 | 112 |
"secret": "${GENERIC_WEBHOOK_SECRET}"
|
| 113 | 113 |
} |
| 114 | 114 |
} |
| 115 |
- ] |
|
| 115 |
+ ], |
|
| 116 |
+ "postCommit": {
|
|
| 117 |
+ "script": "npm test" |
|
| 118 |
+ } |
|
| 116 | 119 |
} |
| 117 | 120 |
}, |
| 118 | 121 |
{
|
| ... | ... |
@@ -255,7 +258,7 @@ |
| 255 | 255 |
{
|
| 256 | 256 |
"type": "ImageChange", |
| 257 | 257 |
"imageChangeParams": {
|
| 258 |
- "automatic": false, |
|
| 258 |
+ "automatic": true, |
|
| 259 | 259 |
"containerNames": [ |
| 260 | 260 |
"mongodb" |
| 261 | 261 |
], |
| ... | ... |
@@ -282,12 +285,6 @@ |
| 282 | 282 |
} |
| 283 | 283 |
}, |
| 284 | 284 |
"spec": {
|
| 285 |
- "volumes": [ |
|
| 286 |
- {
|
|
| 287 |
- "name": "data", |
|
| 288 |
- "emptyDir": {}
|
|
| 289 |
- } |
|
| 290 |
- ], |
|
| 291 | 285 |
"containers": [ |
| 292 | 286 |
{
|
| 293 | 287 |
"name": "mongodb", |
| ... | ... |
@@ -297,12 +294,6 @@ |
| 297 | 297 |
"containerPort": 27017 |
| 298 | 298 |
} |
| 299 | 299 |
], |
| 300 |
- "volumeMounts": [ |
|
| 301 |
- {
|
|
| 302 |
- "name": "data", |
|
| 303 |
- "mountPath": "/var/lib/mongodb/data" |
|
| 304 |
- } |
|
| 305 |
- ], |
|
| 306 | 300 |
"env": [ |
| 307 | 301 |
{
|
| 308 | 302 |
"name": "MONGODB_USER", |
| ... | ... |
@@ -339,6 +330,20 @@ |
| 339 | 339 |
"limits": {
|
| 340 | 340 |
"memory": "${MEMORY_MONGODB_LIMIT}"
|
| 341 | 341 |
} |
| 342 |
+ }, |
|
| 343 |
+ "volumeMounts": [ |
|
| 344 |
+ {
|
|
| 345 |
+ "name": "${DATABASE_SERVICE_NAME}-data",
|
|
| 346 |
+ "mountPath": "/var/lib/mongodb/data" |
|
| 347 |
+ } |
|
| 348 |
+ ] |
|
| 349 |
+ } |
|
| 350 |
+ ], |
|
| 351 |
+ "volumes": [ |
|
| 352 |
+ {
|
|
| 353 |
+ "name": "${DATABASE_SERVICE_NAME}-data",
|
|
| 354 |
+ "emptyDir": {
|
|
| 355 |
+ "medium": "" |
|
| 342 | 356 |
} |
| 343 | 357 |
} |
| 344 | 358 |
] |
| ... | ... |
@@ -1661,7 +1661,7 @@ var _examplesDbTemplatesMysqlEphemeralTemplateJson = []byte(`{
|
| 1661 | 1661 |
{
|
| 1662 | 1662 |
"type": "ImageChange", |
| 1663 | 1663 |
"imageChangeParams": {
|
| 1664 |
- "automatic": false, |
|
| 1664 |
+ "automatic": true, |
|
| 1665 | 1665 |
"containerNames": [ |
| 1666 | 1666 |
"mysql" |
| 1667 | 1667 |
], |
| ... | ... |
@@ -2133,7 +2133,7 @@ var _examplesDbTemplatesPostgresqlEphemeralTemplateJson = []byte(`{
|
| 2133 | 2133 |
{
|
| 2134 | 2134 |
"type": "ImageChange", |
| 2135 | 2135 |
"imageChangeParams": {
|
| 2136 |
- "automatic": false, |
|
| 2136 |
+ "automatic": true, |
|
| 2137 | 2137 |
"containerNames": [ |
| 2138 | 2138 |
"postgresql" |
| 2139 | 2139 |
], |
| ... | ... |
@@ -2825,7 +2825,7 @@ var _examplesQuickstartsCakephpMysqlJson = []byte(`{
|
| 2825 | 2825 |
{
|
| 2826 | 2826 |
"type": "ImageChange", |
| 2827 | 2827 |
"imageChangeParams": {
|
| 2828 |
- "automatic": false, |
|
| 2828 |
+ "automatic": true, |
|
| 2829 | 2829 |
"containerNames": [ |
| 2830 | 2830 |
"mysql" |
| 2831 | 2831 |
], |
| ... | ... |
@@ -3293,7 +3293,7 @@ var _examplesQuickstartsDancerMysqlJson = []byte(`{
|
| 3293 | 3293 |
{
|
| 3294 | 3294 |
"type": "ImageChange", |
| 3295 | 3295 |
"imageChangeParams": {
|
| 3296 |
- "automatic": false, |
|
| 3296 |
+ "automatic": true, |
|
| 3297 | 3297 |
"containerNames": [ |
| 3298 | 3298 |
"mysql" |
| 3299 | 3299 |
], |
| ... | ... |
@@ -3764,7 +3764,7 @@ var _examplesQuickstartsDjangoPostgresqlJson = []byte(`{
|
| 3764 | 3764 |
{
|
| 3765 | 3765 |
"type": "ImageChange", |
| 3766 | 3766 |
"imageChangeParams": {
|
| 3767 |
- "automatic": false, |
|
| 3767 |
+ "automatic": true, |
|
| 3768 | 3768 |
"containerNames": [ |
| 3769 | 3769 |
"postgresql" |
| 3770 | 3770 |
], |
| ... | ... |
@@ -4079,7 +4079,10 @@ var _examplesQuickstartsNodejsMongodbJson = []byte(`{
|
| 4079 | 4079 |
"secret": "${GENERIC_WEBHOOK_SECRET}"
|
| 4080 | 4080 |
} |
| 4081 | 4081 |
} |
| 4082 |
- ] |
|
| 4082 |
+ ], |
|
| 4083 |
+ "postCommit": {
|
|
| 4084 |
+ "script": "npm test" |
|
| 4085 |
+ } |
|
| 4083 | 4086 |
} |
| 4084 | 4087 |
}, |
| 4085 | 4088 |
{
|
| ... | ... |
@@ -4222,7 +4225,7 @@ var _examplesQuickstartsNodejsMongodbJson = []byte(`{
|
| 4222 | 4222 |
{
|
| 4223 | 4223 |
"type": "ImageChange", |
| 4224 | 4224 |
"imageChangeParams": {
|
| 4225 |
- "automatic": false, |
|
| 4225 |
+ "automatic": true, |
|
| 4226 | 4226 |
"containerNames": [ |
| 4227 | 4227 |
"mongodb" |
| 4228 | 4228 |
], |
| ... | ... |
@@ -4249,12 +4252,6 @@ var _examplesQuickstartsNodejsMongodbJson = []byte(`{
|
| 4249 | 4249 |
} |
| 4250 | 4250 |
}, |
| 4251 | 4251 |
"spec": {
|
| 4252 |
- "volumes": [ |
|
| 4253 |
- {
|
|
| 4254 |
- "name": "data", |
|
| 4255 |
- "emptyDir": {}
|
|
| 4256 |
- } |
|
| 4257 |
- ], |
|
| 4258 | 4252 |
"containers": [ |
| 4259 | 4253 |
{
|
| 4260 | 4254 |
"name": "mongodb", |
| ... | ... |
@@ -4264,12 +4261,6 @@ var _examplesQuickstartsNodejsMongodbJson = []byte(`{
|
| 4264 | 4264 |
"containerPort": 27017 |
| 4265 | 4265 |
} |
| 4266 | 4266 |
], |
| 4267 |
- "volumeMounts": [ |
|
| 4268 |
- {
|
|
| 4269 |
- "name": "data", |
|
| 4270 |
- "mountPath": "/var/lib/mongodb/data" |
|
| 4271 |
- } |
|
| 4272 |
- ], |
|
| 4273 | 4267 |
"env": [ |
| 4274 | 4268 |
{
|
| 4275 | 4269 |
"name": "MONGODB_USER", |
| ... | ... |
@@ -4306,6 +4297,20 @@ var _examplesQuickstartsNodejsMongodbJson = []byte(`{
|
| 4306 | 4306 |
"limits": {
|
| 4307 | 4307 |
"memory": "${MEMORY_MONGODB_LIMIT}"
|
| 4308 | 4308 |
} |
| 4309 |
+ }, |
|
| 4310 |
+ "volumeMounts": [ |
|
| 4311 |
+ {
|
|
| 4312 |
+ "name": "${DATABASE_SERVICE_NAME}-data",
|
|
| 4313 |
+ "mountPath": "/var/lib/mongodb/data" |
|
| 4314 |
+ } |
|
| 4315 |
+ ] |
|
| 4316 |
+ } |
|
| 4317 |
+ ], |
|
| 4318 |
+ "volumes": [ |
|
| 4319 |
+ {
|
|
| 4320 |
+ "name": "${DATABASE_SERVICE_NAME}-data",
|
|
| 4321 |
+ "emptyDir": {
|
|
| 4322 |
+ "medium": "" |
|
| 4309 | 4323 |
} |
| 4310 | 4324 |
} |
| 4311 | 4325 |
] |
| ... | ... |
@@ -4715,7 +4720,7 @@ var _examplesQuickstartsRailsPostgresqlJson = []byte(`{
|
| 4715 | 4715 |
{
|
| 4716 | 4716 |
"type": "ImageChange", |
| 4717 | 4717 |
"imageChangeParams": {
|
| 4718 |
- "automatic": false, |
|
| 4718 |
+ "automatic": true, |
|
| 4719 | 4719 |
"containerNames": [ |
| 4720 | 4720 |
"postgresql" |
| 4721 | 4721 |
], |