382 Commits

Author SHA1 Message Date
rhy-jot
407c5b2875 Merge pull request #279 from alhafoudh/master
Fixed port redirection issues
2013-10-31 14:53:33 -07:00
Ahmed Al Hafoudh
9aa5f7a85b Fixed port redirection issues 2013-10-31 16:13:57 +01: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
rhy-jot
0da5065429 Mention issues with 13.10 2013-10-30 19:37:02 -07:00
Jeff Lindsay
d457aaae99 an "installer" (really just config/setup) for prebuilt images (at least for now) 2013-10-30 19:39:20 -05:00
rhy-jot
3c1666076e Silence nginx reloading 2013-10-30 17:17:53 -07:00
rhy-jot
3321186ffe Remove newly introduced '0.0.0.0:' from docker port 2013-10-30 17:02:36 -07:00
rhy-jot
fc11d5b8e9 Merge pull request #275 from progrium/shebang-pipefail
normalizing shebang and bash options + long-term fix for bootstrap instructions
2013-10-30 15:41:39 -07:00
Jeff Lindsay
483860e429 reorganizing deploy readme 2013-10-30 17:31:59 -05:00
Jeff Lindsay
b64fe76ec0 adding a DOKKU_TRACE env var to enable "set -x" 2013-10-29 17:44:36 -05:00
Jeff Lindsay
df7507d1be normalizing shebang and bash options. also added long-term fix for bootstrap instructions 2013-10-29 17:13:02 -05:00
rhy-jot
14b71cec87 Merge pull request #270 from plietar/git-plugin
Replace gitreceive by a git plugin.
2013-10-29 13:07:55 -07: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
Alexander
6350f373be Preserve cache directory between builds 2013-10-28 08:54:30 +01:00
rhy-jot
7b74935210 Merge pull request #262 from josegonzalez/app-deletion
App deletion
2013-10-27 15:29:46 -07:00
Jose Diaz-Gonzalez
01d57ef0dc New command: dokku delete <app>
Two new hooks are implemented:

- pre-delete $APP
- post-delete $APP

The following are implemented in the `post-delete` hook:

- `$APP` directory deletion (00_dokku-standard)
- nginx reload (nginx-vhosts)

The following command can be executed by either the `dokku` or `git` user as `sudo`:

    sudo /etc/init.d/nginx reload

Refs #124
Closes #186
2013-10-27 17:49:11 -04:00
Jose Diaz-Gonzalez
bcfaefa896 Enable 'nginx reload' support for git and dokku user. Refs #124. Refs #186 2013-10-25 02:42:49 -04:00
Alexander
85f14baad5 Introduce URL for app. Plugins can override this.
fixes #242
2013-10-24 13:44:05 +02:00
Alexander
c0a2683744 Merge branch 'support-for-cached-stack-tarball-on-vagrant'
* support-for-cached-stack-tarball-on-vagrant:
  Allow bootstraping Vagrant VM with a cached stack tarball
2013-10-24 13:25:51 +02:00
Fabio Rehm
96f0d8e2fa Allow bootstraping Vagrant VM with a cached stack tarball 2013-10-24 12:46:09 +02:00
rhy-jot
c90fd9406a Merge pull request #258 from mikexstudios/master
Made `commands` in config plugin executable to use with pluginhook.
2013-10-22 15:35:18 -07:00
Michael Huynh
7e201e9eb0 Made commands in config plugin executable to use with pluginhook. 2013-10-22 18:25:21 -04:00
rhy-jot
faac15bddb Added completed items from 0.2.0 roadmap (#55) to HISTORY.md 2013-10-21 18:27:47 -07:00
Alexander
98168b0e0b Merge pull request #244 from josegonzalez/patch-1
heroku-like configuration handling for dokku
2013-10-17 14:49:01 -07:00
Jose Diaz-Gonzalez
a308ff6546 heroku-like configuration handling for dokku
refs #55
superscedes #188
2013-10-17 17:47:19 -04:00
rhy-jot
2d76bfb9d3 Merge pull request #249 from bit/master
use http for docker apt repository
2013-10-17 13:33:29 -07:00
j
d617b73ece use http for docker apt repository 2013-10-17 22:25:29 +02:00
Alexander
13cda0fd16 make all -> make install 2013-10-15 22:49:56 +02:00
Alexander
b5ce871da4 Merge pull request #241 from musicglue/pre-build-hook
add pre-build hook
2013-10-14 13:21:26 -07:00
Alexander
fb3051d108 Merge pull request #240 from jaseg/authors
Added myself to AUTHORS - jaseg
2013-10-14 13:18:04 -07:00
Alexander
925a0b0f05 Merge pull request #219 from jaseg/patch-1
Update Makefile: Do not try to install on "make" or "make all"
2013-10-14 13:17:36 -07:00
Lee Henson
c05007a9d2 normalise 'build' function args to match 'release' and 'deploy' 2013-10-10 18:23:52 +01:00
jaseg
d8cd86fa8b Added myself to AUTHORS - jaseg 2013-10-09 22:02:38 +02:00
jaseg
c1c96e22ce Update Makefile: Do not try to install on "make" or "make all"
To be consistent with usual makefile usage and to not surprise people too much, only do permanent changes to the system when explicitely prompted to do so via "make install" instead of on any "make" or "make all" invocation, which is usually used for *building*, not *installing* things.
2013-10-09 21:54:56 +02:00
Alexander
04e7934104 Merge pull request #221 from jaseg/patch-3
receiver: fix shebang for non-standard bash locations
2013-10-09 12:39:06 -07:00
Alexander
3048c181e7 Merge pull request #220 from jaseg/patch-2
bootstrap.sh: Add shebang, Error out when apt-get is not found
2013-10-09 12:20:23 -07:00
Alexander
657e6fd543 Merge pull request #237 from rajivm/make-run-interactive-236
resolves #236, adding support for dokku run commands to be interactive
2013-10-09 12:15:34 -07:00
Rajiv Makhijani
ce81497156 added myself to authors 2013-10-09 14:03:26 -05:00
Rajiv Makhijani
4f8604777a resolves #236, adding support for dokku run commands to be interactive 2013-10-08 20:48:22 -05:00
jaseg
83e4744fa5 Support non-standard bash locations 2013-10-04 14:47:23 +02:00
jaseg
85ab9944fa bootstrap.sh: Add shebang, Error out when apt-get is not found
...to fail more gracefully on systems without apt.
2013-10-04 14:38:34 +02:00
Alexander
68bbf0d888 Merge pull request #215 from kanterov/master
Handle pipe failures
2013-10-02 13:50:37 -07:00
Alexander
2b2c68ddd7 Use pre-built buildstep image from s3. Add option to build your own. 2013-09-30 22:48:27 +02:00
Gleb Kanterov
681de274a7 Handle pipe failures 2013-09-14 14:16:46 +07:00
rhy-jot
9b4fe6badd Merge pull request #204 from statianzo/forwarded-proto
Set X-Forwarded-Proto Header
2013-09-09 19:17:03 -07:00
Jason Staten
ba1f1bc30d Add X-Forwarded-Port and X-Request-Start
Adding additional proxy headers to match what Heroku provides. Also,
X-Request-Start is compatible with NewRelic's latest agent[1].

[1]: http://blog.newrelic.com/2013/02/21/using-new-relic-on-heroku-read-how-our-new-ruby-agent-measures-queue-time/
2013-09-09 15:46:19 -06:00
Jason Staten
7f4f46a1e2 Set X-Forwarded-Proto Header
Heroku passes the X-Forwarded-Proto header to indicate the protocol of
the incoming request[1]. Ruby's rack relies on this header to
determine if a request is HTTPS[2].

Also, the X-Scheme header was removed to eliminate redundant passing of
the scheme.

[1]: https://devcenter.heroku.com/articles/http-routing#heroku-headers
[2]: https://github.com/rack/rack/blob/master/lib/rack/request.rb#L77
2013-09-09 12:12:01 -06:00