Commit Graph

136 Commits

Author SHA1 Message Date
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
Jacob Williams
179b4984a3 Redirect mongodump stdout to stderr
In version 3.x, the output of mongodump is on stderr, but on 2.6.x
it writes information to stdout. This change doesn't break 3.x in
my tests but prevents extraneous junk in beginning of the tar file
when exporting in 2.6.x.

Updated test to match redirect in exec command.
2015-12-07 23:59:55 -06:00
Jacob Williams
3d30b6ca35 remove = after -o in mongodump command
The -o= seems to work fine in 3.x but in 2.x it actually includes the equals sign in the path, resulting in "/=/tmp/tmp.XXXXXX". The mongodump command docs for neither 2.x nor 3.x list the equals sign as part of the -o or --out parameter. It seems to work fine in 3.x with or without the equals sign.

Updated test to reflect change to -o
2015-12-07 23:57:17 -06:00
Jose Diaz-Gonzalez
da4b355052 Document unlink command 2015-12-01 16:31:13 -05:00
Jose Diaz-Gonzalez
aa5c1807c5 Merge pull request #42 from dokku/lg-fix-tests
Fix tests setup
2015-11-30 11:40:30 -05:00
Loïc Guitaut
51cf3b0abc Fix tests setup 2015-11-30 17:16:03 +01:00
Jose Diaz-Gonzalez
1a07a8c108 Merge pull request #36 from dokku/container-environment-variables
Add support for custom environment variables when starting a service container
2015-11-05 02:05:09 -05:00
Jose Diaz-Gonzalez
ab0f4f2fe3 Add support for custom environment variables when starting a service container 2015-11-05 01:29:10 -05:00
Jose Diaz-Gonzalez
b1f3673ecd Update README.md -> <file> arg for export command 2015-10-29 15:56:36 -04:00
Jose Diaz-Gonzalez
9529b02c1c Merge pull request #34 from dokku/lg-update-readme
Update README about docker env var
2015-10-21 14:09:02 -04:00
Loïc Guitaut
f1d92b60c1 Update README about docker env var 2015-10-21 16:22:42 +02:00
Jose Diaz-Gonzalez
08c7165084 Document MONGO_CONFIG_OPTIONS for older versions of mongodb
Refs #25
Refs #29
2015-10-20 22:58:31 -04:00
Jose Diaz-Gonzalez
aba4ed1d77 Merge pull request #33 from dokku/lg-fix-export-over-ssh
Fix export when using `ssh -t`
2015-10-19 06:04:39 -04:00
Loïc Guitaut
e183572bf0 Fix export when using ssh -t 2015-10-19 11:32:57 +02:00
Jose Diaz-Gonzalez
39dfec9edf Merge pull request #31 from dokku/lg-list-in-columns
Display infos from `list` command in columns
2015-10-13 04:31:43 -04:00
Loïc Guitaut
8b3e78f5bd Display infos from list command in columns
Also add a LINKS column to easily view which services are linked to
which apps
2015-10-13 10:24:05 +02:00
Jose Diaz-Gonzalez
472b4e1aea Merge pull request #30 from dokku/lg-fix-destroy
Fix the `destroy` command
2015-10-12 14:09:27 -04:00