Jose Diaz-Gonzalez
d960b9c246
Merge pull request #1137 from YellowApple/patch-1
...
Safer installation method
2015-04-22 14:48:45 -04:00
Ryan S. Northrup
9f7a33ca3e
Safer installation method
...
Piping the output of `curl` or `wget -O-` to a shell is a very bad idea for multiple reasons; security concerns aside, doing so provides no opportunity for the script's download to finish before execution starts, so if the download is interrupted for some reason (perhaps because of an intermittent network failure), the incompletely-downloaded script will still run with potentially disastrous results. See [here](http://www.seancassidy.me/dont-pipe-to-your-shell.html ) for a more in-depth description.
2015-04-22 11:40:27 -07:00
Michael Hobbs
39dd4fc700
fix typo in output
2015-04-21 23:22:08 -07:00
Michael Hobbs
1fa19591bf
sort correctly
2015-04-21 23:14:22 -07:00
Michael Hobbs
7c1ef003b7
set DYNO env var based on proc type
2015-04-21 23:13:47 -07:00
Michael Hobbs
e1f8654a74
attempt to stop containers instead of just killing
2015-04-21 22:21:47 -07:00
Michael Hobbs
c2fa8d14c9
scale web to 1 by default and ignore all others
2015-04-21 22:13:45 -07:00
Michael Hobbs
eb0935a691
make dokku ls pretty
2015-04-21 22:02:21 -07:00
Michael Hobbs
9d504fe93a
make sure we cleanup tmp. logging when we hit edge cases
2015-04-21 21:36:03 -07:00
Michael Hobbs
e74c6460fb
make semantic sense of _image functions
2015-04-21 20:27:16 -07:00
Michael Hobbs
2cb957d1dd
move release_and_deploy to plugin functions. only attempt Procfile copy if we're buildstep based
2015-04-21 20:21:25 -07:00
Michael Hobbs
807e1b97b4
[ci skip] scaling docs
2015-04-21 14:33:28 -07:00
Michael Hobbs
33258663f4
uncomment my accidental comment out
2015-04-21 14:33:28 -07:00
Michael Hobbs
3361a20a30
only check containers running proc named web for now
2015-04-21 14:33:28 -07:00
Michael Hobbs
979c1155c2
add process with no listener
2015-04-21 14:33:28 -07:00
Michael Hobbs
4ae7af091a
don't clobber oids when multiple proc types exist
2015-04-21 14:33:28 -07:00
Michael Hobbs
7348d7790c
test scaling different proc types
2015-04-21 14:33:28 -07:00
Michael Hobbs
715921c60e
comment out skipped test to save time
2015-04-21 14:33:28 -07:00
Michael Hobbs
636e139e4a
only balance web containers
2015-04-21 14:33:28 -07:00
Michael Hobbs
ddf893bc8a
fix rebuildall and restartall
2015-04-21 14:33:28 -07:00
Michael Hobbs
9a704bc656
use test in both cases
2015-04-21 14:33:28 -07:00
Michael Hobbs
d44788721f
format multiple scale lines
2015-04-21 14:32:31 -07:00
Michael Hobbs
d88efd5cc4
no need to find beyond a depth of 1. also bombs when the app cache dir is owned by the container user
2015-04-21 14:32:31 -07:00
Michael Hobbs
930987ad02
container/ip/port file cleanup when scaling down. more tests
2015-04-21 14:32:31 -07:00
Michael Hobbs
14cc01dd5b
use helper functions
2015-04-21 14:32:31 -07:00
Michael Hobbs
bbc03dbfdd
helper functions
2015-04-21 14:32:30 -07:00
Michael Hobbs
d5cc7595fd
default web proc. avoid unclear file not found error when procfile is missing
2015-04-21 14:32:30 -07:00
Michael Hobbs
435f7e69eb
only attempt copy if image exists
2015-04-21 14:32:30 -07:00
Michael Hobbs
0f8be7c946
fix missing tmpdir prefix
2015-04-21 14:32:30 -07:00
Michael Hobbs
d42bb79d38
handle non-herokuish deploys that don't create Procfiles. i.e. buildpack-nginx
2015-04-21 14:32:30 -07:00
Michael Hobbs
389b5efa06
only release and deploy if we're modifying scale settings
2015-04-21 14:32:30 -07:00
Michael Hobbs
5c85e8bf65
app repo SCALE file takes precedence over local settings
2015-04-21 14:32:30 -07:00
Michael Hobbs
99d2601f2f
fix tests
2015-04-21 14:32:30 -07:00
Michael Hobbs
e27d0e6fa5
wrap container id checks and reading into common function that attempts new and old style container id files
...
aggregate log streams
2015-04-21 14:32:30 -07:00
Michael Hobbs
33f872183e
initial pass at container-level scaling
2015-04-21 14:27:23 -07:00
Jose Diaz-Gonzalez
4d7671dee3
Merge pull request #1129 from progrium/validate-nginx
...
Validate nginx configuration before restarting nginx
2015-04-21 15:49:35 -04:00
Michael Hobbs
f55e047619
negative test for validate_nginx
2015-04-21 11:53:00 -07:00
Michael Hobbs
661b6706de
fix verify_app_name to bomb on null app. use it in nginx:build-config
2015-04-21 10:58:11 -07:00
Jose Diaz-Gonzalez
a8f08bd5a8
[ci skip] Add documentation for custom nginx.conf files
...
Closes #998
Closes #1000
2015-04-21 02:39:05 -04:00
Jose Diaz-Gonzalez
b299f66c28
Validate nginx configuration before reloading nginx. Closes #999
2015-04-21 02:07:27 -04:00
Jose Diaz-Gonzalez
b5495ed0c3
use helper functions instead of echo command
2015-04-21 01:14:10 -04:00
Jose Diaz-Gonzalez
99c9bb2863
Merge pull request #1121 from progrium/josegonzalez-motd
...
Prompt users to run the web installer via MOTD. Closes #943
2015-04-19 16:55:22 -04:00
Jose Diaz-Gonzalez
d6aa8d59f1
[ci skip] ensure users run dokku-installer as sudo user
2015-04-19 16:55:08 -04:00
Jose Diaz-Gonzalez
d9d3a16e5c
Prompt users to run the web installer via MOTD. Closes #943
2015-04-18 03:56:19 -04:00
Jose Diaz-Gonzalez
5105c4f71d
Merge pull request #1058 from progrium/packaging
...
Packaging
2015-04-18 03:30:51 -04:00
Jose Diaz-Gonzalez
23a6656566
[ci skip] ensure we run apt-get update at least once before installing git
2015-04-18 03:23:30 -04:00
Jose Diaz-Gonzalez
a2ed0ef2b6
[ci skip] fix listing issues in bootstrap.sh
2015-04-18 03:23:12 -04:00
Jose Diaz-Gonzalez
e2d3107e8a
[ci skip] add raw debian package installation notes
2015-04-18 02:58:34 -04:00
Jose Diaz-Gonzalez
0e5bc10ae7
[ci skip] update advanced installation docs for development
2015-04-18 02:54:32 -04:00
Jose Diaz-Gonzalez
b3053fe392
[ci skip] update upgrade documentation for 0.3.18
2015-04-18 02:48:52 -04:00