Jose Diaz-Gonzalez
6cc3db0896
fix: service_with_dashes is not in create output
...
That is only the case when the service has a database specified, which is not the case for the redis plugin
2019-06-07 17:45:49 +02:00
Jose Diaz-Gonzalez
6bab5bad28
feat: re-allow dashes in names
...
This PR allows dashes in service names, while still sanitizing them before they are used as database names. If the datastore is pre-existing, the datatabase name is assumed to be the same as the service name, and returned appropriately.
2019-05-30 17:03:48 -04:00
Jose Diaz-Gonzalez
86ff4b4cfa
chore: reorder functions
2019-05-30 11:13:22 -04:00
Jose Diaz-Gonzalez
e8e645f087
chore: move retry-docker-command to common-functions
2019-05-30 11:11:02 -04:00
Jose Diaz-Gonzalez
7ddd0c9201
chore: run shfmt
2019-05-30 11:06:25 -04:00
Jose Diaz-Gonzalez
6545dde255
Release 1.7.0
1.7.0
2019-04-22 03:50:36 -04:00
Jose Diaz-Gonzalez
e1b1ada14a
Release 1.6.2
1.6.2
2019-04-22 03:49:50 -04:00
Jose Diaz-Gonzalez
96d5147daa
Merge pull request #129 from dokku/upgrade-versions
...
feat: upgrade image version in use
2019-04-19 17:13:23 -04:00
Jose Diaz-Gonzalez
8c00ac34a3
feat: upgrade image version in use
2019-04-19 12:47:38 -04:00
Jose Diaz-Gonzalez
05ae4f30a7
feat: commit github labels to the repo
...
This will allow us to apply track what labels are available in the issue tracker using tonglil/labeler.
2019-04-10 03:28:09 -04:00
Jose Diaz-Gonzalez
1957d39f60
Release 1.6.1
1.6.1
2019-03-28 05:25:21 -04:00
Jose Diaz-Gonzalez
2ddc21b748
fix: update docker-s3backup image to fix backups to s3
2019-03-28 05:23:39 -04:00
Jose Diaz-Gonzalez
c75fb3fa33
Merge pull request #127 from dokku/121-fix-alias
...
fix: correct issue where aliases were being generated incorrectly
2019-03-28 05:21:41 -04:00
Jose Diaz-Gonzalez
87c89f61af
fix: correct issue where aliases were being generated incorrectly
2019-03-27 12:18:18 -04:00
Jose Diaz-Gonzalez
40e1c2c253
docs: update readme install instructions to point to correct dokku version
2019-03-26 11:51:12 -04:00
Jose Diaz-Gonzalez
ddd48d68f9
Release 1.6.0
1.6.0
2019-03-25 14:16:24 -04:00
Jose Diaz-Gonzalez
7f37534d13
feat: pin busybox to an actual version
...
Rather than dancing around what version of busybox to use, pin it to the latest, known good version of busybox. This will give us confidence in what is being shipped and run on a user's machine.
2019-03-25 14:14:22 -04:00
Jose Diaz-Gonzalez
c2e91b03fe
fix: pin busybox in run commands to the image we pull down
2019-03-25 13:51:15 -04:00
Jose Diaz-Gonzalez
2b4cd95ddd
feat: update to latest dokku/s3backup image
2019-03-25 13:47:03 -04:00
Jose Diaz-Gonzalez
9554b9a43f
feat: switch to updated wait image
2019-03-25 12:46:42 -04:00
Jose Diaz-Gonzalez
0641b7baae
feat: switch to updated ambassador image
2019-03-25 12:46:01 -04:00
Jose Diaz-Gonzalez
6dce29fca8
fix: correct handling of container retrieval
...
In the previous method, if the container was renamed or there were multiple names attached to the container, fetching the container ID would fail as the regex would only match at the end. Instead of using grep, use the docker 'filter' functionality to fetch the container ID as appropriate.
2019-03-25 12:37:36 -04:00
Jose Diaz-Gonzalez
8ec1342646
Release 1.5.0
1.5.0
2019-03-22 12:15:40 -04:00
Jose Diaz-Gonzalez
3742195ad1
chore: unify with other plugins
2019-03-19 15:00:55 -04:00
Jose Diaz-Gonzalez
e040a8e2cc
Merge pull request #126 from dokku/real-docker-testing
...
feat: Real docker-based testing
2019-03-18 22:49:53 -04:00
Jose Diaz-Gonzalez
77f2bc597f
fix: skip hanging connect test in travis
2019-03-18 16:36:02 -04:00
Jose Diaz-Gonzalez
744e65760b
feat: Real docker-based testing
...
This pull request switches testing to use an actual docker daemon, vs mocking everything out.
It may also catch actual breaking issues in our tests, which is great!
2019-03-18 14:44:28 -04:00
Jose Diaz-Gonzalez
c14a807a7e
refactor: separate install and script phases
2019-03-16 22:22:34 -04:00
Jose Diaz-Gonzalez
43ea8e43a4
chore: drop unused sudo: required
...
This is not necessary on the new travis-ci setup as of December 2018. See this blog post for more details: https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
2019-03-16 22:08:37 -04:00
Jose Diaz-Gonzalez
0c89ee99f4
feat: increase minimum dokku version
2019-03-16 21:45:35 -04:00
Jose Diaz-Gonzalez
b28fd26815
fix: correct check to see if container exists
2019-03-16 20:40:07 -04:00
Jose Diaz-Gonzalez
cbd92c153b
Merge pull request #124 from dokku/validate-names
...
Validate names
2019-03-09 18:37:27 -05:00
Jose Diaz-Gonzalez
7ce772224a
fix: correct the validation message
2019-03-09 16:39:35 -05:00
Jose Diaz-Gonzalez
35d5e9cab4
fix: Strictly validate service names
...
We previously allowed a wide range of service names. As the service name is sometimes used to name databases, the name was actually more restricted than any character, resulting in services that wouldn't start. Going forward, only alphanumeric and underscore characters are allowed.
This only impacts service creation. Any services with invalid names should be migrated to a new service, with the data exported and imported as normal.
Closes dokku/dokku-redis#99
Closes dokku/dokku-mysql#47
Closes dokku/dokku-mongo#86
Closes dokku/dokku-redis#81
2019-03-09 15:54:24 -05:00
Jose Diaz-Gonzalez
876ff0c330
chore: minor consolidation in functions files
2019-03-09 15:54:24 -05:00
Jose Diaz-Gonzalez
e328b4c566
fix: correct ID check
...
It may be true in tests because we mock docker itself...
2019-03-09 15:24:20 -05:00
Jose Diaz-Gonzalez
d319ecf145
fix: correct check to see if service is running
...
This sometimes bizarrely returned a value of 'true' when it wasn't....
2019-03-09 15:09:14 -05:00
Jose Diaz-Gonzalez
28ff40a507
refactor: call service_container_rm from subcommands/destroy
2019-03-08 23:27:55 -05:00
Jose Diaz-Gonzalez
c4f5fe37eb
Release 1.4.11
1.4.11
2018-12-02 16:18:13 -05:00
Jose Diaz-Gonzalez
c5c681a95d
fix: correct issues where docker ps is truncated
...
This should actually be refactored to avoid the grep call completely, but the current fix will correct the issue for now.
Refs dokku/dokku-postgres#131
2018-12-02 14:29:24 -05:00
Jose Diaz-Gonzalez
ebb6e6f807
fix: correct issues where docker ps is truncated
...
This should actually be refactored to avoid the grep call completely, but the current fix will correct the issue for now.
Refs dokku/dokku-postgres#131
2018-12-02 05:21:10 -05:00
Jose Diaz-Gonzalez
a080b57221
fix: ensure any backup cron files are deleted when the service is destroyed
...
Closes dokku/dokku-redis#118
2018-12-02 05:10:07 -05:00
Jose Diaz-Gonzalez
11c44cb1b2
fix: clean up backup containers after use
...
Closes dokku/dokku#104
2018-12-02 04:46:52 -05:00
Jose Diaz-Gonzalez
1af32de972
fix: correct documentation around the passphrase parameter
...
Closes dokku/dokku-mysql#101
2018-12-02 04:33:58 -05:00
Jose Diaz-Gonzalez
2a9739451f
Release 1.4.10
1.4.10
2018-10-11 14:53:29 -04:00
Jose Diaz-Gonzalez
5fb9de0d7d
Revert "Adds --sysctl vm.overcommit_memory=1 flag"
2018-10-11 14:24:24 -04:00
Jose Diaz-Gonzalez
44d75f56d2
fix: correct issue where help output isnt colorized by default
2018-10-11 14:20:03 -04:00
Jose Diaz-Gonzalez
3fc6322b02
fix: correct issues in upgrade and fix tests
2018-10-11 14:16:47 -04:00
Jose Diaz-Gonzalez
5e3aa18765
Release 1.4.9
1.4.9
2018-10-11 00:05:40 -04:00
Jose Diaz-Gonzalez
800ff323e7
feat: skip upgrade if service is already up to date
2018-10-11 00:04:52 -04:00