Mykola Solodukha
50a7923695
✨ Implement GPG Public Key encryption support
...
First introduced in https://github.com/dokku/docker-s3backup/pull/81 .
2024-04-28 18:23:40 +03:00
Jose Diaz-Gonzalez
bfc0f18759
Release 1.34.0
tagged-release / tagged-release (push) Has been cancelled
2023-05-28 01:00:01 -04:00
Jose Diaz-Gonzalez
bbc7b0fc71
fix: show an error when an ambassador container already exists but we don't have expose configuration
...
Closes dokku/dokku-redis#200
2023-02-25 20:10:37 -05:00
Jose Diaz-Gonzalez
bceebc1e9c
fix: update tests to properly handle case where app is not running
2023-02-21 00:48:22 -05:00
Jose Diaz-Gonzalez
6accb9cbda
fix: move arg-less flags to the front
2023-02-21 00:29:30 -05:00
Jose Diaz-Gonzalez
ad22989894
feat: add ability to skip restarts on link and unlink
...
Refs dokku/dokku-redis#192
2023-02-20 23:26:44 -05:00
Jose Diaz-Gonzalez
6dc8e57024
fix: correct imports
2023-02-08 01:42:07 -05:00
Jose Diaz-Gonzalez
ebb5112055
fix: add -N flag to getopts
2023-02-08 00:54:23 -05:00
Jose Diaz-Gonzalez
934d054471
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 00:03:25 -05:00
Jose Diaz-Gonzalez
d5e9a12d59
fix: add missing source calls
2023-02-07 22:38:51 -05:00
Jose Diaz-Gonzalez
01242f6f88
feat: add network properties to :info output
2023-02-07 18:34:30 -05:00
Jose Diaz-Gonzalez
428e95ef08
fix: properly support new image and image-version values during plugin upgrades
...
Closes dokku/dokku-mongo#143
Closes dokku/dokku-redis#193
Closes dokku/dokku-redis#195
2023-02-07 06:53:40 -05:00
Jose Diaz-Gonzalez
03e4c519f1
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
13eeed1582
refactor: namespace all docker commands in common-functions
2023-02-07 03:31:50 -05:00
Jose Diaz-Gonzalez
3f338c7985
feat: add :pause subcommand and make :stop subcommand actually remove the container
2022-12-26 18:21:10 -05:00
Jose Diaz-Gonzalez
9cf8a5880f
fix: refactor how services are filtered
...
The previous method did not include the service type in the user-auth-service hook, which meant it was kinda guess/check as to whether a datastore was filtered correctly for the service in question.
Additionally, we now handle newlines correctly, ensuring that when there _is_ filtering, we treat each datastore as a distinct one.
2022-07-24 23:53:47 -04:00
Jose Diaz-Gonzalez
140639917d
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
7a3c4f7345
fix: ensure we respect the file path for service links
2022-07-07 03:07:37 -04:00
Jose Diaz-Gonzalez
4696033532
feat: implement service filtering
...
If a user implements the user-auth-service trigger in a plugin and that plugin does not echo the passed in app(s) on stdout, the app is assumed to not exist. This mirrors the functionality for applications in regards to auth filtering.
This may still need auditing to ensure it covers everything and doesn't cause issues, but local testing implies that everything is working as expected.
2022-07-07 02:54:14 -04:00
Jose Diaz-Gonzalez
20164dca78
fix: ensure the new service does not exist when cloning an existing service
2022-07-06 01:47:31 -04:00
Jose Diaz-Gonzalez
a68d2e71d0
feat: add ability to skip restarts when linking datastores
...
This allows multiple datastores to be linked at a given time, thus decreasing provisioning times.
2021-12-25 16:44:16 -05:00
Jose Diaz-Gonzalez
1c7d121a07
feat: allow tailing a specific number of log lines
2021-10-26 22:27:14 -04:00
Jose Diaz-Gonzalez
78d74dfc3c
fix: silence config-options error when there are no config-options set
2021-10-24 05:08:28 -04:00
Jose Diaz-Gonzalez
46a940fd28
feat: allow quiet header for :info command
2021-10-23 19:33:18 -04:00
Jose Diaz-Gonzalez
42f07d10a8
fix: ensure cloned/renamed apps have a link to linked services
...
Previously they would just 'disappear', resulting in broken applications until the app was relinked to the service in question.
Closes dokku/dokku-redis#142
2021-09-13 04:28:33 -04:00
Jose Diaz-Gonzalez
7ca7c20ef8
fix: pin the image and image version of a created service at creation time
...
This will help ensure that users upgrading to a new plugin version who stop/start databases will always get the same version. This is particularly important for datastores such as elasticsearch and postgres that have more involved upgraded processes.
2021-09-13 02:28:41 -04:00
Jose Diaz-Gonzalez
3ab20b0b4f
feat: allow setting shm-size on created containers
...
Refs dokku/dokku-postgres#188
Closes dokku/dokku-postgres#201
2021-09-13 00:46:48 -04:00
Jose Diaz-Gonzalez
254c68c326
Merge branch 'master' into fix-unlink
2021-09-13 00:02:52 -04:00
Benjamin Atkin
952036bbaa
make tense in command descriptions more consistent
2021-09-12 22:36:31 -04:00
Jose Diaz-Gonzalez
1afdffef8d
feat: add ability to set container config options during create/clone/upgrade actions
...
Also add to documentation where possible.
Closes dokku/dokku-mongo#131
2021-09-12 22:16:14 -04:00
Jose Diaz-Gonzalez
409cfc06c0
fix: copy any existing templates and drop unnecessary interactivity
2021-09-12 00:40:33 -04:00
Jose Diaz-Gonzalez
4e808c6ff9
refactor: use pre/post triggers for service-action naming
...
This is a bit more clear as the links aren't always idempotent and may have errors - this allows users to reconcile at what point a link may have failed so that they can take further action.
2021-02-25 16:05:24 -05:00
Jose Diaz-Gonzalez
9974da1abe
feat: add service-action plugin trigger for link/unlink
...
This can be used to track in alternate systems when a service is linked/unlinked from an app by implementing the custom trigger.
2021-02-25 15:58:31 -05:00
Jose Diaz-Gonzalez
6f1ad4c20e
fix: do not shadow TMPDIR variable
...
This enables usage of the plugin with libpam-tmpdir.
Refs dokku/dokku#3149
2021-01-17 21:02:28 -05:00
schlepptop
fc7ddc3e2a
Fix #203
2020-07-18 16:55:23 +02:00
Jose Diaz-Gonzalez
56f688e8aa
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
5fd0ca4be7
fix: respect the TMPDIR environment variable
...
Refs dokku/dokku-redis#143
2020-05-15 00:57:21 -04:00
Jose Diaz-Gonzalez
dccd7e7f89
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-31 01:36:28 -04:00
Jose Diaz-Gonzalez
856e0eec4b
feat: add service-specific header to info call
2020-03-31 01:36:28 -04:00
Jose Diaz-Gonzalez
91bf720861
fix: correct service title
2020-03-06 10:19:43 -05:00
Jose Diaz-Gonzalez
4dc758d7e6
refactor: drop full info from :list command
...
This can be fetched from :info if necessary, and slows down the list quite a bit.
2020-03-03 16:02:51 -05:00
Jose Diaz-Gonzalez
b87837b2f1
fix: speed up service_status by reducing container status calls
2020-03-03 15:57:20 -05:00
Jose Diaz-Gonzalez
a5fbfe1e7a
chore: update dokku/ambassador version
2019-12-27 16:55:26 -05:00
Jose Diaz-Gonzalez
da72857cad
chore: update dokku/s3backup version
2019-12-27 16:53:23 -05:00
Jose Diaz-Gonzalez
c7f511c5f2
feat: add service:links command
...
This allows users to script against apps that are linked to a given service
2019-07-15 14:59:05 -07:00
Jose Diaz-Gonzalez
7d4cf380bb
fix: use correct variable for checking for password file
2019-07-12 12:56:37 -07:00
Jose Diaz-Gonzalez
5b13bedbd6
chore: move to helper functions for fetching passwords
2019-07-11 16:34:35 -07:00
Jose Diaz-Gonzalez
93dd4fecbb
feat: update ambassador, s3backup, and wait images
2019-07-11 14:31:47 -07:00
Jose Diaz-Gonzalez
7faec70ef2
fix: ensure the tracked container id is up to date
...
If the ID file contained an incorrect value, calling :start would say the service is started but :info would still show the container as missing.
Also fix an issue where docker inspect leaked stderr when the container was missing.
Refs dokku/dokku-redis#133
2019-06-11 15:44:54 -04:00
Jose Diaz-Gonzalez
028d82517f
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