Commit Graph

533 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
c0d7e08c0d fix: update clone test 2022-07-25 00:36:42 -04:00
Jose Diaz-Gonzalez
b953191033 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
c790b261aa fix: move warning below service name verification 2022-07-19 01:34:21 -04:00
Jose Diaz-Gonzalez
febd798ce3 Release 1.19.0 1.19.0 2022-07-10 15:30:46 -04: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
ab45f83517 Release 1.18.1 1.18.1 2022-07-07 03:07:55 -04:00
Jose Diaz-Gonzalez
36c2adb748 fix: ensure we respect the file path for service links 2022-07-07 03:07:37 -04:00
Jose Diaz-Gonzalez
d32a6253f1 Release 1.18.0 1.18.0 2022-07-07 03:04:14 -04:00
Jose Diaz-Gonzalez
881f07df19 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
793cc3a7b4 Release 1.17.8 1.17.8 2022-07-06 01:48:55 -04:00
Jose Diaz-Gonzalez
0c18b05d97 fix: ensure the new service does not exist when cloning an existing service 2022-07-06 01:47:31 -04:00
Jose Diaz-Gonzalez
b2c458bda9 Release 1.17.7 1.17.7 2022-07-06 01:38:10 -04:00
Jose Diaz-Gonzalez
2c26af4bc5 fix: ensure we check if the service exists before entering it 2022-07-06 01:36:40 -04:00
Jose Diaz-Gonzalez
7654aedbaf Release 1.17.6 1.17.6 2022-07-05 22:20:45 -04:00
Jose Diaz-Gonzalez
b9da7537d4 Merge pull request #151 from dokku/dependabot/docker/mongo-5.0.9
chore(deps): bump mongo from 5.0.8 to 5.0.9
2022-07-05 22:20:24 -04:00
dependabot[bot]
a52333c060 chore(deps): bump mongo from 5.0.8 to 5.0.9
Bumps mongo from 5.0.8 to 5.0.9.

---
updated-dependencies:
- dependency-name: mongo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03 13:08:58 +00:00
Jose Diaz-Gonzalez
bf14eccd6c Release 1.17.5 1.17.5 2022-05-29 16:20:27 -04:00
Jose Diaz-Gonzalez
397ab9aa02 Merge pull request #149 from dokku/dependabot/docker/mongo-5.0.8
chore(deps): bump mongo from 5.0.5 to 5.0.8
2022-05-29 16:20:19 -04:00
dependabot[bot]
229ac85c14 chore(deps): bump mongo from 5.0.5 to 5.0.8
Bumps mongo from 5.0.5 to 5.0.8.

---
updated-dependencies:
- dependency-name: mongo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-27 13:23:22 +00:00
Jose Diaz-Gonzalez
61522f70f2 Release 1.17.4 1.17.4 2022-02-03 10:31:05 -05:00
Jose Diaz-Gonzalez
f97faa612a fix: always chown the image files 2022-02-03 10:30:27 -05:00
Jose Diaz-Gonzalez
72bf3d5d30 docs: clarify unit for container memory limit 2022-01-22 04:31:53 -05:00
Jose Diaz-Gonzalez
abd76bdf82 Release 1.17.3 1.17.3 2022-01-22 04:24:28 -05:00
Jose Diaz-Gonzalez
bdc3a63d76 fix: ensure service config files are owned by the dokku system user
Refs dokku/dokku-postgres#245
2022-01-22 04:23:52 -05:00
Jose Diaz-Gonzalez
ea4c122ccd Release 1.17.2 1.17.2 2022-01-22 04:12:16 -05:00
Jose Diaz-Gonzalez
c7b83d3520 Release 1.17.1 1.17.1 2022-01-22 04:07:11 -05:00
Jose Diaz-Gonzalez
fdb334e2cd Merge pull request #146 from dokku/dependabot/docker/mongo-5.0.5
chore(deps): bump mongo from 5.0.4 to 5.0.5
2022-01-22 04:06:57 -05:00
Jose Diaz-Gonzalez
734317f3b4 Release 1.17.0 1.17.0 2021-12-25 16:49:53 -05:00
Jose Diaz-Gonzalez
e45e0b4d74 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:15 -05:00
dependabot[bot]
6891f4b6bf chore(deps): bump mongo from 5.0.4 to 5.0.5
Bumps mongo from 5.0.4 to 5.0.5.

---
updated-dependencies:
- dependency-name: mongo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-08 13:18:52 +00:00
Jose Diaz-Gonzalez
ba12aba367 Release 1.16.1 1.16.1 2021-11-27 14:02:23 -05:00
Jose Diaz-Gonzalez
157f48e1db Merge pull request #144 from dokku/dependabot/docker/mongo-5.0.4
chore(deps): bump mongo from 5.0.3 to 5.0.4
2021-11-27 14:02:16 -05:00
dependabot[bot]
6ea58f6cc8 chore(deps): bump mongo from 5.0.3 to 5.0.4
Bumps mongo from 5.0.3 to 5.0.4.

---
updated-dependencies:
- dependency-name: mongo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-16 13:10:05 +00:00
Jose Diaz-Gonzalez
dca2ba4a23 Release 1.16.0 1.16.0 2021-10-26 22:27:47 -04:00
Jose Diaz-Gonzalez
529d339ee5 feat: allow tailing a specific number of log lines 2021-10-26 22:27:13 -04:00
Jose Diaz-Gonzalez
c44089527f Release 1.15.1 1.15.1 2021-10-24 05:17:32 -04:00
Jose Diaz-Gonzalez
3087575877 fix: silence config-options error when there are no config-options set 2021-10-24 05:08:26 -04:00
Jose Diaz-Gonzalez
8e1dd3d050 Release 1.15.0 1.15.0 2021-10-23 19:33:54 -04:00
Jose Diaz-Gonzalez
a27a012c91 feat: allow quiet header for :info command 2021-10-23 19:33:16 -04:00
Jose Diaz-Gonzalez
ddc8a4dcc9 Release 1.14.3 1.14.3 2021-10-07 12:05:15 -04:00
Jose Diaz-Gonzalez
f38df7f861 Release 1.14.2 1.14.2 2021-09-21 21:08:38 -04:00
Jose Diaz-Gonzalez
5899a238ab Merge pull request #142 from dokku/dependabot/docker/mongo-5.0.3
chore(deps): bump mongo from 5.0.2 to 5.0.3
2021-09-21 21:08:24 -04:00
dependabot[bot]
88124250c0 chore(deps): bump mongo from 5.0.2 to 5.0.3
Bumps mongo from 5.0.2 to 5.0.3.

---
updated-dependencies:
- dependency-name: mongo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-21 13:12:19 +00:00
Jose Diaz-Gonzalez
323d859dc2 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:58 -04:00
Jose Diaz-Gonzalez
7a324ad965 Release 1.14.1 1.14.1 2021-09-13 04:33:59 -04:00
Jose Diaz-Gonzalez
66446eb3d1 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:27 -04:00
Jose Diaz-Gonzalez
3da2546c96 Release 1.14.0 1.14.0 2021-09-13 03:33:57 -04:00
Jose Diaz-Gonzalez
be5abcc9fa docs: use a 'standard' name for the data dump 2021-09-13 03:25:05 -04:00
Jose Diaz-Gonzalez
29caa13725 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:23 -04:00
Jose Diaz-Gonzalez
fa5548b6fc 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