Commit Graph
100 Commits
Author SHA1 Message Date
Michael Hobbs 64d76724e5 fix typo. good thing we have a test suite. :P 2015-07-09 12:35:43 -07:00
Michael Hobbs e21b730089 remove dead test file 2015-07-09 12:31:58 -07:00
Michael Hobbs 033a267573 fix urls command when NO_VHOST=1 + tests. fixes #1294 2015-07-09 12:12:58 -07:00
Michael Hobbs 0b9ac9a727 don't background cleanup 2015-07-05 21:08:47 -07:00
Michael Hobbs 0e53a76a1a [ci skip] ensure we parse the correct section of the string. closes #1271 2015-07-03 07:47:30 -07:00
Michael Hobbs c0f8764292 [ci skip] clarify phases in docker-options plugin 2015-06-17 08:12:46 -07:00
Michael Hobbs ba4e87cb8b [ci skip] clean up documentation language 2015-06-15 09:09:49 -07:00
Michael Hobbs ea66619f3c allow passing of docker build options and document dockerfile deployment. closes #1231 2015-06-15 09:00:33 -07:00
Michael Hobbs 473f28b0c3 [ci skip] add dokku-logspout plugin 2015-06-05 15:58:07 -07:00
Michael Hobbs b35190101c let circleci dictate docker install 2015-05-27 13:19:28 -07:00
Michael Hobbs af38e4f25a filter out literal wildcard when deploying an unrelated domain. closes #1185 2015-05-19 17:58:02 -07:00
Michael Hobbs 140f5a4939 fix lintball from #1198 2015-05-19 09:39:27 -07:00
Michael Hobbs bd0b14692a lintball 2015-05-18 10:27:16 -07:00
Michael Hobbs a785bf82e6 handle docker opts over ssh without escaping quotes. closes #1187 2015-05-18 09:01:12 -07:00
Michael Hobbs 1f6badc6a1 lintball fix 2015-05-18 08:46:42 -07:00
Michael Hobbs 0d2e5f1a14 Merge branch 'master' into mh-ps-scale 2015-05-17 17:45:01 -07:00
Michael Hobbs c5337cf6a2 include output when overriding nginx template 2015-05-11 12:00:44 -07:00
Michael Hobbs b836c1f65a use regex when filtering nonssl vhosts. process custom templates in the same manner as default templates. closes #1169 2015-05-06 16:49:37 -07:00
Michael Hobbs 4aedb6507a Merge branch 'master' into mh-ps-scale 2015-04-30 10:32:29 -07:00
Michael Hobbs a6c7cc50ce test off port git remote 2015-04-25 10:01:01 -07:00
Michael Hobbs 981e857ab1 add sshd config for off-port testing 2015-04-25 10:01:01 -07:00
Michael Hobbs c8c4a6a0c6 pass through return code when calling destroy_app. allow custom git remote 2015-04-25 10:01:01 -07:00
Michael Hobbs 2f0f2889db need to restart now 2015-04-24 15:41:32 -07:00
Michael Hobbs dce031d38d don't re-deploy on domains:add. allow multple domains on command line. closes #1142 2015-04-24 15:41:32 -07:00
Michael Hobbs 0c715d4b39 more test efficiencies and cleanup 2015-04-24 15:05:21 -07:00
Michael Hobbs a529f6fce8 lintball 2015-04-24 14:02:44 -07:00
Michael Hobbs 0d838d1248 split up unit-tests and use 4 containers (they're free) 2015-04-24 13:52:14 -07:00
Michael Hobbs 3d2af158ff allow docker-options over ssh. plus test. closes #1135 2015-04-24 12:10:02 -07:00
Michael Hobbs 673d43b532 output containers to be stopped and killed. attempt a kill on old containers after we attempt to stop them 2015-04-24 11:32:14 -07:00
Michael Hobbs 290745d324 only validate and restart nginx if we're deployed. use REGEX when handling SSL and NON-SSL hosts 2015-04-24 11:31:27 -07:00
Michael Hobbs a18fa7afbe we only need the first container here 2015-04-24 11:30:20 -07:00
Michael Hobbs e9663caf5c updated dokku ls output with container status 2015-04-24 10:49:18 -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
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
Michael Hobbs 62774b156d use config:set-norestart in domains plugin. config:get for dockerfile port. closes #1041 2015-04-07 20:49:34 -07:00
Michael Hobbs c2053d5322 support dockerfiles without expose command. closes #1083 2015-04-03 12:13:39 -07:00
Michael Hobbs ba33c161f5 make docker-options adhere to DOKKU_NOT_IMPLEMENTED_EXIT pattern 2015-04-03 10:51:23 -07:00
Michael Hobbs 7e7eb1dc87 docs update 2015-04-01 17:50:40 -07:00
Michael Hobbs 4e472c39e3 uniform unit test labels 2015-04-01 17:44:34 -07:00
Michael Hobbs 6d0b4ef4ec test cleanup with slight performance boost 2015-04-01 17:30:09 -07:00
Michael Hobbs 1bad26426e force testing .env with no newline and actually fix #1025 and #1026. closes #1063 2015-04-01 13:49:55 -07:00
Michael Hobbs df8f4fb882 initial pass at including docker-options plugin. closes #1062 2015-04-01 12:57:06 -07:00
Michael Hobbs 2b59c4b8eb [ci skip] document test suite 2015-03-27 14:36:40 -07:00
Michael Hobbs e1672b2764 call make stack in subprocess 2015-03-27 14:26:21 -07:00
Michael Hobbs b6ce856acb set DEBIAN_FRONTEND appropriately to avoid warnings 2015-03-27 14:25:52 -07:00
Michael Hobbs 77257c484f show logs on deploy success and failure. closes #1044 2015-03-20 12:32:49 -07:00
Michael Hobbs f9b0f3ad34 use upstart config from docker docs. closes #1015 2015-03-19 16:12:33 -07:00
Michael Hobbs c83fbad205 xip.io style vhosts with tests. closes #1005 2015-03-19 11:23:00 -07:00
Michael Hobbs 767b45ae56 use config:set-norestart 2015-03-19 08:09:11 -07:00
Michael Hobbs 1a7586cd03 don't use config:set 2015-03-19 07:54:45 -07:00
Michael Hobbs 2834ce1f1a extract first port from Dockerfile and set config variable for use in deploy phase. closes #993 2015-03-19 07:54:45 -07:00
Michael Hobbs 3ce5df90bf document config:set-norestart and config:unset-norestart 2015-03-19 07:48:27 -07:00
Michael Hobbs 72c829e29b default container check. closes #1020 2015-03-17 12:17:33 -07:00
Michael Hobbs 6cb770bf1c create config set/unset without restart. closes #908 2015-03-17 09:49:19 -07:00
Michael Hobbs ee039fe4f1 lintball. disable SC1001 2015-03-16 12:43:34 -07:00
Michael Hobbs a375eb3ec3 CI upgraded to 1.5.0. downgrading seems to break things? 2015-03-14 18:41:18 -07:00
Michael Hobbs 88cd81e390 ensure we have newlines around our config. closes #1025 2015-03-09 19:32:05 -07:00
Michael Hobbs 2fb48c414b confine arg shifting to between dokku and command. closes #1017 2015-03-06 11:58:35 -08:00
Michael Hobbs 482b680e16 [client unit-test] don't run create/destroy twice. actually clean up from create 2015-02-25 19:47:45 -08:00
Michael Hobbs fb8f08d280 remove quoting from dockerfile env. closes #1002 2015-02-24 11:56:54 -08:00
Michael Hobbs f366a37cd1 remove quoting around cleanup and disable lint for those lines. also make cleanup test more robust 2015-02-24 10:41:02 -08:00
Michael Hobbs 12777d9bf0 simplify SSL hostname handling and avoid overwriting variables. refs #971 2015-02-12 13:27:47 -08:00
Michael Hobbs 043b055558 don't use set to guard against pipefail 2015-02-11 17:48:55 -08:00
Michael Hobbs e5fb746a7f only look for long args in global space. allows for short args in plugins. closes #963 2015-02-09 16:59:07 -08:00
Michael Hobbs ef583eef66 use consistent bash shebang. closes #959 2015-02-08 22:34:35 -08:00
Michael Hobbs 179a5e611b introduce pre/post-build-buildstep and pre/post-release-buildstep 2015-02-07 17:56:01 -08:00
Michael Hobbs 7357df7c9d first pass at dockerfile support 2015-02-07 17:56:01 -08:00