Commit Graph

346 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
04297681bc Merge pull request #11 from dokku/pin-version
Pin version to 9.4.4
2015-09-15 01:57:22 -07:00
Jose Diaz-Gonzalez
b7cbb54712 Pin version to 9.4.4 2015-09-15 01:53:09 -07:00
Jose Diaz-Gonzalez
ecb2d49a1c Merge pull request #10 from dokku/lg-use-stable-version
Use latest stable release of PostgreSQL
2015-09-14 19:38:20 -04:00
Loïc Guitaut
fd60d30631 Use latest stable release of PostgreSQL
9.4 branch is latest stable, 9.5 is a development version.
2015-09-14 23:35:42 +02:00
Jose Diaz-Gonzalez
8c5fc18bee Merge pull request #9 from dokku/lg-fix-readme
Add missing doc in README
2015-09-12 12:55:57 -04:00
Loïc Guitaut
65ef25bc32 Add missing doc in README 2015-09-12 00:34:20 +02:00
Jose Diaz-Gonzalez
a3fb4fa772 Merge pull request #8 from dokku/lg-help-output
Compatibility with dokku 0.3.x & 0.4.x for help output
2015-09-11 17:54:31 -04:00
Loïc Guitaut
b2a83ca9a3 Compatibility with dokku 0.3.x & 0.4.x for help output 2015-09-11 23:30:55 +02:00
Jose Diaz-Gonzalez
e2cb33602f Merge pull request #7 from dokku/lg-import-clone
Import and clone commands
2015-09-10 20:58:53 -04:00
Loïc Guitaut
153b1b826e Implement postgres:clone command 2015-09-11 02:55:52 +02:00
Loïc Guitaut
35da137071 Implement postgres:import command 2015-09-11 02:09:45 +02:00
Jose Diaz-Gonzalez
79d2e990dd Merge pull request #6 from dokku/lg-add-tests
Add tests for every implemented command
2015-09-10 10:48:25 -04:00
Loïc Guitaut
ca88f2bdce Add tests for every implemented command 2015-09-10 11:57:24 +02:00
Jose Diaz-Gonzalez
860e5c7f9b Merge pull request #5 from dokku/lg-password-with-openssl-rand
Use openssl rand to generate password
2015-09-09 18:43:00 -04:00
Loïc Guitaut
db3763aa83 Use openssl rand to generate password
It should be more secure than hashing the current time.
2015-09-09 23:39:29 +02:00
Jose Diaz-Gonzalez
ae26e2060c Merge pull request #4 from dokku/lg-various-updates
Various updates
2015-09-09 12:38:43 -04:00
Loïc Guitaut
6741582b92 Use PG tools from image when creating new DB 2015-09-09 18:30:17 +02:00
Loïc Guitaut
1085a0a01f Use aanand/wait image to wait for service to be ready 2015-09-09 18:21:04 +02:00
Loïc Guitaut
32af344146 Remove call to docker kill 2015-09-09 18:15:53 +02:00
Jose Diaz-Gonzalez
ae02e70eae Merge pull request #3 from dokku/lg-use-tools-from-image
Use psql from docker image
2015-09-09 11:26:03 -04:00
Loïc Guitaut
3ab22d6f6f Use PG tools from docker image
Instead of installing dependencies on the host, directly use the binary
shipped with the postgres docker image. This will also prevent possible
problems when API changes for example.
2015-09-09 10:31:17 +02:00
Loïc Guitaut
1be1ba34a7 Use $PLUGIN_PATH instead of dirname 2015-09-09 00:05:45 +02:00
Jose Diaz-Gonzalez
915750b1f2 Display which ports are exposed in list 2015-09-07 18:57:02 -04:00
Jose Diaz-Gonzalez
d87f16bb53 Add plugin.toml 2015-09-07 04:29:46 -04:00
Jose Diaz-Gonzalez
5cd0e97740 Add link to docker hub entry 2015-09-07 04:17:20 -04:00
Jose Diaz-Gonzalez
77c36bd3c9 Update requirements
- dokku 0.4.0 does not yet exist, so this should dissuade people from installing this plugin.
- docker 1.8.x cannot be installed with the official dokku debian packages, so this means that for now users will need to install from source.
2015-09-07 04:14:03 -04:00
Jose Diaz-Gonzalez
ad4fae1b2a Normalize database names in postgres. Closes #2 2015-09-07 01:49:28 -04:00
Jose Diaz-Gonzalez
316fe8f7f0 Make binaries executable 2015-09-07 01:25:07 -04:00
Jose Diaz-Gonzalez
ef22aa2ca2 Update postgres binstubs 2015-09-07 01:22:59 -04:00
Jose Diaz-Gonzalez
be259e2bdf Add badges 2015-09-07 01:15:17 -04:00
Jose Diaz-Gonzalez
e0655a683d Fix tests 2015-09-07 01:01:06 -04:00
Jose Diaz-Gonzalez
b3156c5553 Travis testing 2015-09-07 00:39:28 -04:00
Jose Diaz-Gonzalez
ac2652fd92 make test 2015-09-06 22:53:02 -04:00
Jose Diaz-Gonzalez
2bc4c534b8 Properly implement port expose/unexpose 2015-09-06 22:10:16 -04:00
Jose Diaz-Gonzalez
5a4a87c62f Move alias, link, unlink and logs commands into functions 2015-08-29 03:19:44 -04:00
Jose Diaz-Gonzalez
46e4f6f4c8 Move service checks into commands file 2015-08-29 02:58:45 -04:00
Jose Diaz-Gonzalez
b160c88412 Move info and list commands into shared functions
Also add better output formatting for both commands
2015-08-29 02:53:11 -04:00
Jose Diaz-Gonzalez
2c7d4e5c77 Remove service verification from service_url function
It is not necessary to do so in a function that is called from other places that already verify the name.
2015-08-29 02:49:50 -04:00
Jose Diaz-Gonzalez
aa99da13cc use config for ports 2015-08-29 02:37:43 -04:00
Jose Diaz-Gonzalez
972af5b984 Use central config for env vars 2015-08-29 01:53:34 -04:00
Jose Diaz-Gonzalez
e0c9f6b7f4 add central place for configuration 2015-08-29 01:51:07 -04:00
Jose Diaz-Gonzalez
54c984b5b6 quiet grep output 2015-08-28 23:25:53 -04:00
Jose Diaz-Gonzalez
c474ac0018 Ensure container exists before attempting to kill it 2015-08-25 17:21:27 -04:00
Jose Diaz-Gonzalez
a732f509f8 Remove -plugin suffix from clone url 2015-08-25 14:04:30 -04:00
Jose Diaz-Gonzalez
788f8bec18 Fix logs subcommand 2015-08-23 22:07:03 -04:00
Jose Diaz-Gonzalez
e344e35144 initial commit 2015-08-23 18:56:23 -04:00