Commit Graph

24 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
87889957ff fix: correct imports 2023-02-08 04:12:43 -05:00
Jose Diaz-Gonzalez
837f74d169 feat: add support for network related flags on create, clone, and upgrade
Also add some tests to cover all the network-related functionality.
2023-02-08 04:12:43 -05:00
Jose Diaz-Gonzalez
44e7921822 refactor: use DOCKER_BIN env var instead of calling docker directly
This will allow us to alias the docker binary with podman for most actions - other than updating running containers.
2023-02-07 03:53:08 -05:00
Jose Diaz-Gonzalez
5f5eb56a99 refactor: use namespaced docker commands for interacting with the docker binary 2023-02-07 03:39:42 -05:00
Jose Diaz-Gonzalez
9f8d1d2c2e refactor: set the plugin name as the first argument to the service-action trigger
This is a breaking change, but is necessary as otherwise it is impossible to know which datastore plugin a team is meant for.
2022-07-10 15:29:11 -04:00
Jose Diaz-Gonzalez
7e138018e2 docs: properly spell lollipop
I've been misspelling my stand-in variable name for years...
2021-09-13 00:57:33 -04:00
Jose Diaz-Gonzalez
483e6c54cc feat: add plugin trigger for service creation and deletion 2021-02-25 19:54:59 -05:00
Jose Diaz-Gonzalez
31ade32c05 fix: allow config directory to be configurable
For postgres, the config directory doesn't actually exist, so adding this configurability allows the plugin's info command to report correctly.
2020-05-16 02:49:34 -04:00
Jose Diaz-Gonzalez
61664799dd feat: move all image names to config file
This allows us to more quickly update the image versions in use for tertiary images.
2020-03-30 20:09:03 -04:00
Jose Diaz-Gonzalez
1ad804adba feat: upgrade busybox to 1.31.0-uclibc 2019-07-11 13:36:40 -07:00
Jose Diaz-Gonzalez
238f09dae0 chore: run shfmt 2019-05-30 11:06:25 -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
bc6a5422d6 fix: correct the validation message 2019-03-09 16:39:34 -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
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
df593ec155 refactor: move unimplemented command detection into config file 2018-04-24 00:27:14 -04:00
Jose Diaz-Gonzalez
c14cff0342 feat: support a separate data root for Docker bind mounts
This does not fix the :backup subcommand, which uses a temporary directory mounted to /backup.
2018-04-10 23:10:24 -04:00
Jose Diaz-Gonzalez
3d9930369e feat: add support for enhanced help output 2017-09-11 01:25:22 -04:00
Jose Diaz-Gonzalez
d2919f6aaf feat: support alternate flags for destroying services 2017-09-10 03:54:36 -04:00
Jose Diaz-Gonzalez
0c3c0d8f4b docs: clarify that data is deleted on destroy. Closes dokku/dokku-redis#72 2017-08-26 18:38:59 -04:00
Jose Diaz-Gonzalez
fd70dd95b7 Remove config data 2016-08-29 10:42:33 -04:00
Jose Diaz-Gonzalez
ddf428c035 Conform to function declaration standards
- declare desc variable
- declare all positional arguments
- set the cmd
- properly handle DOKKU_APP_NAME
2016-05-15 23:56:32 -04:00
Jose Diaz-Gonzalez
e2f6d6b045 Move all commands into subcommand structure 2016-05-15 22:12:43 -04:00