Jose Diaz-Gonzalez
b930ed9600
Release 0.7.0
2016-07-30 18:51:55 -04:00
Jose Diaz-Gonzalez
e61f55671c
Merge pull request #2332 from dokku/jg-2294-apps-rename
...
Properly handle non-deployed applications during apps:rename
2016-07-30 15:11:57 -04:00
Jose Diaz-Gonzalez
b2fac23d58
Handle cases where directories and files are not-existent
...
New applications will be missing a few different files and directories, which isn't strictly an error case.
2016-07-29 16:32:40 -04:00
Jose Diaz-Gonzalez
2474c87bbd
Pull the deploying app image name where necessary
...
All of these commands should execute against the image that is in use versus the "latest" that dokku provides the system with.
2016-07-29 12:49:29 -04:00
Jose Diaz-Gonzalez
be3574136b
Properly handle non-deployed applications during apps:rename
...
An application which has not been deployed will not have an image
available, and therefore attempting to remove an (empty) cache directory
will fail. Rather than checking for the image - which we should
still do, as not having an image for a deployed app is an error state -
we should instead only attempt the docker cache removal if the directory
cannot be removed via rmdir.
Closes #2294
2016-07-29 00:11:53 -04:00
Jose Diaz-Gonzalez
b2fd5676eb
Release 0.6.5
2016-07-06 18:39:17 -04:00
Jose Diaz-Gonzalez
aa74315389
Release 0.6.4
2016-06-29 01:27:16 -04:00
Jose Diaz-Gonzalez
2b019aef2f
Release 0.6.3
2016-06-25 00:16:36 -04:00
Jose Diaz-Gonzalez
bdd2b4bfe5
Release 0.6.2
2016-06-20 21:16:21 -04:00
Jose Diaz-Gonzalez
ed06b8961e
Release 0.6.1
2016-06-18 23:54:00 -04:00
Jose Diaz-Gonzalez
833db67f25
Release 0.6.0
2016-06-18 01:53:48 -04:00
Jose Diaz-Gonzalez
b71c5b668f
Release 0.5.8
2016-06-10 22:40:57 -04:00
Jose Diaz-Gonzalez
2da58ff351
Release 0.5.7
2016-05-17 03:15:27 -04:00
Jose Diaz-Gonzalez
e9447a26d9
Release 0.5.6
2016-04-29 16:07:58 -04:00
Michael Hobbs
cb9efa3322
implement docker stop timeout. closes #2126 ( #2148 )
2016-04-26 18:06:55 -07:00
Jose Diaz-Gonzalez
a13a0df35e
Release 0.5.5
2016-04-13 13:32:04 -04:00
Jose Diaz-Gonzalez
f328a9940b
Release 0.5.4
2016-04-05 03:09:29 -04:00
Jose Diaz-Gonzalez
9dfe14fe33
Release 0.5.3
2016-03-30 01:24:14 -04:00
Jose Diaz-Gonzalez
12ca7adcd1
Release 0.5.2
2016-03-27 17:09:36 -04:00
Jose Diaz-Gonzalez
668dc0e7a5
Release 0.5.1
2016-03-26 19:54:25 -04:00
Michael Hobbs
de9b1f6273
[ci skip] make help desc local consistent
2016-03-22 13:33:35 -07:00
Justin Clark
14a1d06c03
Collapse help into expandable command topics
2016-03-22 10:50:20 -07:00
Michael Hobbs
987c5cfb9c
use declare for description variable
2016-03-08 15:30:34 -05:00
Michael Hobbs
aa2415eeb8
more style/function tweaks
2016-03-03 22:11:35 -08:00
Michael S. Hobbs
89f289b433
subcommand restructure and bashstyle refactor. closes #1579
2016-03-03 22:11:35 -08:00
Michael Hobbs
d1b87bd7b7
cleanup shellcheck SC2086
2016-02-23 07:50:06 -08:00
Michael Hobbs
17e7869150
label all dokku containers
2016-01-05 11:55:07 -08:00
Jose Diaz-Gonzalez
7562610c7d
Fix output of dokku apps
2016-01-04 17:07:43 -05:00
Jose Diaz-Gonzalez
244bb25e6a
Fix variable reference
2016-01-04 05:20:05 -05:00
Jose Diaz-Gonzalez
2a94bf267b
Fix pre-receive git-hook
...
Closes #1817
2016-01-04 04:40:05 -05:00
Jose Diaz-Gonzalez
51a50fb571
Use dokku_apps for listing apps instead of re-inventing the wheel
2016-01-02 02:31:34 -05:00
Michael Hobbs
803ef7d9f3
ensure app name begins with lowercase. closes #1774
2015-12-22 12:02:18 -08:00
Zach Feldman
f0b260d7dc
Adds dokku apps:rename function, closes #1440 .
...
Adds unit test for new apps:rename function.
Add example in the docs for new apps:rename function.
Add apps:rename command to help command.
Delete cache directory before copying old app directory to new app directory.
deploy_app instead of create_app for apps:rename testing.
Change app url to match new name. Fix unit tests.
Add some more tests, plugn triggers.
2015-11-30 16:27:10 -05:00
Jose Diaz-Gonzalez
8e9d04ae36
Add post-create hook
...
Note that this is invoked *before* the application is deployed, so it's usage is quite different than a potential post-successful-create hook.
2015-11-26 15:47:59 -05:00
Dan Callahan
c389b213b5
Resolve SC2162: 'read without -r mangles backslashes'
...
More information:
https://github.com/koalaman/shellcheck/wiki/SC2162
http://wiki.bash-hackers.org/commands/builtin/read
2015-11-04 20:40:42 -06:00
Dan Callahan
8ed0193b1d
Resolve SC2115: 'Use "${var:?}" to ensure this never expands to /'
...
https://github.com/koalaman/shellcheck/wiki/SC2115
2015-11-03 22:00:05 -06:00
Jose Diaz-Gonzalez
70511c340d
Check if command is implemented in a plugin before executing plugin code
...
Because of how plugin commands are implemented, their output can be incredibly verbose. Rather than executing even the `set -eo pipefail` parts of a plugin, we immediately check if the command is implemented by a plugin. If it is not, then we continue on as normal.
One side-effect of this change is that plugin commands need to be duplicated again:
- once in the command array
- once for the actual body of the command
- once in the help output
This is also quite hackish, and probably not the best way to decrease trace output. Note that we drop approximately 2k lines worth of logs with this change.
2015-09-18 16:09:59 -04:00
Jose Diaz-Gonzalez
27a2478a33
Follow bashstyle where possible
2015-09-16 16:06:31 -07:00
Michael Hobbs
8095df79f6
implement core plugin mgmt using plugn. add tests.
2015-09-15 02:17:28 -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
7a545759f2
initial pass at switching to plugn
2015-09-15 02:16:40 -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
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
495b1d2ba0
refactor to explicitly set IMAGE via get_app_image_name()
2015-09-03 16:12:36 -07:00
Michael Hobbs
04a4da7fc5
allow tagging and deployment of tagged app images
2015-09-02 11:18:01 -07:00
Jim Myhrberg
d5df6a4190
Use $PLUGIN_PATH instead of $(dirname $0)/..
...
As briefly discussed in #1425 , source the `common/functions` file via an
absolute path, rather than determining the relative path by using
`dirname`. 3rd-party plugins should follow suit and use the new
`$PLUGIN_PATH` convention too.
2015-08-28 14:14:28 +01:00
Michael Hobbs
b30db17def
use column to format help output
2015-07-28 09:31:56 -07:00