mirror of
https://github.com/dokku/dokku.git
synced 2026-05-18 05:05:46 +02:00
Extends bats coverage for the scheduler-k3s scheduler so that herokuish and dockerfile builders match the cnb test surface for `dokku run`, `dokku run:detached`, `dokku cron:run`, deployment manifests, cronjob manifests, and Procfile-key resolution. Adds the corresponding `app-cron-procfile.json` fixture for the python app and `app-cron.json` / `app-cron-procfile.json` fixtures for the dockerfile-procfile app.
28 lines
476 B
JSON
28 lines
476 B
JSON
{
|
|
"cron": [
|
|
{
|
|
"command": "echo hello-from-cron",
|
|
"schedule": "5 5 5 5 5"
|
|
}
|
|
],
|
|
"healthchecks": {
|
|
"web": [
|
|
{
|
|
"attempts": 2,
|
|
"content": "nodejs/express",
|
|
"name": "check-1",
|
|
"path": "/",
|
|
"timeout": 5,
|
|
"type": "startup",
|
|
"wait": 2
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"dokku": {
|
|
"postdeploy": "touch /app/postdeploy.test",
|
|
"predeploy": "touch /app/predeploy.test"
|
|
}
|
|
}
|
|
}
|