Commit Graph

53 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
7b90e6283b feat: switch to updated ambassador image 2019-03-25 12:46:01 -04:00
Jose Diaz-Gonzalez
0948e2813a chore: unify with other plugins 2019-03-19 14:59:49 -04:00
Jose Diaz-Gonzalez
c41bcc9c1b 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
efe30f1a5f fix: correct check to see if container exists 2019-03-16 20:40:07 -04:00
Jose Diaz-Gonzalez
fc3f6a8a52 fix: correct the validation message 2019-03-09 16:39:34 -05:00
Jose Diaz-Gonzalez
1551ec61e7 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
5ca27fbeff 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
3c40976298 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
8061f0c50a 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
5e5ad6d472 fix: clean up backup containers after use
Closes dokku/dokku#104
2018-12-02 04:46:52 -05:00
Jose Diaz-Gonzalez
b7724b826c fix: correct issues in upgrade and fix tests 2018-10-11 14:16:47 -04:00
Jose Diaz-Gonzalez
00b290346e feat: allow removal of header from :list subcommand 2018-10-10 23:54:08 -04:00
Jose Diaz-Gonzalez
5f2e184d68 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
8a8857374c fix: handle case where container being removed does not exist 2018-10-10 22:03:44 -04:00
Jose Diaz-Gonzalez
a39ade3161 chore: correct verbiage around upgrades 2018-10-10 02:54:34 -04:00
Jose Diaz-Gonzalez
e089d0d03d fix: correct check for existing image 2018-10-10 02:42:43 -04:00
Jose Diaz-Gonzalez
284ffa3177 feat: add ability to upgrade service image and image-version 2018-10-10 00:13:59 -04:00
Jose Diaz-Gonzalez
e07b387d86 feat: add command to list linked services for a given app 2018-07-21 16:31:55 -04:00
Jose Diaz-Gonzalez
a5d5b4a22d fix: properly set SERVICE_ALIAS 2018-04-24 15:05:50 -04:00
Jose Diaz-Gonzalez
57956e0dad feat: properly handle custom aliases and error states for alias usage when calling link subcommand. Refs dokku/dokku-redis#64 2018-04-24 03:21:55 -04:00
Jose Diaz-Gonzalez
c83e0a56d2 refactor: make variable as dns hostname more clear 2018-04-24 02:54:46 -04:00
Jose Diaz-Gonzalez
0bcd62459d fix: remove an infinite loop. Refs dokku/dokku-redis#64 2018-04-24 02:18:26 -04:00
Jose Diaz-Gonzalez
4b8b0c4bd5 feat: implement link querystring flags. Refs dokku/dokku-redis#64 2018-04-24 01:40:21 -04:00
Jose Diaz-Gonzalez
02b0c1c7f9 refactor: move unimplemented command detection into config file 2018-04-24 00:27:17 -04:00
Jose Diaz-Gonzalez
9d09589942 fix: set SERVICE_ROOT variable for backups 2018-04-23 18:11:26 -04:00
Jose Diaz-Gonzalez
6fe4c6527e fix: set ID variable for backups 2018-04-23 18:08:31 -04:00
Jose Diaz-Gonzalez
2de0a04ba8 chore: standardize on single method of setting backup root. Refs dokku/dokku-redis#91 2018-04-23 17:36:48 -04:00
Jose Diaz-Gonzalez
46d1ac785c fix: properly handle use-iam flag. Closes dokku/dokku-redis#88 2018-04-23 17:11:37 -04:00
Jose Diaz-Gonzalez
cfb9e508da fix: silence errors when a container does not exist. Closes dokku/dokku-redis#85 2018-04-23 15:52:07 -04:00
Jose Diaz-Gonzalez
77c64b4045 feat: create backup-schedule-cat subcommand 2018-04-23 14:39:26 -04:00
Jose Diaz-Gonzalez
c6f38b2c1b fix: Properly handle updated config functions
Closes dokku/dokku-redis#90
2018-01-12 06:11:53 -05:00
Jose Diaz-Gonzalez
65e2999f31 feat: allow checking if a service is linked to an app 2018-01-12 01:53:53 -05:00
Jose Diaz-Gonzalez
6775daa8d4 fix: allow unlinking a service regardless of config status
Closes dokku/dokku-redis#92
2018-01-11 22:55:42 -05:00
Jose Diaz-Gonzalez
83df40711c fix: ensure we create the config directory 2017-09-11 07:13:46 -04:00
Jose Diaz-Gonzalez
6684ff4f31 feat: add support for -u flag as alias for --use-iam 2017-09-10 19:14:33 -04:00
Jose Diaz-Gonzalez
f362031318 feat: add support for --tail 2017-09-10 01:20:45 -04:00
Jose Diaz-Gonzalez
21203f60e9 feat: Adds possibility to set encryption for s3 2017-09-09 14:29:58 -04:00
Jose Diaz-Gonzalez
62f4f96da4 fix: correct shellcheck error 2017-08-28 11:45:48 -04:00
Jose Diaz-Gonzalez
ee669c68e2 fix: skip removing the ambassador container when it isn't running. Closes dokku/dokku-mongo#90 2017-08-27 18:55:23 -04:00
Jose Diaz-Gonzalez
afcfc0253c feat: add ability to specify custom flags on clone/create
Refs dokku/dokku-redis#64
2017-08-26 18:10:31 -04:00
Jose Diaz-Gonzalez
478de27464 feat: Add a --use-iam flag to backup subcommand 2017-08-26 04:23:13 -04:00
Jose Diaz-Gonzalez
9e27f4928a Adds parameters to backup-auth for region support and non AWS endpoint support
Refs dokku/dokku-mariadb#61
2017-08-26 00:06:36 -04:00
Jose Diaz-Gonzalez
65abf70101 fix: use updated dokkupaas/s3backup image to fix backup issues. Closes dokku/dokku-postgres#109 2017-04-13 19:56:26 -06:00
Jose Diaz-Gonzalez
f97d06f05a feat: enable uploading backups to any region 2017-04-11 09:50:34 -06:00
Jose Diaz-Gonzalez
41d8abef6c Fixed temp dir cleanup in service_backup() 2017-03-19 17:50:27 -06:00
Jose Diaz-Gonzalez
ac17961a65 feat: ensure permissions are set properly on cron files 2017-01-12 01:53:47 -07:00
Jose Diaz-Gonzalez
cc5fac0376 feat: add s3 backup support 2016-10-31 11:39:25 -06:00
Jose Diaz-Gonzalez
a578c8ef58 Add the ability to enter a running container 2016-08-29 08:19:53 -04:00
Jose Diaz-Gonzalez
7f8a9ee554 Add --service-root flag to info command 2016-08-29 05:53:48 -04:00
Jose Diaz-Gonzalez
86bd8843cc Alphabetize functions 2016-08-29 05:12:41 -04:00