Jose Diaz-Gonzalez
ce23cf6ce6
rename dokku_log_pluginhook_call
2015-09-15 02:16:40 -07:00
Jose Diaz-Gonzalez
ad72a137e1
Fix sourcing of functions
2015-09-15 02:16:40 -07:00
Michael Hobbs
6d70751cfc
force removal of app directory on post-delete
2015-09-15 02:16:40 -07:00
Michael Hobbs
5d8359c12e
fix nginx template paths
2015-09-15 02:16:40 -07:00
Michael Hobbs
7a545759f2
initial pass at switching to plugn
2015-09-15 02:16:40 -07:00
KernelMadness
7eb8da5302
limit amount of lines in "dokku logs -t"
2015-09-14 23:59:19 +03:00
Michael Hobbs
01525e3164
set TRACE=true when DOKKU_TRACE is set
2015-09-10 14:07:07 -07:00
Michael Hobbs
b2949d2199
log when killing old app container(s) fails
2015-09-10 08:47:48 -07:00
Jose Diaz-Gonzalez
88bd50abaf
Revert change that whitelisted dokku-labeled containers
...
Rather than having a one-off hack for "blessed" containers, we should solve the issue properly. As that would take a bit more work, reverting to the previous state is preferred.
Better that we solve a problem problem than with a hack that we'll need to roll back in the future.
Refs #1220
[ci skip]
2015-09-08 14:35:00 -04:00
Michael Hobbs
b71f6f4660
rename buildstep hooks to buildpack
2015-09-08 08:50:17 -07:00
Jose Diaz-Gonzalez
34c5b53857
Do not delete containers with the label dokku.service
...
[ci skip]
2015-09-08 11:21:38 -04:00
Jose Diaz-Gonzalez
ba82b544f0
Proper spacing in dokku_log_warn
2015-09-06 19:40:44 -04:00
Jose Diaz-Gonzalez
d0c0ffc19c
Do not remove any containers that have the label dokku. Closes #1220
...
This can be used to mark data containers as non-removable by the cleanup function
2015-09-06 19:23:15 -04:00
Jose Diaz-Gonzalez
342e9aa95b
Move dokku cleanup into docker_cleanup function
...
This should slightly reduce DOKKU_TRACE output.
2015-09-06 19:21:12 -04:00
Michael Hobbs
515afa8d62
lintballs
2015-09-03 21:44:19 -07:00
Jose Diaz-Gonzalez
adfc3a8101
Use dokku_log_fail in favor of dokku_log_warn
...
If a command will exit because of invalid input, that isn't a warning, it's a failure.
2015-09-04 00:18:41 -04:00
Jose Diaz-Gonzalez
95161a2a9f
Use dokku_log_fail in all cases where there is an exit 1
2015-09-04 00:17:45 -04:00
Jose Diaz-Gonzalez
76cf4d2969
Add support for certificate setting via files on disk (when on server)
...
This can be used as an alternative to importing via stdin, which may be preferred when working directly on a server, or via scripted installation/deployments.
2015-09-04 00:13:48 -04:00
Jose Diaz-Gonzalez
71ebf1e476
Add certs:update alias for certs:add
2015-09-04 00:00:07 -04:00
Jose Diaz-Gonzalez
db4e847e8d
Update documentation on ssl management
...
Also move into subdirectory
[ci skip]
2015-09-03 23:35:18 -04:00
Jose Diaz-Gonzalez
d37e64d3d6
Move nginx:import-ssl to certs:add
2015-09-03 23:04:05 -04:00
Jose Diaz-Gonzalez
f2e153744c
[ci skip] minor formatting changes
2015-09-03 22:38:24 -04:00
Michael Hobbs
5cb62b168f
lintball. also run nginx:build-config if domains:add fails
2015-09-03 22:35:38 -04:00
Michael Hobbs
983e0910b1
implement certs:remove. spit out csr on certs:generate
2015-09-03 22:35:00 -04:00
Michael Hobbs
aec138ef32
heroku-like certs:info output
2015-09-03 22:35:00 -04:00
Michael Hobbs
f9da2d5c25
initial pass at cert plugin functionality
2015-09-03 22:35:00 -04:00
Michael Hobbs
a983456030
remove magic additions to VHOST based on SSL cert. fixes #1368
2015-09-03 22:35:00 -04:00
Michael Hobbs
9eb30d9e33
make local consistent in functions
2015-09-03 18:55:52 -07:00
Michael Hobbs
5f7c4426b7
rename tag to tags. make verbs more consistent
2015-09-03 18:26:02 -07:00
Michael Hobbs
9c37069a6a
create get_app_image_repo() to define our app image pattern and use it
2015-09-03 17:21:22 -07:00
Michael Hobbs
433db65635
use PLUGIN_PATH
2015-09-03 16:52:35 -07:00
Michael Hobbs
14acb8af1a
move tag_image() to shared functions. explicitly set IMAGE
2015-09-03 16:52:23 -07:00
Michael Hobbs
495b1d2ba0
refactor to explicitly set IMAGE via get_app_image_name()
2015-09-03 16:12:36 -07:00
Michael Hobbs
8be5c874ec
errant use of local. derp
2015-09-02 11:59:50 -07:00
Michael Hobbs
d696013fe2
use get_running_image_tag in new enter plugin
2015-09-02 11:19:46 -07:00
Michael Hobbs
5be7641f87
call tag-add and tag-remove pluginhooks
2015-09-02 11:19:20 -07:00
Michael Hobbs
04a4da7fc5
allow tagging and deployment of tagged app images
2015-09-02 11:18:01 -07:00
Jose Diaz-Gonzalez
06b2347486
Merge pull request #1402 from progrium/jg-consolidate-config
...
Consolidate config
2015-09-01 16:39:33 -04:00
Jose Diaz-Gonzalez
7db481fe36
move last actions into functions
2015-09-01 14:30:32 -04:00
Jose Diaz-Gonzalez
646fd467ab
use config_set function in domains and 00_dokku-standard
2015-09-01 00:55:05 -04:00
Jose Diaz-Gonzalez
7b5ea80ea4
Move get and set actions into functions
2015-09-01 00:52:40 -04:00
Jose Diaz-Gonzalez
a62f914646
Remove the need for temp files
2015-09-01 00:13:29 -04:00
Jose Diaz-Gonzalez
b01d371c46
Move all functions into config/functions
2015-08-31 23:08:28 -04:00
Jose Diaz-Gonzalez
59a80f7857
Move config_create into config/functions
2015-08-31 23:06:45 -04:00
Jose Diaz-Gonzalez
c32bf8f035
pass in ENV_FILE to config_create
2015-08-31 23:05:47 -04:00
Jose Diaz-Gonzalez
99f1f1b6d3
Move config arg parsing into config/functions
2015-08-31 23:03:52 -04:00
Jose Diaz-Gonzalez
e08f02aca7
Use a custom temporary directory for dokku-related files
...
Also fix the trap call
2015-08-31 15:17:04 -04:00
Jose Diaz-Gonzalez
fa5fe2efd6
Use a trap to remove the TMPFILE
2015-08-31 14:36:00 -04:00
Jose Diaz-Gonzalez
7979751d71
Use $DOKKU_ROOT/$APP/.dokku_config for tempfile path
2015-08-31 12:55:32 -04:00
Jose Diaz-Gonzalez
4e0fed18a6
Merge pull request #1421 from basicer/tar-plugin
...
First pass at tar plugin.
2015-08-31 12:52:35 -04:00