Commit Graph
98 Commits
Author SHA1 Message Date
Luke Murphy f80e4e5dfe Clean up and add header marker 2020-03-19 01:57:09 +01:00
Luke Murphy 596e5b6fd1 Add more plays 2020-03-19 01:50:44 +01:00
Luke Murphy f0eb6ee080 Ansible plugin attempts 2020-03-19 01:46:09 +01:00
Luke Murphy 18332fd0bb Remove call to plugin here 2020-03-19 01:44:31 +01:00
Luke Murphy edd323e39a Add playbook plugin 2020-03-19 01:19:54 +01:00
Luke Murphy b68f858994 Let's not use make 2020-03-19 00:49:30 +01:00
Luke Murphy 1c20a199b4 Remove scripts 2020-03-19 00:15:27 +01:00
Luke Murphy 0121e36b01 Add env example 2020-03-17 23:45:56 +01:00
Luke Murphy 11c7dddf6c Remove public keys 2020-03-17 15:18:50 +01:00
Luke Murphy b271a1a130 Remove client 2020-03-17 14:43:31 +01:00
Luke Murphy 50316af321 Shorten entrypoint file also 2020-03-17 13:48:16 +01:00
Luke Murphy 03e18ff0f8 Shorten client script 2020-03-17 13:47:51 +01:00
Luke Murphy 61dc00d86d Add pre/post deployment scripts 2020-03-17 13:43:26 +01:00
Luke Murphy 690a99a8d6 Remove remote check from client 2020-03-17 13:09:37 +01:00
Luke Murphy 007b1a1f6d Move client into sbin dir 2020-03-17 02:09:13 +01:00
Luke Murphy 4b64c55db6 Add place holder makefile 2020-03-17 02:00:43 +01:00
Luke Murphy 8342c9c2d5 Add dokku client 2020-03-17 02:00:36 +01:00
Luke Murphy 13ae186de2 Add pass store 2020-03-17 02:00:29 +01:00
Luke Murphy a765c9b414 Add volumes and DB link 2020-03-17 01:08:01 +01:00
Luke Murphy 48e59bc626 Update repo 2020-03-17 00:57:20 +01:00
Luke Murphy cc38610c8a Reset the README 2020-03-16 18:27:34 +01:00
Luke Murphy 8817081bce Bump version 2020-03-16 14:05:16 +01:00
Luke Murphy 6c87d00f92 Drop back a version 2020-03-16 13:51:35 +01:00
Luke Murphy 680d1179b4 Fix typos 2020-03-15 13:11:35 +01:00
Luke Murphy ba6c2ff2d4 Fix typo 2020-03-15 12:47:49 +01:00
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
Luke Murphy 8591714cca Remove CHECKS altogether (bit flaky) 2020-03-11 19:55:52 +01:00
Luke Murphy 4e14b7ebde Trim down app.json 2020-03-11 19:51:37 +01:00
Luke Murphy b933c24757 Use release command 2020-03-11 19:51:31 +01:00
Luke Murphy 93f5319c1a Only use settings not URLs for CHECKS 2020-03-11 19:45:24 +01:00
Luke Murphy 964fce4209 Remove CHECKS (seem broken) 2020-03-11 19:43:40 +01:00
Luke Murphy cd12b2f96a Revert "Remove CHECKS for now"
This reverts commit dc0f81d9b9.
2020-03-11 19:39:07 +01:00
Luke Murphy dc0f81d9b9 Remove CHECKS for now 2020-03-11 19:32:23 +01:00
Luke Murphy 0734c5579f Use plain URL 2020-03-11 19:30:41 +01:00
Luke Murphy bcfa9824e7 Use a single route 2020-03-11 19:29:00 +01:00
Luke Murphy 71c6831776 Try again this bare URL 2020-03-11 19:26:18 +01:00
Luke Murphy c8a60a3c21 Use specific URL 2020-03-11 19:20:32 +01:00
Luke Murphy dd0bd8011a Use workdir 2020-03-11 19:18:42 +01:00
Luke Murphy fefe374985 Attempt to load CHECKS/apps.json file 2020-03-11 19:07:25 +01:00
Luke Murphy a776360a30 Clarify 2020-03-10 18:38:46 +01:00
Luke Murphy 444d8c6168 Maybe don't fuck with that 2020-03-10 13:03:32 +01:00
Luke Murphy e10af536f7 Choose right user 2020-03-10 12:54:13 +01:00
Luke Murphy 60476abae3 Woops, CHECKS file I mean 2020-03-10 12:50:52 +01:00
Luke Murphy 242c4877c7 Add app.json into right location 2020-03-10 12:49:34 +01:00
Luke Murphy 25366491bd Add CHECKS file 2020-03-10 12:42:31 +01:00
Luke Murphy 796611be59 Add post deploy task 2020-03-10 11:45:57 +01:00
Luke Murphy 694aab365d Add README 2020-03-10 10:37:46 +01:00
Luke Murphy 3d276083f6 Expose the HTTP port 2020-03-10 09:41:04 +01:00
Luke Murphy c89e6b6872 Bootstrap gitea app 2020-03-10 09:35:48 +01:00