Commit Graph
3106 Commits
Author SHA1 Message Date
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
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
dependabot[bot] 1d69b10785 chore(deps): bump express in /tests/apps/nodejs-express
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:03:44 +00:00
dependabot[bot] f30a70c1fb chore(deps): bump express in /tests/apps/gitsubmodules
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 15:13:01 +00:00
dependabot[bot] 90ece68986 chore(deps): bump python in /tests/apps/dockerfile-release
Bumps python from 3.15.0rc2-bookworm to 3.15.0rc3-bookworm.

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-13 14:48:08 +00:00
dependabot[bot] 558bc7b444 chore(deps): bump express in /tests/apps/dockerfile-procfile-bad
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 14:39:47 +00:00
dependabot[bot] 5b0813df67 chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/checks-root
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 14:30:51 +00:00
dependabot[bot] 6b8b9362c6 chore(deps): bump express in /tests/apps/dockerfile-procfile
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 14:25:54 +00:00
dependabot[bot] 07685b6c92 chore(deps): bump express in /tests/apps/dockerfile-app-json-formations
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 14:23:47 +00: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 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 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 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 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
dependabot[bot] 17f65e6c23 chore(deps): bump django in /tests/apps/dockerfile-release
Bumps [django](https://github.com/django/django) from 5.2.17 to 5.2.18.
- [Commits](https://github.com/django/django/compare/5.2.17...5.2.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-06 14:34:47 +00:00
dependabot[bot] 8aeee4fa26 chore(deps): bump source-map-js
Bumps the npm_and_yarn group with 1 update in the /tests/apps/multi directory: [source-map-js](https://github.com/7rulnik/source-map-js).


Updates `source-map-js` from 1.2.1 to 1.2.2
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/7rulnik/source-map-js/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.2.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-06 13:49:26 +00:00
dependabot[bot] 7c733904cb chore(deps): bump proxy-addr
Bumps the npm_and_yarn group with 1 update in the /tests/apps/checks-root directory: [proxy-addr](https://github.com/jshttp/proxy-addr).


Updates `proxy-addr` from 2.0.7 to 2.0.8
- [Release notes](https://github.com/jshttp/proxy-addr/releases)
- [Changelog](https://github.com/jshttp/proxy-addr/blob/master/HISTORY.md)
- [Commits](https://github.com/jshttp/proxy-addr/compare/v2.0.7...v2.0.8)

---
updated-dependencies:
- dependency-name: proxy-addr
  dependency-version: 2.0.8
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-06 13:43:09 +00:00