Commit Graph

402 Commits

Author SHA1 Message Date
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
rhy-jot
3f487b2291 Merge pull request #341 from plietar/known-issues
Add a list of known issues.
2013-11-21 15:31:12 -08:00
Paul Lietar
9ec7501940 Add a list of known issues. 2013-11-21 21:01:08 +00:00
Jeff Lindsay
a9e0a7b57e remove any default enabled sites for nginx 2013-11-21 13:03:55 -06:00
rhy-jot
f4018db310 Use $DOKKU_ROOT instead of $HOME 2013-11-21 10:48:55 -08:00
rhy-jot
cb781f9ce1 Merge pull request #337 from ryanseys/patch-1
Fix capitalization for consistency
2013-11-20 18:05:19 -08:00
Ryan Seys
ad9fe82bc7 Fix capitalization for consistency 2013-11-20 20:59:00 -05:00
rhy-jot
dfcc46b1d2 Merge pull request #334 from plietar/version
Add a version command.
2013-11-20 16:46:45 -08: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
rhy-jot
9953030478 Merge pull request #333 from rhy-jot/2013-11-20/backup-find-to-glob
backup:export: find -> glob
2013-11-20 15:48:35 -08:00
rhy-jot
e8037da726 Use globs, set nullglob, and remove stdout redirection for import 2013-11-20 15:40:50 -08:00
Paul Lietar
e85ab7bab4 Add support for DOKKU_TAG in bootstrap.sh
Fixes #330
Refs #329
2013-11-20 23:40:42 +00:00
Alexander
d11f732595 Merge branch 'history'
* history:
  Update HISTORY.md
2013-11-20 23:53:21 +01:00
Alexander
f9db09fb21 Update HISTORY.md 2013-11-20 23:51:27 +01: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
Alexander
e1560888f8 Merge pull request #325 from ugurthemaster/patch-1
Update bootstrap.sh
dev
2013-11-20 03:45:08 -08:00
ugurthemaster
25b2cd7dc5 Update bootstrap.sh
A typo has been corrected.
2013-11-20 13:33:25 +02:00
rhy-jot
ab978fab4e Provide more feedback for backup import v0.2.0-RC1 2013-11-19 21:16:01 -08:00
rhy-jot
6d64edc16a Update headers 2013-11-19 21:15:29 -08:00
rhy-jot
dae4e55f25 Merge pull request #265 from asm89/backup
Introduce `backup` plugin to export/import settings
2013-11-19 21:07:20 -08: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
rhy-jot
4ad0c6bb7c Update buildstep URL and reenable PHP test 2013-11-19 15:13:09 -08:00
rhy-jot
aed9968265 Revert "Reenable PHP test"
This reverts commit 7ecacd5d98.
2013-11-18 17:59:18 -08:00
rhy-jot
e641fda68e Merge pull request #318 from rhy-jot/2013-11-18/reenable-php
Reenable PHP test
2013-11-18 17:56:03 -08:00
rhy-jot
7ecacd5d98 Reenable PHP test 2013-11-18 17:53:00 -08: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
rhy-jot
5e1e903d51 Merge pull request #317 from plietar/master
Enable tracing in hooks when DOKKU_TRACE is set.
2013-11-18 13:23:44 -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
rhy-jot
805c5a27c6 Don't overwrite $DOKKU_ROOT/{HOSTNAME,VHOST} 2013-11-18 11:50:28 -08:00
Paul Lietar
584ddf9044 Make targets in the Makefile part of PHONY. 2013-11-15 10:00:30 +00:00
rhy-jot
da11349e81 Merge pull request #310 from plietar/fqdn
Use the FQDN to setup the HOSTNAME and VHOST files.
2013-11-14 22:56:05 -08: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
Alexander
2219044114 Introduce DOKKU_ROOT and import now in git plugin 2013-11-14 23:51:35 +01:00
Alexander
682229baae Specify current backup version at the top of the script 2013-11-14 21:52:49 +01:00
Alexander
8981b9e613 Introduce backup plugin to export/import settings 2013-11-14 21:52:49 +01:00
rhy-jot
59ef6510bc Merge pull request #307 from mmalecki/patch-1
dotcloud/docker#1869 is closed and released
2013-11-13 15:33:47 -08:00
Maciej Małecki
1d3ae29ba6 dotcloud/docker#1869 is closed and released 2013-11-13 23:33:14 +01:00
rhy-jot
7281daaa5e Merge pull request #303 from kkurian/patch-1
spelling
2013-11-12 16:19:32 -08:00
Kerry Ivan Kurian
f8fb8e104a spelling 2013-11-12 19:10:43 -05:00
rhy-jot
be97ee6019 Add upgrade instructions for users pre-27d4bc8c3c 2013-11-12 11:00:29 -08:00
rhy-jot
dd0fe5eeb1 Update environment variable section to reflect new config plugin 2013-11-11 21:05:11 -08:00
rhy-jot
a0b7831b08 Pull the advanced installation sections into their own document 2013-11-11 20:45:30 -08:00
rhy-jot
d829135d78 Remove ideas for improvement (they're complete or near completion) and mention Flynn. 2013-11-11 18:56:16 -08:00