Commit Graph

531 Commits

Author SHA1 Message Date
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
Jose Diaz-Gonzalez
653e1e0ec5 dev: add file (for linting) and nano (for in-container editing) to devcontainer 2021-09-12 22:20:42 -04:00
Jose Diaz-Gonzalez
2b7b1cc1da fix: use updated python shebang 2021-09-12 22:18:01 -04:00
Jose Diaz-Gonzalez
720ddea579 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
658e04df6f fix: allow non-english characters in :connect shell
Closes dokku/dokku-mysql#116
2021-09-12 08:24:53 -04:00
Jose Diaz-Gonzalez
9b6d6430fb feat: add the ability to constrain memory on service start/clone
Refs dokku/dokku-redis#86
2021-09-12 07:43:03 -04:00
Jose Diaz-Gonzalez
5ce48afd51 docs: add a note as to how to specify an interface/ip to bind on when exposing a service
Closes dokku/dokku-mongo#128
2021-09-12 07:09:56 -04:00
Jose Diaz-Gonzalez
17a640e764 docs: translate single-quotes into backticks 2021-09-12 07:01:59 -04:00
Jose Diaz-Gonzalez
3aed82c9d7 docs: document how to restore a backup 2021-09-12 06:59:50 -04:00
Jose Diaz-Gonzalez
65e92bdd75 Release 1.15.1 1.15.1 2021-09-12 04:54:50 -04:00
Jose Diaz-Gonzalez
ec9b0049cf dev: add convenience copy-file bin and fix data path used by plugin 2021-09-12 03:28:57 -04:00
Jose Diaz-Gonzalez
3418f4d76e dev: make devcontainer setup plugin agnostic 2021-09-12 02:39:18 -04:00
Jose Diaz-Gonzalez
2e0e2db647 chore: show a better error message when the image is missing
Refs dokku/dokku-clickhouse#4
2021-09-12 00:54:24 -04:00
Jose Diaz-Gonzalez
5b0dd26c73 dev: mount the service directory from the host to ensure tests can pass inside of a docker container 2021-09-12 00:53:13 -04:00
Jose Diaz-Gonzalez
c259f0fb97 fix: copy any existing templates and drop unnecessary interactivity 2021-09-12 00:40:42 -04:00
Jose Diaz-Gonzalez
8f8c9f2a2c fix: use correct path 2021-09-11 23:45:01 -04:00
Jose Diaz-Gonzalez
4c71d0b4c5 fix: copy templates if they exist 2021-09-11 23:18:29 -04:00
Jose Diaz-Gonzalez
be18a78f36 feat: add devcontainer support
This should make it possible to run tests locally in a lighter way than pulling up a full VM.
2021-09-11 21:06:06 -04:00
Jose Diaz-Gonzalez
99daa0f86f docs: regenerate readme 2021-09-11 18:16:29 -04:00
Jose Diaz-Gonzalez
0d501c6f8d Merge pull request #166 from dokku/dependabot/docker/redis-6.2.5
chore(deps): bump redis from 6.2.4 to 6.2.5
2021-09-11 18:11:40 -04:00
Jose Diaz-Gonzalez
a30b33ecc6 chore: drop references to circleci, libera, travis-ci 2021-09-11 17:57:22 -04:00
dependabot[bot]
71316e85d3 chore(deps): bump redis from 6.2.4 to 6.2.5
Bumps redis from 6.2.4 to 6.2.5.

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-23 15:07:50 +00:00
Jose Diaz-Gonzalez
2082f89ac1 Release 1.15.0 1.15.0 2021-07-12 01:04:11 -04:00
Jose Diaz-Gonzalez
902112cc75 Merge pull request #164 from dokku/dependabot/docker/redis-6.2.4
chore(deps): bump redis from 5.0.7 to 6.2.4
2021-07-12 01:02:43 -04:00
dependabot[bot]
18c4fbc79e chore(deps): bump redis from 5.0.7 to 6.2.4
Bumps redis from 5.0.7 to 6.2.4.

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-02 06:24:43 +00:00
Jose Diaz-Gonzalez
3a8b4511c4 tests: refactor tests to ignore readme generation for Dockerfile changes
Ideally we can trigger a readme update on merge in the future. For now, this will work well.
2021-04-26 11:43:13 -04:00
Jose Diaz-Gonzalez
2dfcc76d26 chore: gitignore bootstrap file and minor cleanup of ci 2021-04-25 02:54:07 -04:00
Jose Diaz-Gonzalez
071afd4a31 Merge pull request #161 from dokku/github-actions-attempt
tests: migrate to github actions
2021-04-25 01:07:10 -04:00
Jose Diaz-Gonzalez
04541a0fc6 tests: skip tests that require tty for github actions 2021-04-25 00:35:43 -04:00
Jose Diaz-Gonzalez
fea5aa6724 docs: regenerate readme 2021-04-24 14:09:33 -04:00
Jose Diaz-Gonzalez
f48f67f67b tests: drop copying of test results
Bats will now output the results on stdout so no need to copy results anywhere.
2021-04-24 14:05:47 -04:00
Jose Diaz-Gonzalez
8fda23f91c tests: fix job name 2021-04-24 14:04:39 -04:00
Jose Diaz-Gonzalez
14ec6fd833 tests: split tests to version and tag 2021-04-24 14:03:02 -04:00
Jose Diaz-Gonzalez
dafc9c7a2d chore: update min dokku version and only test push on master branch 2021-04-24 13:57:19 -04:00
Jose Diaz-Gonzalez
21df3ee116 tests: migrate to github actions 2021-04-24 02:20:30 -04:00