Commit Graph
100 Commits
Author SHA1 Message Date
Jose Diaz-Gonzalez 3dafdcb3f9 fix: detect storage:exec TTY with isatty, not ModeCharDevice
/dev/null is a character device but not a terminal. Treating it as a TTY
made docker run -it fail under docker exec without -t, which broke the
Dokku-in-Docker storage bats job in CI.
2026-10-16 11:52:01 -04:00
Jose Diaz-Gonzalez f768eb6d07 test: cover DOKKU_LIB_HOST_ROOT storage mounts in bats
Add a Dokku-in-Docker bats suite that writes under DOKKU_LIB_HOST_ROOT and
checks storage:exec, set those env vars in the docker CI container, and add
unit bats for the bare-metal (unset) and rewritten docker-args paths.
2026-10-16 11:52:01 -04:00
Jose Diaz-Gonzalez cbde55a4a0 fix: respect DOKKU_LIB_HOST_ROOT for storage bind mounts
When Dokku runs in Docker with a shared socket, create/chown still use
DOKKU_LIB_ROOT inside the container, but Docker -v flags for storage:exec
and deploy must use DOKKU_LIB_HOST_ROOT so the daemon mounts the host data
volume instead of the real host's /var/lib/dokku.

Closes #9126.
2026-10-16 11:52:01 -04:00
Jose Diaz-Gonzalez b82f4718c8 Merge pull request #9150 from dokku/dependabot/docker/tests/apps/dockerfile-release/python-3.15.0-bookworm
chore(deps): bump python from 3.15.0rc3-bookworm to 3.15.0-bookworm in /tests/apps/dockerfile-release
2026-10-16 11:07:52 -04:00
Jose Diaz-Gonzalez b42e9feceb Merge pull request #9149 from dokku/dependabot/pip/docs/_build/soupsieve-3.0.3
chore(deps): bump soupsieve from 2.10 to 3.0.3 in /docs/_build
2026-10-16 04:01:57 -04:00
Jose Diaz-Gonzalez 94a82bd6ee Merge pull request #9130 from dokku/fix-ssh-arg-splitting
Preserve arguments such as --version and -n when running commands over SSH
2026-10-14 15:13:13 -04:00
Jose Diaz-Gonzalez 0582b3b03f Merge pull request #9148 from dokku/fix-retire-shared-source-image
Do not retire an image that another app uses as its source image
2026-10-14 15:12:02 -04:00
Jose Diaz-Gonzalez 0e581f1a7f tests: move the shared source-image app off via git:from-archive
deploy_app cannot push onto an app that already has git history from git:from-image. git:from-archive deploys and clears source-image the same way git_4 already does.
2026-10-14 11:54:29 -04:00
Jose Diaz-Gonzalez e71dffb1a7 fix: do not retire an image that another app uses as its source image
Image retirement removes images by id, so a queued image could be deleted even though another app had since started using it as its git:from-image source image. Skip such images at retire time and drop them from the retire list.

The git_4 test images are also given a per-app label so they no longer share a cached image id, which let a retire entry left by one test delete the next test's source image.
2026-10-14 10:00:51 -04:00
Jose Diaz-Gonzalez 02f0466cac Merge pull request #9146 from dokku/dependabot/go_modules/plugins/app-json/go_modules-3437f9b10e
chore(deps): bump golang.org/x/crypto in /plugins/common
2026-10-14 01:03:48 -04:00
Jose Diaz-Gonzalez 8487176efd Merge pull request #9145 from dokku/dependabot/pip/tests/apps/dockerfile-release/djangorestframework-3.18.3
chore(deps): bump djangorestframework from 3.18.1 to 3.18.3 in /tests/apps/dockerfile-release
2026-10-14 01:03:05 -04:00
Jose Diaz-Gonzalez 172be44811 Merge pull request #9144 from dokku/dependabot/npm_and_yarn/tests/apps/nodejs-express-noprocfile/express-5.3.0
chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/nodejs-express-noprocfile
2026-10-14 01:02:23 -04:00
Jose Diaz-Gonzalez 36d6f886c1 Merge pull request #9143 from dokku/dependabot/npm_and_yarn/tests/apps/nodejs-express-noappjson/express-5.3.0
chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/nodejs-express-noappjson
2026-10-14 01:01:12 -04:00
Jose Diaz-Gonzalez ca5c8edbad Merge pull request #9142 from dokku/dependabot/pip/docs/_build/pymdown-extensions-12.2
chore(deps): bump pymdown-extensions from 12.1 to 12.2 in /docs/_build
2026-10-14 01:01:02 -04:00
Jose Diaz-Gonzalez 4b27c65a09 Merge pull request #9141 from dokku/dependabot/npm_and_yarn/tests/apps/nodejs-express/express-5.3.0
chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/nodejs-express
2026-10-14 01:00:53 -04:00
Jose Diaz-Gonzalez 9f66f1b6ed Merge pull request #9140 from dokku/dependabot/npm_and_yarn/tests/apps/gitsubmodules/express-5.3.0
chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/gitsubmodules
2026-10-14 01:00:45 -04:00
Jose Diaz-Gonzalez 9d2fcedf7f Merge pull request #9139 from dokku/dependabot/docker/tests/apps/dockerfile-release/python-3.15.0rc3-bookworm
chore(deps): bump python from 3.15.0rc2-bookworm to 3.15.0rc3-bookworm in /tests/apps/dockerfile-release
2026-10-14 01:00:36 -04:00
Jose Diaz-Gonzalez d7f92afdd7 Merge pull request #9138 from dokku/dependabot/npm_and_yarn/tests/apps/dockerfile-procfile-bad/express-5.3.0
chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/dockerfile-procfile-bad
2026-10-14 00:58:56 -04:00
Jose Diaz-Gonzalez 05ef9d3049 Merge pull request #9137 from dokku/dependabot/docker/plugins/traefik-vhosts/traefik-v3.7.14
chore(deps): bump traefik from v3.7.13 to v3.7.14 in /plugins/traefik-vhosts
2026-10-14 00:58:43 -04:00
Jose Diaz-Gonzalez b8edca2766 Merge pull request #9136 from dokku/dependabot/docker/plugins/logs/timberio/vector-0.59.0-debian
chore(deps): bump timberio/vector from 0.58.0-debian to 0.59.0-debian in /plugins/logs
2026-10-14 00:58:30 -04:00
Jose Diaz-Gonzalez 5853395631 Merge pull request #9135 from dokku/dependabot/npm_and_yarn/tests/apps/checks-root/express-5.3.0
chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/checks-root
2026-10-14 00:58:21 -04:00
Jose Diaz-Gonzalez 81fbc209f6 Merge pull request #9134 from dokku/dependabot/npm_and_yarn/tests/apps/dockerfile-procfile/express-5.3.0
chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/dockerfile-procfile
2026-10-14 00:58:04 -04:00
Jose Diaz-Gonzalez bdd95078e2 Merge pull request #9133 from dokku/dependabot/npm_and_yarn/tests/apps/dockerfile-app-json-formations/express-5.3.0
chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/dockerfile-app-json-formations
2026-10-14 00:57:54 -04:00
Jose Diaz-Gonzalez a7539a54a0 tests: pass two option words to /bin/echo so GNU echo prints them literally 2026-10-12 13:13:31 -04:00
Jose Diaz-Gonzalez 316dafcb9f tests: add issue #9120 reproduction steps for run over ssh 2026-10-12 13:08:59 -04:00
Jose Diaz-Gonzalez c3a4b79e6e fix: preserve arguments such as --version and -n when running commands over ssh
xargs without a command runs /bin/echo per word, which interprets --version, --help, -n, -e and -E as its own options. Use printf with a NUL delimiter instead.

Closes #9120
2026-10-12 13:08:59 -04:00
Jose Diaz-Gonzalez 80409c7c59 Merge pull request #9131 from dokku/fix-source-image-on-failed-deploy
Keep the git source-image property in sync and harden the deploy lock
2026-10-12 11:53:20 -04:00
Jose Diaz-Gonzalez 11c4e908d5 fix: hold the deploy lock across git-from-directory and harden the advisory lock
git-from-directory updated the deploy branch before taking the deploy
lock and rolled it back after releasing it. The lock is now held for the
whole update, build, and rollback, and the rollback only moves the branch
if it still points at the commit that was created.

A failed lock attempt and apps:lock both truncated the lock file,
dropping the build id of the in-progress deploy that builds:cancel and
builds:output read. Releasing the lock unlocked before removing the
file, so a waiter could end up holding a lock on a deleted file while
another deploy locked a new one. The file is now removed before
unlocking, and acquiring retries when the locked file is no longer the
one at the lock path.
2026-10-11 16:21:13 -04:00
Jose Diaz-Gonzalez d969478ace Merge pull request #9132 from SatvikMishra08/fix-docs-anchors
Fix broken internal anchors and links
2026-10-11 16:15:43 -04:00
Jose Diaz-Gonzalez 7955e8ee06 fix: keep the git source-image property in sync with failed deploys
The source-image property was written before the deploy lock was taken
and was not restored when a deploy failed, so after a rejected
git:from-image or git:load-image it named an image that was not
deployed, and later builds extracted app.json, Procfile, and CHECKS
from it. Deploys from other sources also built while the old image was
still set.

Entry points now pass the desired value via DOKKU_GIT_SOURCE_IMAGE and
git_receive_app applies it while holding the deploy lock, restoring the
previous value on failure. git:sync clears the property under the lock
when it fetches new code.

Closes #9117
2026-10-11 05:08:32 -04:00
Jose Diaz-Gonzalez 5eaab7cc1a Merge pull request #9125 from dokku/chore/bump-herokuish-0.11.19
chore: bump herokuish to 0.11.19
2026-10-11 01:57:20 -04:00
Jose Diaz-Gonzalez edac710876 Merge pull request #9123 from dokku/dependabot/docker/docs/_build/python-3.15.0rc3-alpine
chore(deps): bump python from 3.15.0rc2-alpine to 3.15.0rc3-alpine in /docs/_build
2026-10-09 11:30:19 -04:00
Jose Diaz-Gonzalez 772060e29c Merge pull request #9124 from dokku/dependabot/go_modules/plugins/app-json/go_modules-2059f7bbce
chore(deps): bump golang.org/x/sync in /plugins/common
2026-10-09 11:29:28 -04:00
Jose Diaz-Gonzalez e12191eb26 Merge pull request #9121 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-bc9881a93d
chore(deps): bump github.com/traefik/traefik/v2 in /plugins/scheduler-k3s
2026-10-09 06:08:04 -04:00
Jose Diaz-Gonzalez 08a0e09376 Merge pull request #9119 from fmtappendf/master
Fix some typos in comment
2026-10-08 05:52:47 -04:00
Jose Diaz-Gonzalez 8f78c37bfd Merge pull request #9116 from libredb/add-libredb-studio-plugin
Add LibreDB Studio plugin to community plugin list
2026-10-08 01:27:44 -04:00
Jose Diaz-Gonzalez 72e21eb669 Merge pull request #9118 from dokku/dependabot/pip/docs/_build/zipp-4.1.1
chore(deps): bump zipp from 4.1.0 to 4.1.1 in /docs/_build
2026-10-08 01:27:09 -04:00
Jose Diaz-Gonzalez e2f4a00a3d Merge pull request #9104 from dokku/cron-entries-mailto
Allow cron-entries to set a per-entry MAILTO
2026-10-06 14:50:42 -04:00
Jose Diaz-Gonzalez 538ef9c2fe Merge pull request #9115 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-5.2.18
chore(deps): bump django from 5.2.17 to 5.2.18 in /tests/apps/dockerfile-release
2026-10-06 14:50:20 -04:00
Jose Diaz-Gonzalez c88efc3175 Merge pull request #9114 from dokku/dependabot/pip/docs/_build/markupsafe-3.0.4
chore(deps): bump markupsafe from 3.0.3 to 3.0.4 in /docs/_build
2026-10-06 14:50:08 -04:00
Jose Diaz-Gonzalez 959ce0cfd0 Merge pull request #9113 from dokku/dependabot/npm_and_yarn/tests/apps/multi/npm_and_yarn-501f592bae
chore(deps): bump source-map-js from 1.2.1 to 1.2.2 in /tests/apps/multi in the npm_and_yarn group across 1 directory
2026-10-06 14:49:52 -04:00
Jose Diaz-Gonzalez 912d769b2d Merge pull request #9112 from dokku/dependabot/npm_and_yarn/tests/apps/checks-root/npm_and_yarn-261303d76f
chore(deps): bump proxy-addr from 2.0.7 to 2.0.8 in /tests/apps/checks-root in the npm_and_yarn group across 1 directory
2026-10-06 14:49:41 -04:00
Jose Diaz-Gonzalez ac927fb108 Merge pull request #9111 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-7f3b07c21f
chore(deps): bump sigs.k8s.io/kustomize/api in /plugins/scheduler-k3s
2026-10-06 09:34:52 -04:00
Jose Diaz-Gonzalez 4b6661419e Merge pull request #9110 from dokku/dependabot/npm_and_yarn/tests/apps/multi/sass-1.105.1
chore(deps): bump sass from 1.105.0 to 1.105.1 in /tests/apps/multi
2026-10-06 09:34:44 -04:00
Jose Diaz-Gonzalez 8f83865473 Merge pull request #9109 from dokku/dependabot/composer/tests/apps/php/monolog/monolog-3.12.1
chore(deps): bump monolog/monolog from 3.12.0 to 3.12.1 in /tests/apps/php
2026-10-06 09:34:35 -04:00
Jose Diaz-Gonzalez e7809be4f1 Merge pull request #9106 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-3.1.9
chore(deps): bump werkzeug from 3.1.8 to 3.1.9 in /tests/apps/python-flask
2026-10-01 15:05:52 -04:00
Jose Diaz-Gonzalez c776fbc7a4 test: expect the global MAILTO reset in cron-3 2026-09-30 21:40:31 -04:00
Jose Diaz-Gonzalez b158f482ef fix: reset MAILTO after a cron entry that sets its own
A task with its own `MAILTO` is now written in place, followed by a line resetting `MAILTO` to the global value, or to the `dokku` user when none is set, rather than grouped at the end of the crontab, so no other task is mailed to its recipient whatever order the tasks are written in.
2026-09-30 17:47:27 -04:00
Jose Diaz-Gonzalez f91b1f7fc7 feat: allow cron-entries to set a per-entry MAILTO
The `cron-entries` trigger is now passed `json` as a second argument, and plugins may print each task as a json object on its own line. A task that sets a `mailto` is written to the crontab under a `MAILTO` of its own, and its output is mailed to that address as well as appended to its log file, so plugins such as the datastore plugins can have the output of a specific scheduled task mailed to a specific person.
2026-09-30 17:01:25 -04:00
Jose Diaz-Gonzalez 33b70abbf1 Merge pull request #9102 from dokku/missing-nginx-vhosts
fix: allow enabling nginx-vhosts when skipped at install
2026-09-29 23:59:59 -04:00
Jose Diaz-Gonzalez 3e169da82e Merge pull request #9099 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-d00644249a
chore(deps): bump k8s.io/kubernetes in /plugins/scheduler-k3s
2026-09-29 23:59:42 -04:00
Jose Diaz-Gonzalez 426bc66dda Merge pull request #9098 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-b5441563e5
chore(deps): bump k8s.io/kubectl in /plugins/scheduler-k3s
2026-09-29 12:53:31 -04:00
Jose Diaz-Gonzalez 0f585c4da3 Merge pull request #9094 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-9565fdf77d
chore(deps): bump github.com/kedacore/keda/v2 in /plugins/scheduler-k3s
2026-09-29 12:50:31 -04:00
Jose Diaz-Gonzalez cc0c870bfd Merge pull request #9090 from dokku/dependabot/pip/docs/_build/soupsieve-2.10
chore(deps): bump soupsieve from 2.9.2 to 2.10 in /docs/_build
2026-09-29 12:32:49 -04:00
Jose Diaz-Gonzalez 3c2faeeab5 Merge pull request #9093 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-2c6e7bca54
chore(deps): bump github.com/go-openapi/jsonpointer in /plugins/scheduler-k3s
2026-09-29 12:31:17 -04:00
Jose Diaz-Gonzalez f87cf88e48 Merge pull request #9101 from dokku/dependabot/docker/plugins/openresty-vhosts/dokku/openresty-docker-proxy-0.13.0
chore(deps): bump dokku/openresty-docker-proxy from 0.12.1 to 0.13.0 in /plugins/openresty-vhosts
2026-09-29 12:29:34 -04:00
Jose Diaz-Gonzalez e5f210a86c Merge pull request #9092 from dokku/dependabot/go_modules/plugins/buildpacks/go_modules-e0535c3d97
chore(deps): bump github.com/onsi/gomega in /plugins/buildpacks
2026-09-29 12:29:07 -04:00
Jose Diaz-Gonzalez 7f5abe60e7 Merge pull request #9100 from dokku/chore/bump-herokuish-0.11.18
chore: bump herokuish to 0.11.18
2026-09-29 12:28:58 -04:00
Jose Diaz-Gonzalez d81668477a Merge pull request #9097 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-ec91e5118f
chore(deps): bump k8s.io/client-go in /plugins/scheduler-k3s
2026-09-29 12:28:23 -04:00
Jose Diaz-Gonzalez 6419019e5d Merge pull request #9091 from dokku/dependabot/npm_and_yarn/tests/apps/multi/sass-1.105.0
chore(deps): bump sass from 1.104.1 to 1.105.0 in /tests/apps/multi
2026-09-29 12:27:21 -04:00
Jose Diaz-Gonzalez 2a9aa6246f Merge pull request #9089 from dokku/dependabot/pip/docs/_build/pymdown-extensions-12.1
chore(deps): bump pymdown-extensions from 12.0.1 to 12.1 in /docs/_build
2026-09-29 12:27:09 -04:00
Jose Diaz-Gonzalez b81bb7d468 Merge pull request #9088 from dokku/dependabot/pip/docs/_build/markdown-gte-3.11-and-lt-3.12
chore(deps): update markdown requirement from <3.11,>=3.10.3 to >=3.11,<3.12 in /docs/_build
2026-09-29 12:27:03 -04:00
Jose Diaz-Gonzalez 46776fa87c fix: allow enabling nginx-vhosts when skipped at install
Installing with the `dokku/nginx_enable` debconf option set to `false` left the nginx-vhosts plugin disabled with no way to turn it back on, as `dokku plugin:enable nginx-vhosts` reported that the plugin does not exist. The plugin can now be enabled after installation, and the debconf documentation explains the option's effect and how to reverse it.
2026-09-29 12:11:17 -04:00
Jose Diaz-Gonzalez b61a5784e6 Merge pull request #9086 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-297
chore(deps-dev): bump heroku/heroku-buildpack-php from 295 to 297 in /tests/apps/php
2026-09-28 10:22:07 -04:00
Jose Diaz-Gonzalez 5ab0d3c67d Merge pull request #9084 from dokku/k3s-node-sysctls-image-global-report
Report stored node-sysctls images globally
2026-09-26 03:09:11 -04:00
Jose Diaz-Gonzalez 7a0404a2ec fix: report stored node-sysctls images globally
The `--scheduler-k3s-global-node-sysctls-image` and `--scheduler-k3s-global-node-sysctls-pause-image` report flags returned the built-in default when nothing was stored, so an unset image could not be told apart from one set to the default. They now report the stored value like every other global flag, and new `--scheduler-k3s-computed-node-sysctls-image` and `--scheduler-k3s-computed-node-sysctls-pause-image` flags report the image that is actually used.
2026-09-26 01:14:15 -04:00
Jose Diaz-Gonzalez 1cc56e555d Merge pull request #9082 from dokku/verify-git-app-access
Verify existing apps in git commands
2026-09-25 22:48:41 -04:00
Jose Diaz-Gonzalez 8802ae69b4 fix: verify existing apps in git commands 2026-09-25 21:20:21 -04:00
Jose Diaz-Gonzalez 3796c666d1 Merge pull request #9081 from dokku/run-logs-args
fix: validate run:logs arguments
2026-09-25 18:05:11 -04:00
Jose Diaz-Gonzalez 9294aafcbf Merge pull request #9080 from dokku/apps-create-existing-dir
Check app directory when creating a new app
2026-09-25 17:54:16 -04:00
Jose Diaz-Gonzalez c1b12a9fd5 Merge pull request #9079 from dokku/validate-app-name-args
fix: validate app name in app-scoped commands
2026-09-25 17:53:55 -04:00
Jose Diaz-Gonzalez 1516f84cee fix: validate run:logs arguments 2026-09-24 18:43:50 -04:00
Jose Diaz-Gonzalez 1058e1f5ad fix: check app directory when creating a new app 2026-09-24 18:25:56 -04:00
Jose Diaz-Gonzalez a4484d354b fix: validate app name in app-scoped commands 2026-09-24 18:14:53 -04:00
Jose Diaz-Gonzalez 114c6115b9 Merge pull request #9078 from dokku/dependabot/pip/docs/_build/pyparsing-3.3.3
chore(deps): bump pyparsing from 3.3.2 to 3.3.3 in /docs/_build
2026-09-24 16:53:14 -04:00
Jose Diaz-Gonzalez 8f768f0af1 Merge pull request #9077 from dokku/properly-pass-procfile-arguments
Respect quoting in procfile commands and remove support for bare shell operators
2026-09-24 16:50:07 -04:00
Jose Diaz-Gonzalez 1f8a814047 fix: respect quoting in procfile commands
Procfile commands for the `docker-local` scheduler were split differently on deploy and on `dokku run`. Deploys failed on escaped quotes, and `dokku run` ignored quotes entirely. Both now split commands using shell quoting rules, and commands containing bare shell operators fail with a clear error, matching the `k3s` scheduler.
2026-09-24 01:24:27 -04:00
Jose Diaz-Gonzalez 92afa386d1 Merge pull request #9076 from dokku/validate-app-json-healthchecks
Validate app.json healthcheck path and scheme
2026-09-24 00:45:33 -04:00
Jose Diaz-Gonzalez db42d0a039 fix: validate app.json healthcheck path and scheme 2026-09-23 23:12:58 -04:00
Jose Diaz-Gonzalez 5dd9111d44 Merge pull request #9074 from dokku/9072-allow-storage-mount-replace-to-vary-mount-time-fields-per-mount
Allow storage:mount --replace to vary fields per mount
2026-09-23 04:02:02 -04:00
Jose Diaz-Gonzalez 2c0689e833 Merge pull request #9075 from dokku/9073-expose-each-node-sysctls-scope-s-stored-map-in-the-report
Report each node-sysctls scope's stored map
2026-09-23 04:01:57 -04:00
Jose Diaz-Gonzalez 551c6b1c43 feat: report each node-sysctls scope's stored map
`scheduler-k3s:node-sysctls:report` renders each scope's resolved set, so a profile's entry carries every globally-set sysctl underneath its own and there is no way to read back the map the profile itself stores. Since `node-sysctls:set --replace --profile` and `node-sysctls:clear --profile` write only that map, a tool converging a profile against a declared map sees permanent drift. The new `--stored` flag reports the map each scope owns, and `--global` and `--profile` narrow the report to a single scope. The default output is unchanged.
2026-09-23 02:09:33 -04:00
Jose Diaz-Gonzalez 8dfd843585 Merge pull request #9071 from dokku/dependabot/go_modules/tests/apps/gogrpc/google.golang.org/grpc-1.84.0
chore(deps): bump google.golang.org/grpc from 1.83.2 to 1.84.0 in /tests/apps/gogrpc
2026-09-23 01:14:13 -04:00
Jose Diaz-Gonzalez bf26539949 feat: allow storage:mount --replace to vary fields per mount
`storage:mount --replace` writes one process type's whole attachment set in a single call, but only part of an attachment could vary between the mounts in that call: each mount carried its own `ro` and Docker mount options while `--phase`, `--volume-subpath` and `--volume-chown` were fixed for the whole call, so an app whose mounts differ only in subpath still needed one call per mount, which is the non-atomic convergence `--replace` exists to remove. Each mount's option list now also carries `phase=`, `volume-subpath=` and `volume-chown=` tokens alongside `ro`, its new opposite `rw` and the Docker options it already passed through, and so that each attribute has exactly one spelling the five matching flags are now rejected with `--replace` - one of which, `--volume-options`, was previously accepted and silently dropped. `--process-type` still scopes the whole call, since it selects which mounts the call is authoritative over rather than describing any one of them. Every mount is parsed and validated before anything is written, so a rejected token leaves the stored mounts untouched. The documentation added for `--replace` was also marked as new in 0.38.28 in four places, but it shipped in 0.38.29.
2026-09-23 01:10:49 -04:00
Jose Diaz-Gonzalez cb875180ee Merge pull request #9064 from dokku/dependabot/go_modules/plugins/common/github.com/onsi/gomega-1.43.1
chore: group gomod dependabot updates across all plugins
2026-09-22 19:52:56 -04:00
Jose Diaz-Gonzalez d5eccf508b Merge pull request #9070 from s01ipsist/docs-ubuntu-26.04
Document Ubuntu 26.04 as a supported installation target
2026-09-22 19:52:47 -04:00
Jose Diaz-Gonzalez 4a830e6d1b fix: align scheduler-k3s env parsing with the config plugin
A pin added in March 2024 held godotenv at `v1.2.0` to keep a parser change from reaching users, but it lives in the scheduler-k3s manifest while plugins build with the workspace disabled, so it never applied to the config plugin it was meant to protect and that plugin moved to `v1.5.1` in April 2026. All it did was leave the scheduler-k3s binary reading ENV files differently from every other plugin, and hide the difference from the test suite, which runs through the workspace where the pin does apply.
2026-09-22 16:26:36 -04:00
Jose Diaz-Gonzalez 592db7a68c chore: drop trailing newline from ps help content
The ps help text was the only one of the nineteen plugin help constants to end in a newline, which made `go vet` reject the `fmt.Println` that prints it. The help dispatcher strips the blank line before it reaches anyone, so the rendered output is unchanged.
2026-09-22 16:14:13 -04:00
Jose Diaz-Gonzalez 47de42cd79 fix: recover config from unparseable ENV file entries
An ENV file holding an entry the parser rejects made every config read for that app fail outright, so the existing recovery that drops invalid keys and rewrites the file never had a chance to run. This went unnoticed because two environment test fixtures had gone stale against parser leniency that no longer exists, and the module manifest was out of date enough that its tests refused to run at all.
2026-09-22 15:59:25 -04:00
Jose Diaz-Gonzalez 86e96f0946 chore: sync go module versions across plugin workspace
Plugin modules had drifted apart over time, leaving `github.com/onsi/gomega` pinned at `v1.43.0` in two plugins and `v1.43.1` in three others, with similar splits across a number of indirect dependencies. The `config` and `storage` plugins also carried manifests that were out of date enough that their Go tests refused to run, and the `builds` plugin was missing from the workspace entirely.
2026-09-22 15:42:47 -04:00
Jose Diaz-Gonzalez 6a10632fe0 chore: group gomod dependabot updates across all plugins
Dependabot opened a separate pull request per plugin directory, so bumping a dependency shared across plugins produced up to twenty pull requests that could be reviewed and merged out of step with each other. Updates are now grouped by dependency name across every plugin module, which also brings in the seventeen modules that previously had no coverage at all.
2026-09-22 15:42:39 -04:00
Jose Diaz-Gonzalez 867481a642 Merge pull request #9069 from dokku/9059-storage-attachment-process-types-are-recorded-but-not-honored-at-deploy-time
Honor storage attachment process types at deploy time
2026-09-22 15:09:57 -04:00
Jose Diaz-Gonzalez 17cf249f2e fix: fail deploy tasks when a docker-args trigger fails
The ephemeral containers that run `app.json` deploy tasks ignored a failure from the `docker-args-deploy` and `docker-args-process-deploy` triggers, so a plugin refusing to describe the container produced a task that ran without the arguments it had asked for, while the very same failure aborted the deploy moments later on the scheduler's own path. Both are now fatal, which the trigger documentation states. Storage no longer reports a scheduler mismatch for an app deploying with another scheduler, since those triggers are fired for every app whatever its scheduler and a k3s app's volumes are mounted by k3s rather than bound into a container here.
2026-09-21 23:35:28 -04:00
Jose Diaz-Gonzalez 14bdc1b2bd fix: declare one k3s pod volume per storage entry
Mounting one storage entry at two container paths named the same pod volume twice, which Kubernetes rejects as a duplicate, so the chart never applied even though the k3s documentation offers mounting a claim "into the same app at multiple subpaths" as a supported shape. A pod now declares each entry once and binds it at each path it was mounted at. Rendering the chart in a test also surfaced that a cron schedule was emitted unquoted, so any schedule beginning with `*` produced a manifest that could not be parsed at all.
2026-09-21 23:35:25 -04:00
Jose Diaz-Gonzalez a1f92de930 Merge pull request #9066 from dokku/dependabot/go_modules/plugins/buildpacks/github.com/onsi/gomega-1.43.1
chore(deps): bump github.com/onsi/gomega from 1.43.0 to 1.43.1 in /plugins/buildpacks
2026-09-21 23:20:44 -04:00
Jose Diaz-Gonzalez 6ac6c4121a Merge pull request #9067 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/fluxcd/pkg/kustomize-1.41.0
chore(deps): bump github.com/fluxcd/pkg/kustomize from 1.40.0 to 1.41.0 in /plugins/scheduler-k3s
2026-09-21 23:19:48 -04:00
Jose Diaz-Gonzalez 27b52bdb4f Merge pull request #9063 from dokku/dependabot/pip/docs/_build/pymdown-extensions-12.0.1
chore(deps): bump pymdown-extensions from 12.0 to 12.0.1 in /docs/_build
2026-09-21 23:19:32 -04:00
Jose Diaz-Gonzalez 6a557e5f5b Merge pull request #9068 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/onsi/gomega-1.43.1
chore(deps): bump github.com/onsi/gomega from 1.43.0 to 1.43.1 in /plugins/scheduler-k3s
2026-09-21 23:19:24 -04:00
Jose Diaz-Gonzalez b612285392 fix: honor storage attachment process types at deploy time
An attachment's process type was recorded, reported and used to scope `storage:mount --replace` and `storage:unmount --all`, but nothing read it when the volume was actually mounted, so `storage:mount <app> <entry> --container-dir <path> --process-type web` bound the volume into every process rather than only `web`. Both schedulers now scope a mount to the process type it was declared for, and containers that belong to no process type - a `dokku run` one-off, an `app.json` deploy task, a k3s cron job - receive default-scoped mounts only. A container path can now be claimed by a single mount per process type, and `storage:migrate` drains process-scoped `-v` lines out of `docker-options` rather than only the default-scoped ones.
2026-09-21 18:08:42 -04:00
Jose Diaz-Gonzalez e00e939f25 Merge pull request #9060 from dokku/9044-global-flags-are-dropped-on-sudo-rs-sudo-e-preserves-nothing
Preserve global flags when sudo is sudo-rs
2026-09-20 18:41:39 -04:00