Commit Graph

152 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
ddf428c035 Conform to function declaration standards
- declare desc variable
- declare all positional arguments
- set the cmd
- properly handle DOKKU_APP_NAME
2016-05-15 23:56:32 -04:00
Jose Diaz-Gonzalez
e2f6d6b045 Move all commands into subcommand structure 2016-05-15 22:12:43 -04:00
Jose Diaz-Gonzalez
fd53f236c7 Use docker-options functions directly to avoid setting DOKKU_APP_NAME twice 2016-05-15 19:29:37 -04:00
Jose Diaz-Gonzalez
8840d94497 Upgrade help output for dokku 0.5.x
Also completely drop support for help output on 0.3.x
2016-05-15 19:13:02 -04:00
Jose Diaz-Gonzalez
38e1805b55 Fix test setup to create proper directory structure for plugin 2016-05-15 18:58:01 -04:00
Jose Diaz-Gonzalez
3ed0c73bd9 Move setting of PLUGIN_BASE_PATH to config 2016-05-15 18:36:44 -04:00
Jose Diaz-Gonzalez
e8fe904cbd Merge pull request #64 from dokku/fix-testing-on-os-x
Fix testing on os x
2016-05-08 15:35:53 -04:00
Jose Diaz-Gonzalez
fb7213d4e5 shellcheck disable 2016-05-08 15:16:46 -04:00
Jose Diaz-Gonzalez
06d56bf4ac update shellcheck ignores 2016-05-08 14:57:12 -04:00
Jose Diaz-Gonzalez
108a02f61e quote SERVICE_NAME value 2016-05-08 14:57:05 -04:00
Jose Diaz-Gonzalez
4c4f74fc9a use an extension for sed calls on os x 2016-05-08 14:56:56 -04:00
Jose Diaz-Gonzalez
9fcca9ee02 trim whitespace from url 2016-05-08 14:56:46 -04:00
Jose Diaz-Gonzalez
63062c4107 shellcheck disable 2016-05-08 14:56:37 -04:00
Jose Diaz-Gonzalez
15e385a628 use config functions properly 2016-05-08 14:56:23 -04:00
Jose Diaz-Gonzalez
dd5fe9104b ensure we don't expand PLUGIN_DATA_ROOT 2016-05-08 14:55:39 -04:00
Jose Diaz-Gonzalez
cbead0b152 quote docker pull call 2016-05-08 14:55:28 -04:00
Jose Diaz-Gonzalez
67dbee1b90 fix read call 2016-05-08 14:55:16 -04:00
Jose Diaz-Gonzalez
b46bbbd38b Merge pull request #63 from dokku/minor-changes
Minor changes
2016-05-08 03:47:47 -04:00
Jose Diaz-Gonzalez
b3145a8ab7 use grep -q when checking for docker images 2016-05-08 03:00:54 -04:00
Jose Diaz-Gonzalez
2cd7c1a352 Quote more variables 2016-05-08 03:00:47 -04:00
Jose Diaz-Gonzalez
e6d819e6ef Add a dummy lsb_release command to test binaries
This should allow us to run tests on os x using the current dokku binary
2016-05-08 03:00:40 -04:00
Jose Diaz-Gonzalez
e1de34807f Download correct version of plugn when running tests under OS X 2016-05-08 03:00:34 -04:00
Jose Diaz-Gonzalez
bce92157fc Move command check before DOKKU_TRACE to reduce trace output 2016-05-08 03:00:25 -04:00
Jose Diaz-Gonzalez
0e5e1b8fc3 quote $APP variable 2016-05-08 03:00:17 -04:00
Jose Diaz-Gonzalez
3edec37f54 Rework how config vars are sourced
- ensure we source config/functions from the correct directory
- move config sourcing up before DOKKU_TRACE to reduce trace output
2016-05-08 03:00:05 -04:00
Jose Diaz-Gonzalez
ea9971404f Add testing for all supported versions of dokku
Also drop support for 0.3.x
2016-05-08 02:59:32 -04:00
Jose Diaz-Gonzalez
b91d7a5792 Merge pull request #62 from dokku/upgrade-mongo
upgrade mongo to 3.2.6
2016-05-08 01:24:22 -04:00
Jose Diaz-Gonzalez
6eba229b7f upgrade mongo to 3.2.6 2016-05-06 14:15:31 -04:00
Jose Diaz-Gonzalez
41ad540b39 Merge pull request #61 from dokku/start-container
create container if not exists on service:start
2016-05-04 02:06:06 -04:00
Jose Diaz-Gonzalez
27ded0dca0 create container if not exists on service:start 2016-05-04 01:02:14 -04:00
Jose Diaz-Gonzalez
aafd54eb49 Merge pull request #60 from dokku/database-adapter
Read MONGO_DATABASE_SCHEME variable from app when setting MONGO_URL
2016-04-19 15:38:49 -04:00
Jose Diaz-Gonzalez
9a7c88550d Read MONGO_DATABASE_SCHEME variable from app when setting MONGO_URL 2016-04-19 15:11:51 -04:00
Jose Diaz-Gonzalez
196cf4acc0 Merge pull request #58 from treythomas123/master
Automatically pull image if it's not already downloaded
2016-04-18 20:48:47 -04:00
Trey Thomas
06ad8a15a4 Automatically pull image if it's not already downloaded 2016-04-18 16:45:37 -06:00
Jose Diaz-Gonzalez
825cab7c62 Merge pull request #57 from MozMorris/patch-1
Fixup import docs
2016-04-10 06:05:22 -04:00
Moz Morris
021cd11942 Fixup import docs 2016-04-10 10:43:31 +01:00
Jose Diaz-Gonzalez
a1c7e11554 Merge pull request #51 from mak-it/export-fix
Fix exit code for mongo:export when SSH_TTY is not present
2016-02-25 01:34:30 -05:00
Edgars Beigarts
822a0259f9 Fix exit code for mongo:export when SSH_TTY is not present 2016-02-24 09:16:59 +02:00
Jose Diaz-Gonzalez
9d49ee0edc Ignore .vagrant directory 2016-01-17 21:40:10 -05:00
Jose Diaz-Gonzalez
0655721182 Upgrade plugn 2016-01-17 21:37:53 -05:00
Jose Diaz-Gonzalez
81619282c5 Add vagrant setup for local testing 2016-01-17 21:34:36 -05:00
Jose Diaz-Gonzalez
b0efaebdbe Remove invalid service directory during command runs
Closes dokku/dokku-mongo#40
2016-01-17 21:29:19 -05:00
Jose Diaz-Gonzalez
8764b333ff Upgrade testing environment to trusty 2016-01-17 21:27:21 -05:00
Jose Diaz-Gonzalez
618dc9ff42 Merge pull request #49 from dokku/version-upgrade
Upgrade image version to 3.2.1
2016-01-17 02:02:34 -05:00
Jose Diaz-Gonzalez
c1b6b7217e Upgrade image version to 3.2.1 2016-01-17 01:54:00 -05:00
Jose Diaz-Gonzalez
2aff7d8d0e Merge pull request #48 from ElliotChong/feature/docker-pull-instructions
Adding a note about pulling the mongo docker image for versions other than the default
2015-12-18 16:12:19 -05:00
Jose Diaz-Gonzalez
f45bf82bfb Merge pull request #47 from ElliotChong/feature/mongo-version-bump
Upgrading default MongoDB version to 3.2.0
2015-12-18 16:12:06 -05:00
Elliot Chong
8d3c11cd0f Adding a note about pulling the mongo docker image for versions other than the default 2015-12-18 12:51:57 -08:00
Elliot Chong
97b624ccbc Upgrading default MongoDB version to 3.2.0 2015-12-18 12:50:07 -08:00
Jose Diaz-Gonzalez
356b30e290 Merge pull request #43 from singlow/mongo-2.6-compat
Mongodump 2.6 compatibility
2015-12-08 11:26:09 -05:00