Commit Graph

223 Commits

Author SHA1 Message Date
Luke Murphy
487b59c994
Put commands into entrypoint 2020-03-15 12:46:13 +01:00
Luke Murphy
55b71f0016
Give exe bit 2020-03-15 12:43:03 +01:00
Luke Murphy
00f3f121cb
Use right name 2020-03-15 12:42:25 +01:00
Luke Murphy
16a07eac87
Attempt new entrypoint angle 2020-03-15 12:41:24 +01:00
Luke Murphy
0c025b7ebb
Dropping this for good then 2020-03-15 12:35:02 +01:00
Luke Murphy
6407f52e24
Fix keys 2020-03-15 12:26:43 +01:00
Luke Murphy
5b2b042030
Attempt pre/post again 2020-03-15 12:24:50 +01:00
Luke Murphy
b48e33ab82
Stop the script approach 2020-03-15 09:57:19 +01:00
Luke Murphy
1bb4d25c56
Add dokku client 2020-03-15 09:28:42 +01:00
Luke Murphy
391a2f7ca6
Simplify dockerfile once more 2020-03-15 09:28:34 +01:00
Luke Murphy
444b37a61d
Remove LE stuff from predeploy 2020-03-15 09:12:52 +01:00
Luke Murphy
3cb8ce2183
More postdeploy circles 2020-03-15 09:12:11 +01:00
Luke Murphy
ddffce5711
That's not there :/ 2020-03-15 09:08:01 +01:00
Luke Murphy
e5cd494c5a
Fix condition 2020-03-15 09:07:19 +01:00
Luke Murphy
9dd70c0e17
Don't copy non-existing file 2020-03-15 09:05:57 +01:00
Luke Murphy
1d24675009
Only do predeploy 2020-03-15 09:05:13 +01:00
Luke Murphy
402b30bafe
Use $APP 2020-03-15 09:01:00 +01:00
Luke Murphy
ea4dc4a548
Work with ports again in app.json 2020-03-15 08:54:38 +01:00
Luke Murphy
369adfb0cd
Use full path 2020-03-15 08:49:57 +01:00
Luke Murphy
cf7ff6db0f
Run ports in pre-deploy 2020-03-15 08:48:24 +01:00
Luke Murphy
aa49f2d295
Tweak usage of plugins 2020-03-15 08:42:50 +01:00
Luke Murphy
513843b395
COPY right files 2020-03-15 08:32:30 +01:00
Luke Murphy
52d5e9ee21
Remove since in predeploy 2020-03-15 08:31:39 +01:00
Luke Murphy
bd18997cc0
Moving more config to the app 2020-03-15 08:31:10 +01:00
Luke Murphy
a9747d79c9
Remove WIP 2020-03-15 08:20:49 +01:00
Luke Murphy
b49054e8e0
Upgrade gitea 2020-03-12 20:52:40 +01:00
Luke Murphy
4eb972c703
Back to postdeploy
Release overrides the entrypoint.
2020-03-12 19:28:08 +01:00
Luke Murphy
1907e7c19b
Add WIP marker 2020-03-12 19:25:38 +01:00
Luke Murphy
9a06eebbc1
Try release hooks 2020-03-12 18:55:51 +01:00
Luke Murphy
448ad5d1db
Match Dokku logs 2020-03-12 18:14:42 +01:00
Luke Murphy
bf75a7b7ee
Wrap all scripts in check 2020-03-12 18:03:10 +01:00
Luke Murphy
31684dd77e
Don't migrate if no database configuration is up 2020-03-12 17:54:11 +01:00
Luke Murphy
dc7b416e57
Fix echo lines to match and run main 2020-03-12 17:32:36 +01:00
Luke Murphy
e7bedec4dc
Fix path 2020-03-12 16:40:17 +01:00
Luke Murphy
c2f26be35e
Do it manually once more 2020-03-12 16:38:10 +01:00
Luke Murphy
61f53bbb7e
Add migration 2020-03-12 16:35:13 +01:00
Luke Murphy
59beb3a092
Get faster checks 2020-03-12 16:34:19 +01:00
Luke Murphy
291ae6591e
Tune up post deploy script 2020-03-12 16:33:02 +01:00
Luke Murphy
722e9af1e4
Revert "Just use the $WORKDIR"
This reverts commit 487fb34b68.

Remembered that we can't rely on WORKDIR if it is set upstream and then
we have to hard code that in the app.json. So, stick with the /app/
folder for now.
2020-03-12 16:13:58 +01:00
Luke Murphy
487fb34b68
Just use the $WORKDIR 2020-03-12 16:08:43 +01:00
Luke Murphy
167435a7a3
Don't assume database is up but assume health is 2020-03-12 15:27:09 +01:00
Luke Murphy
c00ca14b86
Try just the right port 2020-03-12 15:25:14 +01:00
Luke Murphy
cd989bed7a
Try spacing 2020-03-12 15:23:23 +01:00
Luke Murphy
971c4a6cb0
Try a lot so I can debug 2020-03-12 15:09:45 +01:00
Luke Murphy
60129b9400
Remove procfile 2020-03-12 15:03:08 +01:00
Luke Murphy
c74f73bcf1
Wait less 2020-03-12 15:02:06 +01:00
Luke Murphy
4c8fe79dbe
Go for the postdeploy.sh approach 2020-03-12 15:01:36 +01:00
Luke Murphy
88ac6e9526
Check health check URL 2020-03-12 14:57:32 +01:00
Luke Murphy
579352b778
Get CHECKS back in, seem to be working 2020-03-12 14:57:03 +01:00
Luke Murphy
bdfb4da4b1
Remove white space 2020-03-11 19:57:20 +01:00