Commit Graph
100 Commits
Author SHA1 Message Date
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 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
Jose Diaz-Gonzalez 6f938dd12b fix: assert the forwarded set, not a sample variable
The test used `DOKKU_IMAGE` as a variable that does not cross the privilege drop, which stopped being true once every environment-overridable variable was forwarded. It now reads the `--preserve-env` argument itself, so it tests the contract rather than one member of the list.
2026-09-20 17:31:56 -04:00
Jose Diaz-Gonzalez 63e4b92a52 fix: forward every environment-overridable dokku variable
`DOKKU_INIT_SYSTEM` reaches the `dokku` user only through the environment while the Docker image is being built, so narrowing the forwarded set left `nginx:reload` taking the systemd branch during `debian/postinst` and blocking on a sudo password prompt until the build timed out. The forwarded set now covers every variable `dokku` honours from the environment, and `DOKKU_PRESERVE_ENV` still carries anything beyond it.
2026-09-20 16:25:34 -04:00
Jose Diaz-Gonzalez 6b1b7bc6f6 fix: preserve global flags when sudo is sudo-rs
`sudo-rs`, the default sudo on Ubuntu 25.10 and later, does not support preserving the entire environment, so `--quiet`, `--trace`, `--force` and `--app` stopped taking effect once `dokku` re-executed itself as the `dokku` user, and a warning was printed on every invocation. Variables outside the set dokku forwards no longer cross that boundary and can be named in `DOKKU_PRESERVE_ENV` instead.
2026-09-20 04:11:15 -04:00
Jose Diaz-Gonzalez c04e74c668 Merge pull request #9058 from dokku/8991-add-a-whole-set-form-for-an-app-s-storage-attachments
Add a whole-set form for an app's storage mounts
2026-09-20 04:09:37 -04:00
Jose Diaz-Gonzalez d5b2e699f2 Merge pull request #9062 from dokku/explicit-datastore-destroy-force
Pass force to the datastore command that owns it
2026-09-20 04:09:03 -04:00
Jose Diaz-Gonzalez 0ed3467954 Merge pull request #9061 from dokku/fix-datastore-create-arguments
Call the datastore create command the way it is documented
2026-09-20 04:08:40 -04:00
Jose Diaz-Gonzalez 11b09fb375 fix: pass force to the datastore command that owns it
The datastore destroys were written with dokku's global `--force`, which works only because dokku translates it into `DOKKU_APPS_FORCE_DELETE` and the plugin reads that environment variable back. The flag belongs to the subcommand, which declares it, so it is passed there instead.

Only the datastore calls move. `network:destroy` and `storage:destroy` are dokku's own commands and keep dokku's own convention.
2026-09-20 02:58:02 -04:00
Jose Diaz-Gonzalez 57bbe917b0 fix: call the datastore create command the way it is documented
The ports and app-json tests passed the app name to `postgres:create` and `redis:create` a second time, as a positional the command has never taken. The bash datastore plugins parsed their arguments with getopts and simply stopped at it; those plugins now dispatch to a binary that reports the count instead, so every dokku pull request fails on `This command requires 2 arguments, 3 arguments given`.

The documented form takes the service alone, as `docs/deployment/application-deployment.md` shows. The `:link` and `:unlink` calls beside these are unchanged, since those do take two.
2026-09-20 02:53:32 -04:00
Jose Diaz-Gonzalez 1d0985428a feat: add a whole-set form for an app's storage mounts
The `storage` plugin mounted and unmounted one attachment at a time, so matching an app's mounts to a declared set meant reading `storage:list`, computing the difference in both directions and issuing one `storage:mount` or `storage:unmount` per addition and removal, with a failure partway through leaving the app holding a mixture of the two sets.

A `--replace` flag on `storage:mount` now writes the declared set in a single call, taking `name:container-dir` pairs whose optional third field carries the same mount options the legacy colon form accepts. Every pair is parsed and validated before anything is written, so a rejected pair leaves the stored mounts untouched. The remaining mount-time flags scope the whole call the way `--process-type` already scoped a single mount, which means an omitted `--process-type` replaces the `_default_` scope and leaves mounts scoped to a named process type in place.

An empty pair list is rejected rather than treated as a request to unmount everything, so a generated list that expands to nothing cannot silently drop an app's storage. `storage:unmount --all` handles that case instead, taking an optional `--process-type` filter and treating a scope that matches nothing as a no-op so it stays idempotent.

`storage:unmount` also accepts more than one mount at a time, naming each by entry name or by the colon form, and resolves every argument against the app's attachments before removing any of them.

The help listing now carries one entry per subcommand with its flags inline rather than a row per variant, and the command listing at the top of the storage documentation matches it line for line. Folding those rows together also surfaced `--global` on `storage:report` and `storage:migrate`, neither of which both listings had mentioned.

Finally, `--volume-chown` is now validated on mount, where a typo previously exited zero and wrote a value that only the report ever read.
2026-09-20 01:06:14 -04:00
Jose Diaz-Gonzalez f36512a19d Merge pull request #9055 from dokku/9037-nginx-conf-sigil-pre-validation-chowns-proxy-cache-path-directories-to-nobody-breaking-the-running-nginx-for-the-whole-build
Validate nginx templates as the running nginx user
2026-09-19 21:20:56 -04:00
Jose Diaz-Gonzalez b9b10e9593 Merge pull request #9057 from dokku/8993-add-a-way-to-read-back-registry-login-state
Add a way to read back registry login state
2026-09-19 21:13:05 -04:00
Jose Diaz-Gonzalez 624eea1959 feat: add registry:auth-status to read back login state
There was no way to ask whether Dokku was already logged in to a registry with a given credential, so tooling converging a declared state onto a server had to re-run `registry:login` on every pass purely to discover that nothing needed to change. The new `registry:auth-status` command compares a supplied credential against the stored one and reports the result through its exit code alone, distinguishing a server with no credential from one whose credential differs, and from one whose secret a docker credential helper or an identity token puts out of reach. An `auth-servers` triad on `registry:report` exposes which servers have credentials without emitting any part of one.
2026-09-19 19:19:57 -04:00
Jose Diaz-Gonzalez 2e3d144aca fix: erase the docker hub credential on registry:logout
Docker stores Docker Hub under the index server address rather than the hostname the user logged in with, and `docker logout` only erases the exact key it is given, so `registry:logout docker.io` reported success while leaving the credential in place. The server is now resolved to the key docker actually stores before the logout runs.
2026-09-19 18:56:46 -04:00
Jose Diaz-Gonzalez a4f791b85d Merge pull request #9054 from dokku/9053-scheduler-k3s-ensure-charts-ignores-the-pinned-chart-version-when-upgrading-an-existing-release
Honor the pinned chart version when upgrading
2026-09-19 10:19:41 -04:00
Jose Diaz-Gonzalez 3423779f0f fix: validate nginx templates as the running nginx user
The wrapper config used to run `nginx -t` against an app's rendered `nginx.conf` declared no `user` directive, so nginx fell back to its compile-time default and chowned every `proxy_cache_path` directory to that user, including directories that already existed. On Debian and Ubuntu that default is `nobody`, so deploying an app shipping a custom `nginx.conf.sigil` took the running server's live cache directory away for the length of the build and turned every request the cache would serve into an HTTP 500, healing only once the deploy's own reload restored the ownership. The wrapper now declares the same `user` as the host's main nginx config, which is also exposed to custom `validate-config` templates as `$.NGINX_USER`.
2026-09-19 10:06:35 -04:00
Jose Diaz-Gonzalez 47f1ca90a9 fix: give helm a scratch directory instead of $HOME
Helm resolves its cache, config and data homes from `$HOME`, but dokku runs `scheduler-k3s:initialize` as root and every other subcommand as the dokku user, so those paths are not always readable by the user a command ends up as. Helm treats a repositories file it cannot read as a fatal error rather than an absent one, which made chart resolution fail outright even though dokku never reads an entry from that file. Each call now points helm at a private scratch directory that is removed once the chart has been located.
2026-09-18 17:45:43 -04:00
Jose Diaz-Gonzalez 39c4843f4c Merge pull request #9052 from dokku/dependabot/pip/docs/_build/pymdown-extensions-12.0
chore(deps): bump pymdown-extensions from 11.0.2 to 12.0 in /docs/_build
2026-09-18 15:55:00 -04:00
Jose Diaz-Gonzalez cf5487c2df fix: honor the pinned chart version when upgrading
`scheduler-k3s:ensure-charts` announced the pinned chart version but installed whatever the chart repository had published most recently, and an affected cluster could not be brought back in line because a version mismatch was reported and then skipped. Charts now install at the version dokku pins, and a release that has drifted is reconciled back to it. Dokku also no longer registers helm repositories it never read, and the previously undocumented `ensure-charts` and `initialize` flags now appear in the help output.
2026-09-18 15:41:17 -04:00
Jose Diaz-Gonzalez b5ca1cd44d Merge pull request #9051 from dokku/8990-add-a-whole-set-form-for-scheduler-k3s-annotations-and-labels
feat: add a whole-set form for scheduler-k3s metadata
2026-09-18 14:58:18 -04:00
Jose Diaz-Gonzalez c37a71b90b feat: add a whole-set form for scheduler-k3s metadata
The `scheduler-k3s` metadata commands were all per-key, so matching an app's stored annotations, labels or node sysctls to a declared set meant reading the report, computing the difference in both directions and issuing one command per added, changed and removed key, with a failure partway through leaving a mixture of the two sets. A `--replace` flag on `annotations:set`, `labels:set`, `node-sysctls:set` and `autoscaling-auth:set` now writes the declared map in a single call, taking trailing `key=value` pairs everywhere except `autoscaling-auth:set`, which keeps its repeatable `--metadata` flag. Every pair is parsed before anything is written, so a rejected pair leaves the stored map untouched, and a pair ending in `=` stores an empty value, which the per-key form cannot express. An empty pair list is rejected rather than treated as a request to remove everything, so a generated list that expands to nothing cannot silently drop an app's metadata; `annotations:clear`, `labels:clear` and `node-sysctls:clear` handle that case, taking the same optional filters as their report commands. The `--resource-type` flag and the app name are now validated on the set commands as well, where a typo previously exited zero and wrote a property that no report and no deploy ever read.
2026-09-18 05:14:51 -04:00
Jose Diaz-Gonzalez 55ffe6809b Merge pull request #9011 from visheshgubrani/scheduler-k3s-run-exit-code
Propagate command exit code on dokku run
2026-09-18 04:08:45 -04:00
Jose Diaz-Gonzalez be4689e771 Merge pull request #9049 from dokku/9043-config-set-reports-success-even-when-writing-the-env-file-fails
Report config write failures instead of exiting 0
2026-09-18 04:08:19 -04:00
Jose Diaz-Gonzalez 7dd0fd512e Merge pull request #9050 from dokku/9048-ps-scale-accepts-a-negative-process-count
Reject negative process counts when scaling
2026-09-18 04:07:24 -04:00
Jose Diaz-Gonzalez ffa2991abf fix: reject negative process counts when scaling
A process count below zero was accepted and stored verbatim, leaving the scheduler to reject the value long after the command reported success. Counts below zero are now rejected, as are process tuples that omit a process type, across `ps:scale`, the `ps-set-scale` trigger and the `formation` key of `app.json`. A negative count persisted by an earlier version stays readable so it can be corrected with `ps:scale`.
2026-09-18 02:50:34 -04:00
Jose Diaz-Gonzalez 8f10058929 docs: drop the config write failure migration entry 2026-09-18 01:22:42 -04:00
Jose Diaz-Gonzalez e715944c86 fix: isolate config tests from the host dokku installation
The config tests wrote to the real `DOKKU_ROOT` and `DOKKU_LIB_ROOT`, including the global `ENV` file, and relied on a `dokku` user and group existing. That held only because the result of applying ownership was discarded; now that it is reported, the tests failed under `ci-go-coverage`, which runs them in a build image that has no `dokku` user. They now use the temporary directories and current-user ownership the migration tests already use.
2026-09-18 01:05:35 -04:00
Jose Diaz-Gonzalez 0c3ae47299 fix: report config write failures instead of exiting 0
`config:set`, `config:unset` and `config:clear` discarded the result of writing the app's environment, so a write that never landed still printed `Setting config vars`, still fired the `post-config-update` trigger, still restarted the app and still exited 0. The `config-set` and `config-unset` plugin triggers behaved the same way, which meant an `app.json` `env` block that could not be persisted deployed anyway with the variables missing. The environment is now staged in a temporary file and renamed into place, so a write that fails partway leaves the previous environment intact, and that file is created at `0600` rather than being created at `0644` and chmodded afterwards. `apps:clone` and `apps:rename` never applied that chmod at all and left the new app's environment world-readable.
2026-09-18 00:36:38 -04:00
Jose Diaz-Gonzalez 8376be14fe Merge pull request #9047 from dokku/josegonzalez-patch-1
Release dokku on resolute
2026-09-17 17:31:33 -04:00
Jose Diaz-Gonzalez bb6aa15475 feat: release dokku on resolute 2026-09-17 17:30:36 -04:00
Jose Diaz-Gonzalez a33469bfa4 Merge pull request #8791 from akhil-naidu/8768-ubuntu-2604-support
Add Ubuntu 26.04 LTS to bootstrap supported versions
2026-09-17 17:25:07 -04:00
Jose Diaz-Gonzalez 1ab7095016 Merge pull request #9033 from mvysny/fix/git-sync-build-record-leak
Discard the build record git:sync starts when nothing is built
2026-09-17 17:24:09 -04:00
Jose Diaz-Gonzalez 1632a40ce7 Merge pull request #9035 from vulragrag-star/fix/builds-output-validate-id
Fix builds:output exiting 0 for unknown build ids
2026-09-16 17:54:28 -04:00
Jose Diaz-Gonzalez 5ed0b2c706 Merge pull request #9046 from dokku/dependabot/docker/tests/apps/dockerfile-entrypoint/ruby-4.0.7
chore(deps): bump ruby from 4.0.6 to 4.0.7 in /tests/apps/dockerfile-entrypoint
2026-09-16 12:56:55 -04:00
Jose Diaz-Gonzalez a71de2de4d Merge pull request #9036 from meteozond/add-dokku-generic-plugin
Add dokku-generic to community plugins
2026-09-15 13:33:44 -04:00
Jose Diaz-Gonzalez 6cb6c56b0e Merge pull request #9045 from dokku/dependabot/npm_and_yarn/tests/apps/multi/sass-1.104.1
chore(deps): bump sass from 1.104.0 to 1.104.1 in /tests/apps/multi
2026-09-15 13:33:18 -04:00
Jose Diaz-Gonzalez 3f38478dca Merge pull request #9010 from visheshgubrani/8994-storage-mount-scheduler-mismatch
Reject scheduler mismatch at mount time
2026-09-14 23:26:04 -04:00
Jose Diaz-Gonzalez 7e240a19bd Merge pull request #9027 from dokku/dependabot/go_modules/plugins/docker-options/mvdan.cc/sh/v3-3.14.1
chore(deps): bump mvdan.cc/sh/v3 from 3.14.0 to 3.14.1 in /plugins/docker-options
2026-09-14 23:25:20 -04:00
Jose Diaz-Gonzalez 98ab3debe0 chore: bump go modules 2026-09-14 22:41:44 -04:00
Jose Diaz-Gonzalez 889b581ff5 Merge pull request #9039 from dokku/dependabot/go_modules/plugins/common/golang.org/x/crypto-0.57.0
chore(deps): bump golang.org/x/crypto from 0.56.0 to 0.57.0 in /plugins/common
2026-09-14 22:40:58 -04:00
Jose Diaz-Gonzalez 2df1b1f38e chore: bump go modules 2026-09-14 22:17:24 -04:00
Jose Diaz-Gonzalez 61ff696e00 Merge pull request #9041 from dokku/dependabot/go_modules/plugins/scheduler-k3s/helm.sh/helm/v3-3.22.0
chore(deps): bump helm.sh/helm/v3 from 3.21.4 to 3.22.0 in /plugins/scheduler-k3s
2026-09-14 11:41:34 -04:00
Jose Diaz-Gonzalez 77e121b8d6 Merge pull request #9032 from dokku/dependabot/pip/tests/apps/dockerfile-release/djangorestframework-3.18.1
chore(deps): bump djangorestframework from 3.18.0 to 3.18.1 in /tests/apps/dockerfile-release
2026-09-14 11:41:14 -04:00
Jose Diaz-Gonzalez 292d67387d Merge pull request #9038 from dokku/dependabot/composer/tests/apps/php/monolog/monolog-3.12.0
chore(deps): bump monolog/monolog from 3.11.0 to 3.12.0 in /tests/apps/php
2026-09-14 11:40:44 -04:00
Jose Diaz-Gonzalez 389dbefca0 Merge pull request #9042 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/cert-manager/cert-manager-1.21.2
chore(deps): bump github.com/cert-manager/cert-manager from 1.21.1 to 1.21.2 in /plugins/scheduler-k3s
2026-09-14 11:40:15 -04:00
Jose Diaz-Gonzalez 31b1fd3901 Merge pull request #9040 from dokku/dependabot/pip/tests/apps/dockerfile-release/psycopg2-binary-2.9.13
chore(deps): bump psycopg2-binary from 2.9.12 to 2.9.13 in /tests/apps/dockerfile-release
2026-09-14 11:39:47 -04:00
Jose Diaz-Gonzalez d54bc4cb02 Merge pull request #9028 from dokku/dependabot/go_modules/plugins/cron/mvdan.cc/sh/v3-3.14.1
chore(deps): bump mvdan.cc/sh/v3 from 3.14.0 to 3.14.1 in /plugins/cron
2026-09-13 23:56:19 -04:00
Jose Diaz-Gonzalez b7b8d7f9fa Merge branch 'master' into dependabot/go_modules/plugins/cron/mvdan.cc/sh/v3-3.14.1 2026-09-10 16:50:59 -04:00
Jose Diaz-Gonzalez aa39920cc7 Merge pull request #9023 from dokku/dependabot/go_modules/plugins/common/golang.org/x/sync-0.23.0
chore(deps): bump golang.org/x/sync from 0.22.0 to 0.23.0 in /plugins/common
2026-09-10 16:50:34 -04:00