Jose Diaz-Gonzalez
6214fd1096
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
cfbe99cb77
fix: move warning below service name verification
2022-07-19 01:34:22 -04:00
Jose Diaz-Gonzalez
b7528a6f1c
Release 1.22.0
1.22.0
2022-07-10 15:31:07 -04:00
Jose Diaz-Gonzalez
9c72f9a8e0
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
9cfaec41ea
Release 1.21.1
1.21.1
2022-07-07 03:08:09 -04:00
Jose Diaz-Gonzalez
e9e46256e9
fix: ensure we respect the file path for service links
2022-07-07 03:07:37 -04:00
Jose Diaz-Gonzalez
b1a0266f93
Release 1.21.0
1.21.0
2022-07-07 03:04:27 -04:00
Jose Diaz-Gonzalez
099764aa40
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
dae1a32275
Release 1.20.3
1.20.3
2022-07-06 01:49:06 -04:00
Jose Diaz-Gonzalez
9e5bf61dc0
fix: ensure the new service does not exist when cloning an existing service
2022-07-06 01:47:31 -04:00
Jose Diaz-Gonzalez
e8416285d2
Release 1.20.2
1.20.2
2022-07-06 01:38:21 -04:00
Jose Diaz-Gonzalez
7e1301d6d4
fix: ensure we check if the service exists before entering it
2022-07-06 01:36:40 -04:00
Jose Diaz-Gonzalez
dacc0c2236
Release 1.20.1
1.20.1
2022-07-05 22:15:43 -04:00
Jose Diaz-Gonzalez
7992ce90e2
Merge pull request #179 from dokku/dependabot/docker/redis-7.0.2
...
chore(deps): bump redis from 7.0.0 to 7.0.2
2022-07-05 22:14:25 -04:00
dependabot[bot]
5ff5d82ef8
chore(deps): bump redis from 7.0.0 to 7.0.2
...
Bumps redis from 7.0.0 to 7.0.2.
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-14 15:09:28 +00:00
Jose Diaz-Gonzalez
28af22d5ee
Release 1.20.0
1.20.0
2022-05-29 16:17:24 -04:00
Jose Diaz-Gonzalez
0bcf1a2e32
Merge pull request #177 from dokku/dependabot/docker/redis-7.0.0
...
chore(deps): bump redis from 6.2.6 to 7.0.0
2022-05-29 16:17:01 -04:00
dependabot[bot]
4b4f28a7db
chore(deps): bump redis from 6.2.6 to 7.0.0
...
Bumps redis from 6.2.6 to 7.0.0.
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-28 15:12:49 +00:00
Jose Diaz-Gonzalez
b9071721c0
Release 1.19.2
1.19.2
2022-02-03 10:31:17 -05:00
Jose Diaz-Gonzalez
93415ced00
fix: always chown the image files
2022-02-03 10:30:27 -05:00
Jose Diaz-Gonzalez
ac4fee6acb
docs: clarify unit for container memory limit
2022-01-22 04:31:53 -05:00
Jose Diaz-Gonzalez
43348c4297
Release 1.19.1
1.19.1
2022-01-22 04:24:39 -05:00
Jose Diaz-Gonzalez
60d46920d4
fix: ensure service config files are owned by the dokku system user
...
Refs dokku/dokku-postgres#245
2022-01-22 04:23:53 -05:00
Jose Diaz-Gonzalez
3dce1632fd
Release 1.19.0
1.19.0
2021-12-25 16:50:21 -05:00
Jose Diaz-Gonzalez
8c89467123
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
134442bd73
Release 1.18.0
1.18.0
2021-10-26 22:28:10 -04:00
Jose Diaz-Gonzalez
88e6d790e1
feat: allow tailing a specific number of log lines
2021-10-26 22:27:15 -04:00
Jose Diaz-Gonzalez
29f1f3dd3d
Release 1.17.1
1.17.1
2021-10-24 05:17:55 -04:00
Jose Diaz-Gonzalez
93dbdc4da5
fix: silence config-options error when there are no config-options set
2021-10-24 05:08:30 -04:00
Jose Diaz-Gonzalez
bd5ae9442d
Release 1.17.0
1.17.0
2021-10-23 19:34:11 -04:00
Jose Diaz-Gonzalez
cd18e9f4a3
feat: allow quiet header for :info command
2021-10-23 19:33:19 -04:00
Jose Diaz-Gonzalez
c2aff1a5a3
Release 1.16.2
1.16.2
2021-10-07 11:23:30 -04:00
Jose Diaz-Gonzalez
48277db27f
Merge pull request #169 from dokku/dependabot/docker/redis-6.2.6
...
chore(deps): bump redis from 6.2.5 to 6.2.6
2021-10-07 11:23:02 -04:00
dependabot[bot]
f9bac907df
chore(deps): bump redis from 6.2.5 to 6.2.6
...
Bumps redis from 6.2.5 to 6.2.6.
---
updated-dependencies:
- dependency-name: redis
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-10-06 15:11:34 +00:00
Jose Diaz-Gonzalez
258eb2fea8
fix: start linked datastores when an app is started or restored
...
This won't _also_ fix issues when an app is deployed as there isn't an exposed hook for it, but it should fix many other issues.
For the app deployment problem, we'll need a new hook upstream.
Refs dokku/dokku-redis#138
2021-09-13 04:54:59 -04:00
Jose Diaz-Gonzalez
943f93227b
Release 1.16.1
1.16.1
2021-09-13 04:34:12 -04:00
Jose Diaz-Gonzalez
2e76628c88
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:27:29 -04:00
Jose Diaz-Gonzalez
b2cbea7508
Release 1.16.0
1.16.0
2021-09-13 03:34:12 -04:00
Jose Diaz-Gonzalez
f132d89425
docs: use a 'standard' name for the data dump
2021-09-13 03:25:06 -04:00
Jose Diaz-Gonzalez
ba85668e26
docs: document the possibility of zombie processes on ssh disconnect for :connect and :enter commands
...
Apparently terminating the ssh connection that runs 'docker exec' may result in a process leak as the signal isn't propagated properly (moby/moby#9098 ). Since we cannot fix this, we should document it so that users do not stumble upon the issue unawares.
Closes dokku/dokku-postgres#212
2021-09-13 03:21:24 -04:00
Jose Diaz-Gonzalez
7e73273ad3
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:42 -04:00
Jose Diaz-Gonzalez
8d23856729
docs: add folder for supplementary documentation
2021-09-13 01:23:26 -04:00
Jose Diaz-Gonzalez
ced8d9a050
docs: add ability to inject supplementary documentation into the readme
...
Some commands - such as link or upgrade - have extra documenation on a per-plugin basis. Rather than make some sort of weird templating logic in the help output generation, that documentation is added directly to the repository and then injected at generation time.
2021-09-13 01:21:20 -04:00
Jose Diaz-Gonzalez
6885913479
docs: properly spell lollipop
...
I've been misspelling my stand-in variable name for years...
2021-09-13 00:57:34 -04:00
Jose Diaz-Gonzalez
d9a8bc3357
feat: allow setting shm-size on created containers
...
Refs dokku/dokku-postgres#188
Closes dokku/dokku-postgres#201
2021-09-13 00:46:49 -04:00
Jose Diaz-Gonzalez
943f90f4b8
fix: properly handle unlink on promoted service
2021-09-13 00:04:28 -04:00
Jose Diaz-Gonzalez
386a97d68d
docs: correctly represent the url and env vars that get injected via docker link
...
Closes dokku/dokku-postgres#221
2021-09-12 23:38:52 -04:00
Jose Diaz-Gonzalez
cb5aa08986
docs: fix the variable reference for plugins where the alias does not match the variable
...
Closes dokku/dokku-postgres#199
2021-09-12 22:55:02 -04:00
Jose Diaz-Gonzalez
9cb2f75469
docs: make tense in command descriptions more consistent
2021-09-12 22:37:15 -04:00
Jose Diaz-Gonzalez
b186895205
chore: drop extra print in readme generator
2021-09-12 22:33:06 -04:00