chore: convert all CHECKS files to healthchecks
This commit is contained in:
1 parent
678757d55f
commit
a89b8d6213
46 files changed
+364
-134
No files matched your search
@@ -1,2 +0,0 @@
|
|||||||
ATTEMPTS=2
|
|
||||||
/
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"attempts": 2,
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
WAIT=2 # wait 2 seconds
|
|
||||||
TIMEOUT=5 # set timeout to 5 seconds
|
|
||||||
ATTEMPTS=2 # try 2 times
|
|
||||||
|
|
||||||
/ nodejs/express
|
|
||||||
@@ -1,7 +1,20 @@
|
|||||||
{
|
{
|
||||||
"formation": {
|
"formation": {
|
||||||
"web": {
|
"web": {
|
||||||
"quantity": 1
|
"quantity": 1
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"attempts": 2,
|
||||||
|
"content": "nodejs/express",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"timeout": 5,
|
||||||
|
"type": "startup",
|
||||||
|
"wait": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
WAIT=2 # wait 2 seconds
|
|
||||||
TIMEOUT=5 # set timeout to 5 seconds
|
|
||||||
ATTEMPTS=2 # try 2 times
|
|
||||||
|
|
||||||
/ Hello World!
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"attempts": 2,
|
||||||
|
"content": "Hello World!",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"timeout": 5,
|
||||||
|
"type": "startup",
|
||||||
|
"wait": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
WAIT=2 # wait 2 seconds
|
|
||||||
TIMEOUT=5 # set timeout to 5 seconds
|
|
||||||
ATTEMPTS=2 # try 2 times
|
|
||||||
|
|
||||||
/ nodejs/express
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"attempts": 2,
|
||||||
|
"content": "nodejs/express",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"timeout": 5,
|
||||||
|
"type": "startup",
|
||||||
|
"wait": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
WAIT=2 # wait 2 seconds
|
|
||||||
TIMEOUT=5 # set timeout to 5 seconds
|
|
||||||
ATTEMPTS=2 # try 2 times
|
|
||||||
|
|
||||||
/ nodejs/express
|
|
||||||
@@ -1,8 +1,21 @@
|
|||||||
{
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"attempts": 2,
|
||||||
|
"content": "nodejs/express",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"timeout": 5,
|
||||||
|
"type": "startup",
|
||||||
|
"wait": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dokku": {
|
"dokku": {
|
||||||
"predeploy": "touch /app/predeploy.test",
|
"postdeploy": "touch /app/postdeploy.test",
|
||||||
"postdeploy": "touch /app/postdeploy.test"
|
"predeploy": "touch /app/predeploy.test"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
WAIT=2 # wait 2 seconds
|
|
||||||
TIMEOUT=5 # set timeout to 5 seconds
|
|
||||||
ATTEMPTS=2 # try 2 times
|
|
||||||
|
|
||||||
/ Hello World!
|
|
||||||
@@ -1,20 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "Sample node.js express app",
|
"addons": [
|
||||||
"description": "Used in dokku's test suite",
|
"dokku-postgres",
|
||||||
"keywords": [
|
"dokku-redis"
|
||||||
"nodejs",
|
|
||||||
"express",
|
|
||||||
"testing"
|
|
||||||
],
|
],
|
||||||
"website": "https://dokku.com/docs/",
|
"buildpacks": [
|
||||||
"repository": "https://github.com/dokku/dokku",
|
{
|
||||||
"logo": "https://raw.githubusercontent.com/dokku/dokku/master/docs/assets/dokku.png",
|
"url": "https://github.com/heroku/heroku-buildpack-nodejs"
|
||||||
"scripts": {
|
|
||||||
"dokku": {
|
|
||||||
"predeploy": "mkdir -p /app && touch /app/predeploy.test",
|
|
||||||
"postdeploy": "mkdir -p /app && touch /app/postdeploy.test"
|
|
||||||
}
|
}
|
||||||
},
|
],
|
||||||
|
"description": "Used in dokku's test suite",
|
||||||
"env": {
|
"env": {
|
||||||
"SECRET_TOKEN": {
|
"SECRET_TOKEN": {
|
||||||
"description": "A secret key for verifying the integrity of signed cookies.",
|
"description": "A secret key for verifying the integrity of signed cookies.",
|
||||||
@@ -25,14 +19,33 @@
|
|||||||
"generator": "echo 5"
|
"generator": "echo 5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"attempts": 2,
|
||||||
|
"content": "Hello World!",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"timeout": 5,
|
||||||
|
"type": "startup",
|
||||||
|
"wait": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"image": "gliderlabs/herokuish:latest-22",
|
"image": "gliderlabs/herokuish:latest-22",
|
||||||
"addons": [
|
"keywords": [
|
||||||
"dokku-postgres",
|
"nodejs",
|
||||||
"dokku-redis"
|
"express",
|
||||||
|
"testing"
|
||||||
],
|
],
|
||||||
"buildpacks": [
|
"logo": "https://raw.githubusercontent.com/dokku/dokku/master/docs/assets/dokku.png",
|
||||||
{
|
"name": "Sample node.js express app",
|
||||||
"url": "https://github.com/heroku/heroku-buildpack-nodejs"
|
"repository": "https://github.com/dokku/dokku",
|
||||||
|
"scripts": {
|
||||||
|
"dokku": {
|
||||||
|
"postdeploy": "mkdir -p /app \u0026\u0026 touch /app/postdeploy.test",
|
||||||
|
"predeploy": "mkdir -p /app \u0026\u0026 touch /app/predeploy.test"
|
||||||
}
|
}
|
||||||
]
|
},
|
||||||
}
|
"website": "https://dokku.com/docs/"
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ Hello
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "Hello",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ go
|
|
||||||
@@ -1,17 +1,27 @@
|
|||||||
{
|
{
|
||||||
"name": "Sample go app",
|
|
||||||
"description": "Used in dokku's test suite",
|
|
||||||
"website": "https://dokku.com/docs/",
|
|
||||||
"repository": "https://github.com/dokku/dokku",
|
|
||||||
"logo": "https://raw.githubusercontent.com/dokku/dokku/master/docs/assets/dokku.png",
|
|
||||||
"scripts": {
|
|
||||||
"dokku": {
|
|
||||||
"postdeploy": "touch /app/postdeploy.test && ls -la /app"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"buildpacks": [
|
"buildpacks": [
|
||||||
{
|
{
|
||||||
"url": "https://github.com/heroku/heroku-buildpack-go"
|
"url": "https://github.com/heroku/heroku-buildpack-go"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
}
|
"description": "Used in dokku's test suite",
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "go",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"logo": "https://raw.githubusercontent.com/dokku/dokku/master/docs/assets/dokku.png",
|
||||||
|
"name": "Sample go app",
|
||||||
|
"repository": "https://github.com/dokku/dokku",
|
||||||
|
"scripts": {
|
||||||
|
"dokku": {
|
||||||
|
"postdeploy": "touch /app/postdeploy.test \u0026\u0026 ls -la /app"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"website": "https://dokku.com/docs/"
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ go
|
|
||||||
@@ -1,17 +1,27 @@
|
|||||||
{
|
{
|
||||||
"name": "Sample go app",
|
|
||||||
"description": "Used in dokku's test suite",
|
|
||||||
"website": "https://dokku.com/docs/",
|
|
||||||
"repository": "https://github.com/dokku/dokku",
|
|
||||||
"logo": "https://raw.githubusercontent.com/dokku/dokku/master/docs/assets/dokku.png",
|
|
||||||
"scripts": {
|
|
||||||
"dokku": {
|
|
||||||
"predeploy": "touch /app/predeploy.test && ls -la /app"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"buildpacks": [
|
"buildpacks": [
|
||||||
{
|
{
|
||||||
"url": "https://github.com/heroku/heroku-buildpack-go"
|
"url": "https://github.com/heroku/heroku-buildpack-go"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
}
|
"description": "Used in dokku's test suite",
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "go",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"logo": "https://raw.githubusercontent.com/dokku/dokku/master/docs/assets/dokku.png",
|
||||||
|
"name": "Sample go app",
|
||||||
|
"repository": "https://github.com/dokku/dokku",
|
||||||
|
"scripts": {
|
||||||
|
"dokku": {
|
||||||
|
"predeploy": "touch /app/predeploy.test \u0026\u0026 ls -la /app"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"website": "https://dokku.com/docs/"
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ go
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "go",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ Hello from Java
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "Hello from Java",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ Heroku Multi Buildpack on Dokku
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "Heroku Multi Buildpack on Dokku",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
WAIT=2 # wait 2 seconds
|
|
||||||
TIMEOUT=5 # set timeout to 5 seconds
|
|
||||||
ATTEMPTS=2 # try 2 times
|
|
||||||
|
|
||||||
/ nodejs/express
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"attempts": 2,
|
||||||
|
"content": "nodejs/express",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"timeout": 5,
|
||||||
|
"type": "startup",
|
||||||
|
"wait": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ nodejs/express
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "nodejs/express",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
WAIT=2 # wait 2 seconds
|
|
||||||
TIMEOUT=5 # set timeout to 5 seconds
|
|
||||||
ATTEMPTS=2 # try 2 times
|
|
||||||
|
|
||||||
/ nodejs/express
|
|
||||||
@@ -1,20 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "Sample node.js express app",
|
"addons": [
|
||||||
"description": "Used in dokku's test suite",
|
"dokku-postgres",
|
||||||
"keywords": [
|
"dokku-redis"
|
||||||
"nodejs",
|
|
||||||
"express",
|
|
||||||
"testing"
|
|
||||||
],
|
],
|
||||||
"website": "https://dokku.com/docs/",
|
"buildpacks": [
|
||||||
"repository": "https://github.com/dokku/dokku",
|
{
|
||||||
"logo": "https://raw.githubusercontent.com/dokku/dokku/master/docs/assets/dokku.png",
|
"url": "https://github.com/heroku/heroku-buildpack-nodejs"
|
||||||
"scripts": {
|
|
||||||
"dokku": {
|
|
||||||
"predeploy": "touch /app/predeploy.test",
|
|
||||||
"postdeploy": "touch /app/postdeploy.test"
|
|
||||||
}
|
}
|
||||||
},
|
],
|
||||||
|
"description": "Used in dokku's test suite",
|
||||||
"env": {
|
"env": {
|
||||||
"SECRET_TOKEN": {
|
"SECRET_TOKEN": {
|
||||||
"description": "A secret key for verifying the integrity of signed cookies.",
|
"description": "A secret key for verifying the integrity of signed cookies.",
|
||||||
@@ -25,14 +19,33 @@
|
|||||||
"generator": "echo 5"
|
"generator": "echo 5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"attempts": 2,
|
||||||
|
"content": "nodejs/express",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"timeout": 5,
|
||||||
|
"type": "startup",
|
||||||
|
"wait": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"image": "gliderlabs/herokuish:latest-22",
|
"image": "gliderlabs/herokuish:latest-22",
|
||||||
"addons": [
|
"keywords": [
|
||||||
"dokku-postgres",
|
"nodejs",
|
||||||
"dokku-redis"
|
"express",
|
||||||
|
"testing"
|
||||||
],
|
],
|
||||||
"buildpacks": [
|
"logo": "https://raw.githubusercontent.com/dokku/dokku/master/docs/assets/dokku.png",
|
||||||
{
|
"name": "Sample node.js express app",
|
||||||
"url": "https://github.com/heroku/heroku-buildpack-nodejs"
|
"repository": "https://github.com/dokku/dokku",
|
||||||
|
"scripts": {
|
||||||
|
"dokku": {
|
||||||
|
"postdeploy": "touch /app/postdeploy.test",
|
||||||
|
"predeploy": "touch /app/predeploy.test"
|
||||||
}
|
}
|
||||||
]
|
},
|
||||||
}
|
"website": "https://dokku.com/docs/"
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ <html><h3>php</h3></html>
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "\u003chtml\u003e\u003ch3\u003ephp\u003c/h3\u003e\u003c/html\u003e",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ python/flask
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "python/flask",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
WAIT=2 # wait 2 seconds
|
|
||||||
TIMEOUT=5 # set timeout to 5 seconds
|
|
||||||
ATTEMPTS=2 # try 2 times
|
|
||||||
|
|
||||||
/ python/http.server
|
|
||||||
@@ -1,8 +1,21 @@
|
|||||||
{
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"attempts": 2,
|
||||||
|
"content": "python/http.server",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"timeout": 5,
|
||||||
|
"type": "startup",
|
||||||
|
"wait": 2
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dokku": {
|
"dokku": {
|
||||||
"predeploy": "touch /app/predeploy.test",
|
"postdeploy": "touch /app/postdeploy.test",
|
||||||
"postdeploy": "touch /app/postdeploy.test"
|
"predeploy": "touch /app/predeploy.test"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ Hello, world
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "Hello, world",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ Static Page
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "Static Page",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ go
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "go",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ go
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "go",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1 +0,0 @@
|
|||||||
/ go
|
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"healthchecks": {
|
||||||
|
"web": [
|
||||||
|
{
|
||||||
|
"content": "go",
|
||||||
|
"name": "check-1",
|
||||||
|
"path": "/",
|
||||||
|
"type": "startup"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user