tests: do not modify the existing app.json via jq

The jq binary doesn't support jsonc, so we can't modify it for testing purposes. Instead, just create an app.json with the correct heroku.postdeploy task.
This commit is contained in:
Jose Diaz-Gonzalez committed 2025-11-20 00:44:26 -05:00
1 parent 56566d1c05
commit 6b67d5c59b
3 files changed
+30 -10

No files matched your search

@@ -0,0 +1,24 @@
{
"healthchecks": {
"web": [
{
"attempts": 2,
"content": "python/http.server",
"name": "check-1",
"path": "/",
"timeout": 5,
"type": "startup",
"wait": 2
}
]
},
"scripts": {
"dokku": {
// this is a comment for the postdeploy script
"postdeploy": "touch /app/postdeploy.test",
// this is a comment for the predeploy script
"predeploy": "touch /app/predeploy.test"
},
"postdeploy": "touch /app/heroku-postdeploy.test"
}
}