Michael Hobbs
498e250e2e
link to commit id and line in comment
2014-12-11 12:52:04 -08:00
Michael Hobbs
7d5e0ba5aa
create build env for both dokku and new style buildpacks
2014-12-11 12:05:55 -08:00
Jose Diaz-Gonzalez
d9d66c58ab
Fix reference to $APP
2014-12-08 22:16:05 -05:00
Jose Diaz-Gonzalez
6ddc7275dd
First pass at official user-env-compile plugin
...
- Uses ENV and APP/ENV files
- Supports old BUILD_ENV files (which are likely in wide-use)
- Allows user's to override globals with app-specific configuration
Closes #284
Closes #683
Closes #763
Refs #503
Refs #678
2014-11-25 11:24:58 -05:00
Jose Diaz-Gonzalez
58ca13e838
Release 0.3.6
v0.3.6
2014-11-25 10:44:32 -05:00
Jose Diaz-Gonzalez
7c2f21fd2a
Merge pull request #782 from progrium/simplified-config
...
Simplified config
2014-11-24 13:17:27 -05:00
Jose Diaz-Gonzalez
887637fb6b
Merge pull request #785 from lsde/master
...
fix missing semicolon in nginx config
2014-11-24 10:33:26 -05:00
Jonas Svatos
c706344a94
fix missing semicolon in nginx config
2014-11-24 13:22:50 +01:00
Jose Diaz-Gonzalez
a1bbc1ec4d
Release 0.3.5
v0.3.5
2014-11-24 02:17:50 -05:00
Jose Diaz-Gonzalez
793f1b6058
Merge pull request #784 from progrium/no-vhost-hotfix
...
Fix NO_VHOST check
2014-11-24 02:16:39 -05:00
Jose Diaz-Gonzalez
20977fc2a2
Fix NO_VHOST check
...
It used to check if NO_VHOST is unset or set to the empty string
It now checks if NO_VHOST is set to a non-empty string
2014-11-24 02:16:21 -05:00
Jose Diaz-Gonzalez
6cad7ef8f4
Release 0.3.4
v0.3.4
2014-11-23 23:37:18 -05:00
Jose Diaz-Gonzalez
407436b4cc
Exit 0 if there is no configuration
...
heroku config:get exits 0 in this case
2014-11-23 23:32:42 -05:00
Jose Diaz-Gonzalez
04dbe31919
Unify the way in which all error messages are specified
...
Other parts of dokku use one-liners where possible, so these parts should as well
2014-11-23 23:32:42 -05:00
Jose Diaz-Gonzalez
56185fc1c2
Correct plugin example
...
$APP is not available until after the if guards
2014-11-23 23:32:42 -05:00
Jose Diaz-Gonzalez
303bd77226
Simplify if statement
2014-11-23 23:32:42 -05:00
Jose Diaz-Gonzalez
c6e39c08f0
Simplify env var checking in config plugin
...
All checks are now done within the commands, and we only need to ensure the config file exists.
2014-11-23 23:32:42 -05:00
Jose Diaz-Gonzalez
12194e2cc8
Add proper error handling to each config command
2014-11-23 23:32:42 -05:00
Jose Diaz-Gonzalez
a3b3a6a12a
Unify missing app error messages
2014-11-23 23:32:42 -05:00
Jose Diaz-Gonzalez
c6f80bcf55
Merge pull request #781 from expa/master
...
use DOKKU_IMAGE (i.e. progrium/buildstep)
2014-11-23 23:27:34 -05:00
Michael Hobbs
4d8c7033a9
use DOKKU_IMAGE (i.e. progrium/buildstep)
2014-11-23 19:58:12 -08:00
Michael Hobbs
d2547c4233
Merge pull request #3 from progrium/master
...
merge from upstream v0.3.2
2014-11-23 19:56:41 -08:00
Jose Diaz-Gonzalez
4fa567dbe3
Merge pull request #780 from progrium/778-better-error-message
...
Output error message when a command is not found. Closes #778
2014-11-23 21:05:08 -05:00
Jose Diaz-Gonzalez
463f725872
Use git-* as a pluginhook prefix
v0.3.3
2014-11-23 21:02:40 -05:00
Jose Diaz-Gonzalez
aa1c7f6fa4
Move git-upload-pack command to git plugin
...
Also use the same APP escaping as used for other git commands.
2014-11-23 20:47:15 -05:00
Jose Diaz-Gonzalez
5f6f73ff22
Merge pull request #722 from wrboyce-git-pull
2014-11-23 20:40:08 -05:00
Will Boyce
ad497191df
Add git pull support
2014-11-23 20:39:57 -05:00
Jose Diaz-Gonzalez
53c58ec8b9
Merge pull request #777 from feature/improve-core
2014-11-23 20:32:21 -05:00
Thomas Boerger
9eab9ed1e1
Replaced hard coded plugins path
...
To be able to switch the plugin path i have removed the hard coded
plugin path from the catch all section of the switch within the main
dokku executable.
2014-11-23 20:32:13 -05:00
Thomas Boerger
3faa37b2e1
Keep environment for sudo
...
To be able to set some other environment variables even if dokku gets
called from a different user we have to keep the environment with sudo
intact, so i added the -E option.
2014-11-23 20:32:13 -05:00
Jose Diaz-Gonzalez
fd55e8d41b
Merge pull request #669 from ohardy/master
2014-11-23 20:29:12 -05:00
Olivier Hardy
303bc18265
Handle dokku plugins-update command
2014-11-23 20:22:26 -05:00
Jose Diaz-Gonzalez
2141435ce1
Rename DOKKU_CONTROLLER to DOKKU_HOST
2014-11-23 19:54:10 -05:00
Jose Diaz-Gonzalez
03e5248256
Merge pull request #659 from Xe/client
...
contrib: add dokku client shell script
2014-11-23 19:53:26 -05:00
Jose Diaz-Gonzalez
d307a5b8ec
Output error message when a command is not found. Closes #778
...
Plugins with commands will need to implement a catch-all command that exits with the `DOKKU_NOT_IMPLEMENTED_EXIT`` code (10). This signals to dokku that a given plugin has indeed not executed anything for a plugin (which may not always be the case).
Using plugins that do not implement this pattern will result in those plugins silencing the error message.
2014-11-23 18:09:11 -05:00
Jose Diaz-Gonzalez
1e5a904747
Merge pull request #779 from progrium/minor-formatting
...
Minor bash formatting changes
2014-11-23 16:49:21 -05:00
Jose Diaz-Gonzalez
a46582225a
Merge pull request #751 from webhippie/feature/improvements
...
Partial openSUSE support
2014-11-23 16:47:36 -05:00
Jose Diaz-Gonzalez
8bc3d372ec
Minor bash formatting changes
2014-11-23 16:42:21 -05:00
Thomas Boerger
14b1743c2a
Added openSUSE support
...
I have done the first steps to get dokku running for other distros like
openSUSE. I have simply replaced the important places within the core
plugins with a check for DOKKU_DISTRO that gets exported by dokku
itself. It just replaces the apt-get and service start/restart/reload
functionality with the openSUSE counterparts.
2014-11-23 11:37:58 +01:00
Thomas Boerger
2d776292c3
Added environment variable for base container
...
In order to be able to use a different base image i have added another
environment variable where everybody can switch the used base container
for the applications directly through the environment variable
DOKKU_IMAGE or with the help of the dokkurc configuration.
2014-11-23 11:34:29 +01:00
Jose Diaz-Gonzalez
f0fe32a9c6
Merge pull request #776 from joliv/master
...
Update man page for new commands
2014-11-22 23:21:25 -05:00
joliv
c4f5b3e219
Update man page for new commands
2014-11-22 22:09:11 -05:00
Jose Diaz-Gonzalez
e7219c0346
Release 0.3.2
v0.3.2
2014-11-22 18:02:06 -05:00
Jose Diaz-Gonzalez
842ae10b74
Merge pull request #775 from progrium/plugin-help
...
Add PLUGIN:help command to each plugin
2014-11-22 17:58:24 -05:00
Jose Diaz-Gonzalez
cfc7c41e47
Add PLUGIN:help command to each plugin
2014-11-22 17:52:46 -05:00
Jose Diaz-Gonzalez
c7af391c06
Merge pull request #774 from progrium/254-nginx-hostname-hook
...
Add the ability to customize an app's hostname using nginx-hostname pluginhook
2014-11-22 17:19:38 -05:00
Jose Diaz-Gonzalez
4754f241f2
Add the ability to customize an app's hostname using the nginx-hostname pluginhook
...
Closes #254
2014-11-22 17:18:33 -05:00
Jose Diaz-Gonzalez
fd1678b576
Remove reference to no-vhost plugin that is now in core
2014-11-22 16:50:06 -05:00
Jose Diaz-Gonzalez
7f730d0697
Merge pull request #773 from progrium/485-native-no-vhost
...
Disable nginx vhosts via `dokku config:set myapp NO_VHOST=1`. Closes #485
2014-11-22 16:44:05 -05:00
Jose Diaz-Gonzalez
69f360864f
Disable nginx vhosts via dokku config:set myapp NO_VHOST=1. Closes #485
2014-11-22 16:42:55 -05:00