add tests for pre/post deploy tasks
This commit is contained in:
17
tests/apps/go-fail-postdeploy/app.json
Normal file
17
tests/apps/go-fail-postdeploy/app.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"name": "Sample go app",
|
||||
"description": "Used in dokku's test suite",
|
||||
"website": "http://dokku.viewdocs.io/dokku/",
|
||||
"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": [
|
||||
{
|
||||
"url": "https://github.com/heroku/heroku-buildpack-go"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user