Jose Diaz-Gonzalez
ade8b44569
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
d97376cc48
chore: reorder functions
2019-05-30 11:13:22 -04:00
Jose Diaz-Gonzalez
44c0d80e31
chore: move retry-docker-command to common-functions
2019-05-30 11:11:02 -04:00
Jose Diaz-Gonzalez
238f09dae0
chore: run shfmt
2019-05-30 11:06:25 -04:00
Jose Diaz-Gonzalez
c90a9fdd16
Release 1.7.0
1.7.0
2019-04-22 03:50:22 -04:00
Jose Diaz-Gonzalez
24fd5fcaeb
Release 1.6.2
1.6.2
2019-04-22 03:49:36 -04:00
Jose Diaz-Gonzalez
f7583ba092
Merge pull request #121 from dokku/upgrade-versions
...
feat: upgrade image version in use
2019-04-19 17:12:56 -04:00
Jose Diaz-Gonzalez
856dbcb93d
feat: upgrade image version in use
2019-04-19 12:48:07 -04:00
Jose Diaz-Gonzalez
3f0cd12235
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
1211610e50
Release 1.6.1
1.6.1
2019-03-28 05:24:59 -04:00
Jose Diaz-Gonzalez
2a2803754a
fix: update docker-s3backup image to fix backups to s3
2019-03-28 05:23:39 -04:00
Jose Diaz-Gonzalez
1b9e661fed
docs: update readme install instructions to point to correct dokku version
2019-03-26 11:51:12 -04:00
Jose Diaz-Gonzalez
1fcb939e9b
Release 1.6.0
1.6.0
2019-03-25 14:16:04 -04:00
Jose Diaz-Gonzalez
2f2de28e87
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
e6cd4fb666
fix: pin busybox in run commands to the image we pull down
2019-03-25 13:51:15 -04:00
Jose Diaz-Gonzalez
fa15a7231e
feat: update to latest dokku/s3backup image
2019-03-25 13:47:03 -04:00
Jose Diaz-Gonzalez
f2846ab25b
feat: switch to updated wait image
2019-03-25 12:46:42 -04:00
Jose Diaz-Gonzalez
7604d5bc32
feat: switch to updated ambassador image
2019-03-25 12:46:01 -04:00
Jose Diaz-Gonzalez
1a4e141279
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:35 -04:00
Jose Diaz-Gonzalez
ee6a81775d
Release 1.5.0
1.5.0
2019-03-22 12:15:23 -04:00
Jose Diaz-Gonzalez
5ee6d46fc2
Merge pull request #118 from dokku/real-docker-testing
...
feat: Real docker-based testing
2019-03-19 18:24:45 -04:00
Jose Diaz-Gonzalez
19f09a1aa7
hack: skip service_import success for now
2019-03-19 17:32:53 -04:00
Jose Diaz-Gonzalez
e666251bde
chore: unify with other plugins
2019-03-19 14:58:28 -04:00
Jose Diaz-Gonzalez
57ea7c1a14
fix: skip hanging connect test in travis
2019-03-18 16:36:46 -04:00
Jose Diaz-Gonzalez
d59f4243b8
fix: skip hanging connect test in travis
2019-03-18 16:35:47 -04:00
Jose Diaz-Gonzalez
9b8fabc2e7
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:27 -04:00
Jose Diaz-Gonzalez
2d953ece5a
refactor: separate install and script phases
2019-03-16 22:22:34 -04:00
Jose Diaz-Gonzalez
d42070d8bf
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
e446e64295
feat: increase minimum dokku version
2019-03-16 21:45:35 -04:00
Jose Diaz-Gonzalez
f84f3f070b
fix: correct check to see if container exists
2019-03-16 20:40:07 -04:00
Jose Diaz-Gonzalez
e6e61decd8
Merge pull request #117 from dokku/validate-names
...
Validate names
2019-03-09 17:37:14 -05:00
Jose Diaz-Gonzalez
bc6a5422d6
fix: correct the validation message
2019-03-09 16:39:34 -05:00
Jose Diaz-Gonzalez
cd5b3a14b8
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:21 -05:00
Jose Diaz-Gonzalez
682110c06e
chore: minor consolidation in functions files
2019-03-09 15:54:21 -05:00
Jose Diaz-Gonzalez
1733c7a6c8
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
42ded61b2b
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
62902e7d9c
refactor: call service_container_rm from subcommands/destroy
2019-03-08 23:27:55 -05:00
Jose Diaz-Gonzalez
9e2f6fcab0
Release 1.4.10
1.4.10
2018-12-02 16:17:48 -05:00
Jose Diaz-Gonzalez
1ce8d1747b
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
ea33fded40
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
1687a1264c
fix: ensure any backup cron files are deleted when the service is destroyed
...
Closes dokku/dokku-redis#118
2018-12-02 05:10:06 -05:00
Jose Diaz-Gonzalez
0619249d2c
fix: clean up backup containers after use
...
Closes dokku/dokku#104
2018-12-02 04:46:52 -05:00
Jose Diaz-Gonzalez
8c578d0331
fix: correct documentation around the passphrase parameter
...
Closes dokku/dokku-mysql#101
2018-12-02 04:33:58 -05:00
Jose Diaz-Gonzalez
30fe489574
Release 1.4.9
1.4.9
2018-10-11 14:53:06 -04:00
Jose Diaz-Gonzalez
5e1431ce0f
fix: correct issue where help output isnt colorized by default
2018-10-11 14:20:03 -04:00
Jose Diaz-Gonzalez
2f6c493fdd
fix: correct issues in upgrade and fix tests
2018-10-11 14:16:47 -04:00
Jose Diaz-Gonzalez
db8ff16192
Release 1.4.8
1.4.8
2018-10-11 00:05:20 -04:00
Jose Diaz-Gonzalez
44c3c64c9b
feat: skip upgrade if service is already up to date
2018-10-11 00:04:52 -04:00
Jose Diaz-Gonzalez
d95726dbed
Release 1.4.7
1.4.7
2018-10-10 23:54:34 -04:00
Jose Diaz-Gonzalez
2d52ae2fb4
feat: allow removal of header from :list subcommand
2018-10-10 23:54:08 -04:00