Commit Graph

54 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
2b4cd95ddd feat: update to latest dokku/s3backup image 2019-03-25 13:47:03 -04:00
Jose Diaz-Gonzalez
0641b7baae feat: switch to updated ambassador image 2019-03-25 12:46:01 -04:00
Jose Diaz-Gonzalez
3742195ad1 chore: unify with other plugins 2019-03-19 15:00:55 -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
b28fd26815 fix: correct check to see if container exists 2019-03-16 20:40:07 -04: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
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
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
11c44cb1b2 fix: clean up backup containers after use
Closes dokku/dokku#104
2018-12-02 04:46:52 -05:00
Jose Diaz-Gonzalez
3fc6322b02 fix: correct issues in upgrade and fix tests 2018-10-11 14:16:47 -04:00
Jose Diaz-Gonzalez
5af1d630c6 feat: allow removal of header from :list subcommand 2018-10-10 23:54:08 -04:00
Jose Diaz-Gonzalez
1086979e7d feat: add support for restarting containers to ensure links continue to work properly when the application has resolved dns of the link 2018-10-10 23:14:45 -04:00
Jose Diaz-Gonzalez
89d7241812 fix: handle case where container being removed does not exist 2018-10-10 22:03:44 -04:00
Jose Diaz-Gonzalez
b32b037336 chore: correct verbiage around upgrades 2018-10-10 02:54:34 -04:00
Jose Diaz-Gonzalez
86e6e80c01 fix: correct check for existing image 2018-10-10 02:42:43 -04:00
Jose Diaz-Gonzalez
e3be8f1715 feat: add ability to upgrade service image and image-version 2018-10-10 00:14:14 -04:00
Jose Diaz-Gonzalez
67c0aecc49 feat: add command to list linked services for a given app 2018-07-21 16:32:07 -04:00
Jose Diaz-Gonzalez
daa57b7948 fix: properly set SERVICE_ALIAS 2018-04-24 15:06:01 -04:00
Jose Diaz-Gonzalez
5dba48c638 feat: properly handle custom aliases and error states for alias usage when calling link subcommand. Refs dokku/dokku-redis#64 2018-04-24 03:22:12 -04:00
Jose Diaz-Gonzalez
8ac361f930 refactor: make variable as dns hostname more clear 2018-04-24 02:54:58 -04:00
Jose Diaz-Gonzalez
e3b9237e59 fix: remove an infinite loop. Refs dokku/dokku-redis#64 2018-04-24 02:18:37 -04:00
Jose Diaz-Gonzalez
4e746fc624 feat: implement link querystring flags. Refs dokku/dokku-redis#64 2018-04-24 01:40:32 -04:00
Jose Diaz-Gonzalez
fdb90b85a3 refactor: move unimplemented command detection into config file 2018-04-24 00:27:28 -04:00
Jose Diaz-Gonzalez
4450474b01 fix: set SERVICE_ROOT variable for backups 2018-04-23 18:11:45 -04:00
Jose Diaz-Gonzalez
4be1c8cf77 fix: set ID variable for backups 2018-04-23 18:08:49 -04:00
Jose Diaz-Gonzalez
a074f239b0 chore: standardize on single method of setting backup root. Refs dokku/dokku-redis#91 2018-04-23 17:37:11 -04:00
Jose Diaz-Gonzalez
a9319fcb0e fix: properly handle use-iam flag. Closes dokku/dokku-redis#88 2018-04-23 17:12:00 -04:00
Jose Diaz-Gonzalez
4c6ceab122 fix: silence errors when a container does not exist. Closes dokku/dokku-redis#85 2018-04-23 15:52:27 -04:00
Jose Diaz-Gonzalez
75ad99415f feat: create backup-schedule-cat subcommand 2018-04-23 14:39:41 -04:00
Jose Diaz-Gonzalez
3f257c4aca feat: implement exists and linked subcommands 2018-02-25 15:42:27 -05:00
Jose Diaz-Gonzalez
99307312c9 fix: Properly handle updated config functions
Closes dokku/dokku-redis#90
2018-01-12 06:08:57 -05:00
Jose Diaz-Gonzalez
726de062a6 fix: allow unlinking a service regardless of config status
Closes dokku/dokku-redis#92
2018-01-11 22:57:18 -05:00
Jose Diaz-Gonzalez
178d23617b fix: ensure we create the config directory 2017-09-11 07:14:01 -04:00
Jose Diaz-Gonzalez
782127781f feat: add support for -u flag as alias for --use-iam 2017-09-10 19:15:27 -04:00
Jose Diaz-Gonzalez
0da46478fe feat: add support for --tail 2017-09-10 01:21:05 -04:00
Jose Diaz-Gonzalez
29e06fa758 feat: Adds possibility to set encryption for s3 2017-09-09 14:27:52 -04:00
Jose Diaz-Gonzalez
3776763752 fix: pass shellcheck 2017-08-28 11:44:56 -04:00
Jose Diaz-Gonzalez
769136bc84 fix: skip removing the ambassador container when it isn't running. Closes dokku/dokku-mongo#90 2017-08-27 18:54:22 -04:00
Jose Diaz-Gonzalez
0a1a0b9a47 Add argument parser to common-functions 2017-08-26 05:42:32 -04:00
Jose Diaz-Gonzalez
f1d1a9d945 feat: Add a --use-iam flag to backup subcommand 2017-08-26 04:23:24 -04:00
Jose Diaz-Gonzalez
bd8d86c69b Adds parameters to backup-auth for region support and non AWS endpoint support
Refs dokku/dokku-mariadb#61
2017-08-26 00:07:22 -04:00
Jose Diaz-Gonzalez
6a7f525e0e fix: use updated dokkupaas/s3backup image to fix backup issues. Closes dokku/dokku-postgres#109 2017-04-13 19:56:48 -06:00
Jose Diaz-Gonzalez
0b81908cb2 feat: enable uploading backups to any region 2017-04-11 09:51:52 -06:00
Jose Diaz-Gonzalez
b380261a98 Fixed temp dir cleanup in service_backup() 2017-03-19 17:51:01 -06:00
Jose Diaz-Gonzalez
3822e9b293 feat: ensure permissions are set properly on cron files 2017-01-12 01:54:08 -07:00
Jose Diaz-Gonzalez
fdc927203c feat: add s3 backup support 2016-10-31 11:39:36 -06:00
Jose Diaz-Gonzalez
d23b521142 Add the ability to enter a running container 2016-08-29 08:19:59 -04:00
Jose Diaz-Gonzalez
5406b4dc07 Add --service-root flag to info command 2016-08-29 05:53:54 -04:00