Commit Graph
14747 Commits
Author SHA1 Message Date
Jose Diaz-Gonzalez 5dce07ca7e fix: drop shell-quoted body grep and add docker label diagnostic
The retry loop in T3 fed the response body through `bash -c "grep <<<\"$body\""`. When the body contains JSON env vars with embedded double quotes (PS1, paths with `$`, etc.), the inner `"$body"` terminates the outer `bash -c "..."` quoting prematurely and bash tries to execute the JSON content as commands. grep itself returns 0 but the subsequent error messages get appended to bats's `$output`, breaking `assert_output "0"`. Each T3 now curls into a file and greps the file directly, so the body never crosses a shell-quote boundary. Each label-based backend file additionally echoes `docker inspect <app>.api.1 --format '{{json .Config.Labels}}'` after `ps:rebuild`, surfacing the actual labels emitted onto the api container so the CI log shows whether the docker-args-process-deploy emission matches what the proxy daemon expects. A 5s sleep after rebuild gives the proxy daemon time to read the new labels before the HTTP retry loop starts.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 6dbd9b4d82 fix: make T3 route-removal assertions robust to reload race
T3 in every per-backend file polled the post-removal HTTP response using assert_http_localhost_response_contains, which retries on status code only. After a route is removed, both api and web return 200 for /api/v0/Procfile so the polling exits immediately; the body check then races with the proxy daemon picking up the new state and observes api's response (Procfile content) instead of web's catch-all. The proxy:route:remove output was also unechoed, hiding whether BuildConfig actually fired or was no-op suppressed. Each T3 now echoes the remove output and status, asserts via proxy:route:report that storage was cleared, then polls the body in a hand-rolled retry loop until the api marker is no longer present (timeout 30s). The k3s T3 files similarly retry the kubectl probe so the chart re-render has time to settle.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 40e13b5f13 fix: address PR review feedback on per-backend route tests
T1 of every per-backend test file asserted 200 with the api Procfile body for a request that lacks --strip-prefix, but without the strip the upstream sees /api/v0/Procfile and python's http.server returns 404; the retry loop polled on status only and accepted web's catch-all 200 first. The assertion now expects 404, which is the right signal that the route reaches the api process. T3 was rewritten to follow T2's two-step pattern (404 without strip, then 200 with strip) so the route is proven applied before checking content. T4 of proxy-route-nginx.bats relaxes the WebSocket header assertions to allow more than one occurrence because the headers correctly appear in both the route location block and the existing location / block. Backticks in fn-traefik-host-rule and fn-traefik-route-labels are now triple-escaped so they survive the docker-args eval path that turns the labels into a docker run invocation, matching the existing convention in docker-args-process-deploy. The label-based backend test files also echo the ps:rebuild output now so future failures of that step surface in the CI logs instead of silently exiting non-zero.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 4a550fe4b9 feat: render proxy routes under openresty and add per-backend tests
Bumps the openresty sidecar to 0.12.0, which introduces the openresty.route.<n>.* label family for path-based routing. The openresty-vhosts plugin now emits route labels for non-web containers targeted by a proxy:route:set, mirroring the traefik and caddy patterns. Adds integration tests for every rendering backend (proxy-route-{nginx,traefik,caddy,openresty}.bats covering basic routing, --strip-prefix, and removal) plus per-ingress-class scheduler-k3s tests (proxy-route-k3s-{nginx,traefik}.bats covering the same three cases against a real cluster). The nginx file additionally asserts the rendered nginx config carries the WebSocket upgrade headers in each route's location block.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez a4d40becd8 refactor: drop proxy-supports-routes capability trigger
The trigger was added to refuse proxy:route:set under openresty and haproxy, but the hard refusal created an ordering dependency for declarative tools and blocked users from staging routes ahead of a backend switch. Routes are now stored regardless of the active backend and silently ignored by backends that do not render them; the docs call out the inert behavior under openresty and haproxy.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 9153bb5097 fix: bound proxy route port parse to uint16 to silence CodeQL 2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez ffd5248cc3 feat: route paths to non-web processes via proxy:route
Adds proxy:route:set/remove/clear/report so users can declare path-prefix routes to non-web Procfile processes without hand-writing nginx.conf.sigil. Routes are stored on the proxy plugin as a PropertyMap of path to process:port:strip, with set semantics so each invocation produces a fully-determined state and re-application is idempotent. A proxy-supports-routes capability trigger gates the command per backend - nginx-vhosts, traefik-vhosts, caddy-vhosts, and scheduler-k3s render routes today; openresty-vhosts and haproxy-vhosts refuse until their sidecar images learn a path-prefix vocabulary (tracked in dokku/openresty-docker-proxy#137 and the haproxy sidecar). Closes #8725.
2026-11-04 14:56:38 -05:00
Jose Diaz-Gonzalez 2cd558e102 Merge pull request #8700 from dokku/migrate-stack-property-to-builder-herokuish
Split stack property into per-builder properties
2026-11-04 14:42:34 -05:00
Jose Diaz-Gonzalez e4fe7d9b1b Merge pull request #9253 from cmcaine/patch-1
Ps plugin 'restore' property affects ps:restore, not ps:retire
2026-11-04 14:18:12 -05:00
Jose Diaz-Gonzalez dc05585920 Merge pull request #9252 from dokku/dependabot/go_modules/plugins/datastore/go_modules-94b69c16f7
chore(deps): bump github.com/dokku/dokku-datastore in /plugins/datastore
2026-11-04 14:17:04 -05:00
Jose Diaz-Gonzalez de4da8a6ba Merge pull request #9251 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-5.2.19
chore(deps): bump django from 5.2.18 to 5.2.19 in /tests/apps/dockerfile-release
2026-11-04 14:16:45 -05:00
Jose Diaz-Gonzalez aff2848f0a Merge pull request #9250 from dokku/dependabot/pip/docs/_build/python-dateutil-4.0.0
chore(deps): bump python-dateutil from 3.0.0 to 4.0.0 in /docs/_build
2026-11-04 14:16:32 -05:00
Colin Caine 6f376cf723 docs: 'restore' property affects ps:restore, not ps:retire 2026-11-04 14:47:00 +00:00
dependabot[bot] 147d73284d chore(deps): bump github.com/dokku/dokku-datastore in /plugins/datastore
Bumps [github.com/dokku/dokku-datastore](https://github.com/dokku/dokku-datastore) in `/plugins/datastore` from 0.11.0 to 0.11.1.


Updates `github.com/dokku/dokku-datastore` from 0.11.0 to 0.11.1
- [Release notes](https://github.com/dokku/dokku-datastore/releases)
- [Commits](https://github.com/dokku/dokku-datastore/compare/v0.11.0...v0.11.1)

---
updated-dependencies:
- dependency-name: github.com/dokku/dokku-datastore
  dependency-version: 0.11.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-04 13:56:13 +00:00
dependabot[bot] 74000a5c8d chore(deps): bump django in /tests/apps/dockerfile-release
Bumps [django](https://github.com/django/django) from 5.2.18 to 5.2.19.
- [Commits](https://github.com/django/django/compare/5.2.18...5.2.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-04 13:53:42 +00:00
dependabot[bot] 3527767d6f chore(deps): bump python-dateutil from 3.0.0 to 4.0.0 in /docs/_build
Bumps [python-dateutil](https://github.com/dateutil/dateutil) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/dateutil/dateutil/releases)
- [Changelog](https://github.com/dateutil/dateutil/blob/master/NEWS)
- [Commits](https://github.com/dateutil/dateutil/compare/3.0.0...4.0.0)

---
updated-dependencies:
- dependency-name: python-dateutil
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-04 13:53:14 +00:00
Jose Diaz-Gonzalez 110d509db1 Merge pull request #9246 from dokku/chore/bump-procfile-util-0.20.9 2026-11-03 14:01:02 -05:00
Jose Diaz-Gonzalez da5b762a25 Merge pull request #9249 from dokku/dependabot/npm_and_yarn/tests/apps/multi/sass-1.107.1 2026-11-03 14:00:52 -05:00
Jose Diaz-Gonzalez d187dbe5fd Merge pull request #9248 from dokku/dependabot/pip/docs/_build/watchdog-7.0.0 2026-11-03 14:00:43 -05:00
Jose Diaz-Gonzalez ad3d157dc8 Merge pull request #9247 from dokku/chore/bump-docker-container-healthchecker-0.16.1 2026-11-03 14:00:33 -05:00
Jose Diaz-Gonzalez b44910900b Merge pull request #9245 from dokku/chore/bump-herokuish-0.11.24 2026-11-03 14:00:24 -05:00
dependabot[bot] 23d038a6e5 chore(deps): bump sass from 1.107.0 to 1.107.1 in /tests/apps/multi
Bumps [sass](https://github.com/sass/dart-sass) from 1.107.0 to 1.107.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.107.0...1.107.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-03 13:53:32 +00:00
dependabot[bot] 84a549854c chore(deps): bump watchdog from 6.0.0 to 7.0.0 in /docs/_build
Bumps [watchdog](https://github.com/gorakhargosh/watchdog) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/gorakhargosh/watchdog/releases)
- [Changelog](https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst)
- [Commits](https://github.com/gorakhargosh/watchdog/compare/v6.0.0...v7.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-03 13:53:19 +00:00
Dokku Bot 55d8fd0054 chore: bump docker-container-healthchecker to 0.16.1 2026-11-03 06:09:29 +00:00
Dokku Bot 41285f3ed9 chore: bump procfile-util to 0.20.9 2026-11-03 06:09:23 +00:00
Dokku Bot 0e0304e867 chore: bump herokuish to 0.11.24 2026-11-03 06:09:22 +00:00
Jose Diaz-Gonzalez 59594937f9 feat: split stack property into per-builder properties
The `stack` property lived on the `buildpacks` plugin but was shared by both the herokuish and pack builders, so a value valid for one builder broke the other. Each builder now owns its own `stack` property managed via `builder-herokuish:set` and `builder-pack:set`, while `buildpacks:set-property stack` is deprecated and forwards the value to the builder detected from it; existing values migrate automatically on upgrade and changing a builder's stack clears that builder's cache.
2026-11-02 16:48:11 -05:00
Jose Diaz-Gonzalez 5ef061d3d2 Merge pull request #9241 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-e54ace20ef
chore(deps): bump k8s.io/kubectl in /plugins/scheduler-k3s
2026-11-02 16:32:05 -05:00
Jose Diaz-Gonzalez 10c87ee8a6 Merge pull request #9243 from dokku/group-kubernetes-dependabot-updates
fix: keep kubernetes updates out of plugins group
2026-11-02 16:24:03 -05:00
Jose Diaz-Gonzalez 1d80819357 fix: keep kubernetes updates out of plugins group 2026-11-02 16:00:49 -05:00
Jose Diaz-Gonzalez 2737b12d94 Merge pull request #9083 from dokku/8974-caddy-vhosts-requests-are-routed-before-healthchecks-pass-on-docker-local-contrary-to-docs
Add proxy health checks from app.json readiness
2026-11-02 15:58:56 -05:00
dependabot[bot] 3d18339ca6 chore(deps): bump k8s.io/kubectl in /plugins/scheduler-k3s
Bumps [k8s.io/kubectl](https://github.com/kubernetes/kubectl) in `/plugins/scheduler-k3s` from 0.37.1 to 0.37.2.


Updates `k8s.io/kubectl` from 0.37.1 to 0.37.2
- [Commits](https://github.com/kubernetes/kubectl/compare/v0.37.1...v0.37.2)

---
updated-dependencies:
- dependency-name: k8s.io/kubectl
  dependency-version: 0.37.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: plugins/k8s.io/kubectl
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-02 20:54:27 +00:00
Jose Diaz-Gonzalez 76ac54fd28 Merge pull request #9240 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-fa444556ec
chore(deps): bump k8s.io/client-go in /plugins/scheduler-k3s
2026-11-02 15:37:44 -05:00
Jose Diaz-Gonzalez 35337cc518 Merge branch 'master' into dependabot/go_modules/plugins/scheduler-k3s/go_modules-fa444556ec 2026-11-02 15:37:02 -05:00
Jose Diaz-Gonzalez 9f44854639 Merge pull request #9239 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-713754c796
chore(deps): bump k8s.io/apimachinery in /plugins/scheduler-k3s
2026-11-02 15:36:22 -05:00
Jose Diaz-Gonzalez cfe8dae9fd Merge pull request #9237 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-a2f6dd6e50
chore(deps): bump github.com/traefik/traefik/v2 in /plugins/scheduler-k3s
2026-11-02 15:36:15 -05:00
Jose Diaz-Gonzalez f8705db525 Merge pull request #9236 from dokku/dependabot/npm_and_yarn/tests/apps/multi/sass-1.107.0
chore(deps): bump sass from 1.106.1 to 1.107.0 in /tests/apps/multi
2026-11-02 15:36:04 -05:00
Jose Diaz-Gonzalez 149f0e73ea Merge pull request #9235 from dokku/dependabot/docker/plugins/haproxy-vhosts/byjg/easy-haproxy-6.5.2
chore(deps): bump byjg/easy-haproxy from 6.5.1 to 6.5.2 in /plugins/haproxy-vhosts
2026-11-02 15:33:49 -05:00
Jose Diaz-Gonzalez 5316dc86f4 Merge pull request #9234 from dokku/dependabot/docker/plugins/logs/timberio/vector-0.61.0-debian
chore(deps): bump timberio/vector from 0.60.0-debian to 0.61.0-debian in /plugins/logs
2026-11-02 15:33:36 -05:00
Jose Diaz-Gonzalez 95d808356b Merge pull request #9233 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-300
chore(deps-dev): bump heroku/heroku-buildpack-php from 299 to 300 in /tests/apps/php
2026-11-02 15:33:23 -05:00
dependabot[bot] 1a4b420ed4 chore(deps): bump k8s.io/client-go in /plugins/scheduler-k3s
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) in `/plugins/scheduler-k3s` from 0.37.1 to 0.37.2.


Updates `k8s.io/client-go` from 0.37.1 to 0.37.2
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.37.1...v0.37.2)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-version: 0.37.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-02 13:59:34 +00:00
dependabot[bot] 7cbcfde859 chore(deps): bump k8s.io/apimachinery in /plugins/scheduler-k3s
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery) in `/plugins/scheduler-k3s` from 0.37.1 to 0.37.2.


Updates `k8s.io/apimachinery` from 0.37.1 to 0.37.2
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.37.1...v0.37.2)

---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
  dependency-version: 0.37.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-02 13:59:23 +00:00
dependabot[bot] 235b27c81a chore(deps): bump github.com/traefik/traefik/v2
Bumps [github.com/traefik/traefik/v2](https://github.com/traefik/traefik) in `/plugins/scheduler-k3s` from 2.11.60 to 2.11.61.


Updates `github.com/traefik/traefik/v2` from 2.11.60 to 2.11.61
- [Release notes](https://github.com/traefik/traefik/releases)
- [Changelog](https://github.com/traefik/traefik/blob/v2.11.61/CHANGELOG.md)
- [Commits](https://github.com/traefik/traefik/compare/v2.11.60...v2.11.61)

---
updated-dependencies:
- dependency-name: github.com/traefik/traefik/v2
  dependency-version: 2.11.61
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-02 13:58:53 +00:00
dependabot[bot] 5d6b6d2bf6 chore(deps): bump sass from 1.106.1 to 1.107.0 in /tests/apps/multi
Bumps [sass](https://github.com/sass/dart-sass) from 1.106.1 to 1.107.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.106.1...1.107.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-version: 1.107.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-02 13:53:36 +00:00
dependabot[bot] 20643e83e7 chore(deps): bump byjg/easy-haproxy in /plugins/haproxy-vhosts
Bumps byjg/easy-haproxy from 6.5.1 to 6.5.2.

---
updated-dependencies:
- dependency-name: byjg/easy-haproxy
  dependency-version: 6.5.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-02 13:53:29 +00:00
dependabot[bot] ee9df1188e chore(deps): bump timberio/vector in /plugins/logs
Bumps timberio/vector from 0.60.0-debian to 0.61.0-debian.

---
updated-dependencies:
- dependency-name: timberio/vector
  dependency-version: 0.61.0-debian
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-02 13:53:05 +00:00
dependabot[bot] 61e3a27e18 chore(deps-dev): bump heroku/heroku-buildpack-php in /tests/apps/php
Bumps [heroku/heroku-buildpack-php](https://github.com/heroku/heroku-buildpack-php) from 299 to 300.
- [Release notes](https://github.com/heroku/heroku-buildpack-php/releases)
- [Changelog](https://github.com/heroku/heroku-buildpack-php/blob/main/CHANGELOG.md)
- [Commits](https://github.com/heroku/heroku-buildpack-php/compare/v299...v300)

---
updated-dependencies:
- dependency-name: heroku/heroku-buildpack-php
  dependency-version: '300'
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-02 13:52:27 +00:00
Jose Diaz-Gonzalez 1086de5aae test: read caddy config without exec in the container 2026-11-02 00:33:35 -05:00
Jose Diaz-Gonzalez fba0681e5b fix: avoid glob expansion of app domains
A catch-all `*` domain or a wildcard ssl hostname could be expanded into file names from the current directory when generating app urls, healthcheck `Host` headers, or the nginx ssl server names.
2026-11-02 00:33:35 -05:00
Jose Diaz-Gonzalez 06f80b1a93 fix: map caddy healthcheck headers and apply tls-internal
Caddy healthchecks now honor the `attempts` and `httpHeaders` properties of the `app.json` readiness healthcheck, matching openresty. The `tls-internal` property was also never applied to app containers, and now takes effect for apps served over https.
2026-11-02 00:33:35 -05:00