Commit Graph
3125 Commits
Author SHA1 Message Date
dependabot[bot] f54988267b chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.27.2 to 1.27.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-26 13:53:10 +00:00
Jose Diaz-Gonzalez 00c3e48cf4 feat: add a whole-set form and clear for chart overrides
The `scheduler-k3s:charts:set` command only changed one chart override at a time, so matching a chart's stored overrides to a declared set meant reading the report, computing the difference in both directions and issuing one command per added, changed and removed property, with a failure partway through leaving a mixture of the two sets. A `--replace` flag on `scheduler-k3s:charts:set` now takes a chart name followed by `property=value` pairs and writes the declared map for that chart in a single call. Every pair is parsed before anything is written, so a rejected pair leaves the stored overrides untouched, and a pair ending in `=` stores an empty value, which the per-property form cannot express. An empty pair list is rejected rather than treated as a request to remove everything, and the new `scheduler-k3s:charts:clear` command handles that case by removing every override for a chart.
2026-10-24 19:34:13 -04:00
Jose Diaz-Gonzalez be291f3928 Merge pull request #9189 from dokku/9105-failed-build-leaves-deploy-lock-behind-apps-locked-reports-a-non-existing-lock
Release deploy locks on exit and honor apps:lock
2026-10-24 19:15:04 -04:00
Jose Diaz-Gonzalez 5537240204 Merge pull request #9186 from dokku/dependabot/npm_and_yarn/tests/apps/multi/sass-1.106.0
chore(deps): bump sass from 1.105.2 to 1.106.0 in /tests/apps/multi
2026-10-24 18:13:08 -04:00
Jose Diaz-Gonzalez c4b164a270 fix: release deploy locks on exit and honor apps:lock
A deploy that exited before releasing its lock, such as after a failed build, left `.deploy.lock` behind, so `apps:locked` reported a lock nothing held and the build record stayed running. The lock is now released and the record finalized whenever the deploy exits. `apps:lock` never actually blocked deploys, as it only created the file deploys lock. It now creates its own lock that git pushes, `ps:rebuild`, `git:sync`, and the `git:from-*` commands refuse to deploy past, and `apps:locked` only reports a lock when the app was locked via `apps:lock` or a deploy is in progress. Locks created by `apps:lock` in older versions are migrated on install.
2026-10-24 13:58:47 -04:00
dependabot[bot] 6ad4ca317c 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 297 to 298.
- [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/v297...v298)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-24 16:19:04 +00:00
dependabot[bot] 7d53e24390 chore(deps): bump sass from 1.105.2 to 1.106.0 in /tests/apps/multi
Bumps [sass](https://github.com/sass/dart-sass) from 1.105.2 to 1.106.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.105.2...1.106.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-24 16:15:00 +00:00
Jose Diaz-Gonzalez 57ae817dab Merge pull request #9128 from sean0407/codex/fix-cleanup-force-9127
Forward forced cleanup flag (#9127)
2026-10-24 12:03:17 -04:00
Jose Diaz-Gonzalez 58d8a52234 fix: redirection operator in docker-cleanup test 2026-10-24 12:03:06 -04:00
Jose Diaz-Gonzalez 3bd74e4eb5 test: pause the retire timer during source image test
The periodic `dokku-retire` timer could run `ps:retire` between the test's final deploy and its own `ps:retire` call, processing the retire list first and leaving the test with no output to assert on.
2026-10-23 20:21:28 -04:00
Jose Diaz-Gonzalez 2dd77d61e4 Merge pull request #9180 from dokku/9168-scheduler-k3s-deployment-retry-fails-cleaning-up-a-non-empty-kustomization-directory
Clean up stale extracted files on deploy
2026-10-23 19:23:44 -04:00
Jose Diaz-Gonzalez ad931ea817 Merge pull request #9176 from byjg/haproxy-easyhaproxy-6.5.1
Haproxy letsencrypt integration and upgrade EasyHAProxy to 6.5.1
2026-10-23 16:02:34 -04:00
Jose Diaz-Gonzalez 0690a9b655 fix: clean up stale extracted files on deploy
A failed deploy could leave a non-empty extraction directory behind, such as the scheduler-k3s `kustomization` directory, which caused every following deploy to fail. Leftovers from previous deploys are now fully removed, removing a directory such as `config/kustomize` from the repository now removes the stored copy, and openresty includes now persist across restarts.
2026-10-23 14:37:49 -04:00
Joao Gilberto Magalhaes 4887cf458e fix: haproxy letsencrypt integration and upgrade EasyHAProxy to 6.5.1
The letsencrypt integration set EASYHAPROXY_LETSENCRYPT_EMAIL (with a stray
quote) and a letsencrypt label, which EasyHAProxy has not read since before
4.6.0. With an email set, http redirected to https and nothing answered on 443.

- Pass EASYHAPROXY_CERTBOT_EMAIL and EASYHAPROXY_CERTBOT_SERVER.
- Label the app with certbot=true on its http definition: EasyHAProxy requests
  the certificate and serves https itself, so the separate 443 definition goes.
  https labels are only added when a letsencrypt email is set, as documented.
- Keep the certificates in /var/lib/dokku/data/haproxy.
- Turn the stats page off with HAPROXY_STATS_ENABLE=false.
- Upgrade EasyHAProxy from 6.1.1 to 6.5.1.
2026-10-23 09:29:01 -04:00
Jose Diaz-Gonzalez 97dd080441 fix: only clear the requested resource type
Running `resource:limit-clear` or `resource:reserve-clear` without `--process-type` deleted every resource property for the app, so clearing limits also removed reservations and vice versa. Both commands now clear only their own resource type across all process types.
2026-10-22 18:58:23 -04:00
Jose Diaz-Gonzalez 898924e541 Merge pull request #9152 from Schlepptop/make-nginx-proxy-http-version-configurable
Make nginx-proxy-http-version configurable per app or globally
2026-10-22 16:51:09 -04:00
Schlepptop 5b72061845 Merge branch 'master' into make-nginx-proxy-http-version-configurable 2026-10-22 11:37:55 +02:00
Jose Diaz-Gonzalez 9df45f6a6e fix: serialize concurrent property updates
Concurrent commands for the same app could each read a setting, change it, and write it back, so all of them exited successfully while silently dropping changes made by the others. Updates to app settings are now serialized so every change is kept, and readers never see a partially written value.
2026-10-21 21:21:57 -04:00
Jose Diaz-Gonzalez ba1d49576b Merge pull request #9164 from dokku/dependabot/go_modules/plugins/scheduler-k3s/go_modules-15e406a13a
chore(deps): bump github.com/fluxcd/pkg/kustomize in /plugins/scheduler-k3s
2026-10-21 18:54:35 -04:00
Jose Diaz-Gonzalez bd89861738 chore: bump go version to 1.27.1
The `github.com/fluxcd/pkg/kustomize` upgrade requires Go 1.27, so the workspace and all modules move to the same version.
2026-10-21 17:18:11 -04:00
Jose Diaz-Gonzalez c8e28c2445 fix: accept all docker memory units in resource values
Memory values with uppercase or other docker-supported units such as `1G`, `512M` or `1GiB` are now passed to docker unchanged instead of having an extra `m` appended, and the k3s scheduler interprets memory values with the same binary units so a value means the same thing on both schedulers. Invalid `--memory` and `--memory-swap` values are now rejected by `resource:limit` and `resource:reserve`. Closes #9153.
2026-10-21 14:07:00 -04:00
Jose Diaz-Gonzalez c49634e6e9 Merge pull request #9155 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.27.2
chore(deps): bump golang from 1.27.1 to 1.27.2 in /tests/apps/zombies-dockerfile-no-tini
2026-10-20 10:39:45 -04:00
Jose Diaz-Gonzalez ca0c934224 Merge pull request #9163 from dokku/dependabot/npm_and_yarn/tests/apps/multi/sass-1.105.2
chore(deps): bump sass from 1.105.1 to 1.105.2 in /tests/apps/multi
2026-10-20 10:38:14 -04:00
Jose Diaz-Gonzalez de9fdf65d1 Merge pull request #9161 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.27.2
chore(deps): bump golang from 1.27.1 to 1.27.2 in /tests/apps/gogrpc
2026-10-20 10:37:51 -04:00
Jose Diaz-Gonzalez 909655dfbf Merge pull request #9160 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.27.2
chore(deps): bump golang from 1.27.1 to 1.27.2 in /tests/apps/go-fail-predeploy
2026-10-20 10:36:20 -04:00
Jose Diaz-Gonzalez 28acff8f27 Merge pull request #9159 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.27.2
chore(deps): bump golang from 1.27.1 to 1.27.2 in /tests/apps/zombies-dockerfile-tini
2026-10-20 10:36:06 -04:00
dependabot[bot] 6c99d02dfe chore(deps): bump sass from 1.105.1 to 1.105.2 in /tests/apps/multi
Bumps [sass](https://github.com/sass/dart-sass) from 1.105.1 to 1.105.2.
- [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.105.1...1.105.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-19 14:05:07 +00:00
dependabot[bot] 32495a8ad2 chore(deps): bump golang from 1.27.1 to 1.27.2 in /tests/apps/gogrpc
Bumps golang from 1.27.1 to 1.27.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-19 14:02:32 +00:00
dependabot[bot] 82c76b908a chore(deps): bump golang in /tests/apps/go-fail-predeploy
Bumps golang from 1.27.1 to 1.27.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-19 14:02:01 +00:00
dependabot[bot] a770054aca chore(deps): bump golang in /tests/apps/zombies-dockerfile-tini
Bumps golang from 1.27.1 to 1.27.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-19 14:01:24 +00:00
dependabot[bot] e2310d76c7 chore(deps): bump golang in /tests/apps/go-fail-postdeploy
Bumps golang from 1.27.1 to 1.27.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-19 14:01:15 +00:00
dependabot[bot] 6f9c26259b chore(deps): bump golang in /tests/apps/zombies-dockerfile-no-tini
Bumps golang from 1.27.1 to 1.27.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-19 13:59:10 +00:00
Schlepptop 4badd065cc Make nginx-proxy-http-version configurable per app or globally 2026-10-19 00:44:59 +02: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
dependabot[bot] c2829cebae chore(deps): bump python in /tests/apps/dockerfile-release
Bumps python from 3.15.0rc3-bookworm to 3.15.0-bookworm.

---
updated-dependencies:
- dependency-name: python
  dependency-version: 3.15.0-bookworm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-16 13:52:59 +00: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 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 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 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 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
dependabot[bot] 790ddbc6eb chore(deps): bump djangorestframework in /tests/apps/dockerfile-release
Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.18.1 to 3.18.3.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](https://github.com/encode/django-rest-framework/compare/3.18.1...3.18.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-13 16:09:12 +00:00
dependabot[bot] 4fa8c1b8bb chore(deps): bump express in /tests/apps/nodejs-express-noprocfile
Bumps [express](https://github.com/expressjs/express) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/v5.2.1...v5.3.0)

---
updated-dependencies:
- dependency-name: express
  dependency-version: 5.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-13 16:07:44 +00:00
dependabot[bot] 4709d36152 chore(deps): bump express in /tests/apps/nodejs-express-noappjson
Bumps [express](https://github.com/expressjs/express) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/v5.2.1...v5.3.0)

---
updated-dependencies:
- dependency-name: express
  dependency-version: 5.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-13 16:07:03 +00:00