Paul Lietar
432aec67d5
Update HISTORY.md to reflect the v0.2 release.
2013-11-27 03:36:50 +00:00
Paul Lietar
2ed527bedc
Drop root privileges if necessary.
...
This makes it possible to call dokku commands as root.
2013-11-25 23:04:35 +00:00
Paul Lietar
10a8c75224
Add an empty help message to the nginx-vhosts plugin.
...
Not doing anything just destroys the help message coming from previous
plugins. Run cat to forward stdin into stdout.
2013-11-23 00:10:30 +00:00
Paul Lietar
8a9182c859
Don't fail if CONTAINER is inexistant.
2013-11-22 22:58:02 +00:00
Paul Lietar
7ed57b285c
Close stdin before running the backup-export hooks.
...
This avoids hanging when we're not in a pty.
2013-11-22 22:46:54 +00:00
Paul Lietar
99e0a43f81
Remove known issues and add note about ForceTTY
...
These issues are fixed by this PR.
2013-11-22 22:22:20 +00:00
Paul Lietar
e126da0db2
Don't explicitly specify streams to docker run.
...
Now that "docker run" always has an stdin, we don't need to explicitly
specify stdout and stderr.
2013-11-22 21:42:48 +00:00
Paul Lietar
455be29249
Fix commands, the easy way.
...
Don't use pluginhook to run the commands hook, just run all the scripts
in a loop.
2013-11-22 21:42:39 +00:00
Paul Lietar
9ec7501940
Add a list of known issues.
2013-11-21 21:01:08 +00:00
Paul Lietar
4bc45256ff
Add the date and time of installation if version is hardcoded.
2013-11-21 00:41:03 +00:00
Paul Lietar
725a2e02da
Use a hardcoded version if git revision is not available.
2013-11-21 00:27:56 +00:00
Paul Lietar
252b1ed8b6
Add a version command.
...
The git tag/revision is saved when running "make install", and can be
displayed using "dokku version".
2013-11-21 00:02:02 +00:00
Paul Lietar
e85ab7bab4
Add support for DOKKU_TAG in bootstrap.sh
...
Fixes #330
Refs #329
2013-11-20 23:40:42 +00:00
Paul Lietar
557d555858
Delete the /cache directory's contents from inside the container.
...
Fixes #322 .
Buildpacks write into /cache as root, which made the delete command unable
to delete it.
Its contents are now deleted using "docker run", and thus as root.
2013-11-20 20:42:15 +00:00
Paul Lietar
f92e7a59d9
Force connection of stdin and stderr in the run command.
...
If stdin is closed, which is the case when pluginhook is called from an
interactive session, "docker run" does not connect stdin and stderr by default.
Fixes #323
2013-11-20 00:45:41 +00:00
Paul Lietar
bc9dbf6127
Merge pull request #309 from plietar/make-phony
...
Make targets in the Makefile part of PHONY.
2013-11-18 13:56:01 -08:00
Paul Lietar
158c3d215b
Enable DOKKU_TRACE when running travis tests.
2013-11-18 21:02:41 +00:00
Paul Lietar
83ce81fc51
Enable tracing in hooks when DOKKU_TRACE is set.
...
This makes it much easier to debug plugins.
Also source the 'dokkurc' file when starting dokku. This makes it easy
to define DOKKU_TRACE over ssh.
2013-11-18 20:59:48 +00:00
Paul Lietar
584ddf9044
Make targets in the Makefile part of PHONY.
2013-11-15 10:00:30 +00:00
Paul Lietar
ea663d13d3
Set the hostname of the ci receiver correctly.
2013-11-15 03:08:14 +00:00
Paul Lietar
a06d27ab45
Use the FQDN to setup the HOSTNAME and VHOST files.
...
The HOSTNAME environment var only contains the first part of the domain
name. Use the fqdn to have it entirely.
2013-11-15 03:07:51 +00:00
Paul Lietar
28c78300db
Improve the logs command.
...
Check for application's existence, and add an optional -t option, to
make it behave like "tail -f" or "heroku logs -t"
2013-10-31 10:50:58 +00:00
Paul Lietar
bca5a99b1d
Don't allow the push if building failed.
2013-10-28 21:15:17 +00:00
Paul Lietar
b5c8dd7436
Use DOKKU_ROOT instead of HOME.
...
HOME is not consistent if dokku is ran e.g. as root (for setup).
The DOKKU_ROOT variable will also make it possible to have the repositories stored in an arbitrary location (works-ish right now)
2013-10-28 21:15:17 +00:00
Paul Lietar
e04f271d8e
Remove "remote:" in the git hook output
2013-10-28 21:15:17 +00:00
Paul Lietar
27d4bc8c3c
Replace gitreceive by a git plugin.
...
This removes the need for two distinct users.
Git pushes and dokku commands are sent using the same user.
2013-10-28 21:15:17 +00:00