Commit Graph

11967 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
06de81b61b refactor: allow custom nginx command to be set as an nginx property
This avoids adding a new environment variable in favor of a script that can be called both globally as well as on a per-app basis.
2025-06-30 03:29:43 -04:00
Udi Oron
a331d27945 feat(nginx-vhosts): add support for custom nginx service command 2025-06-30 03:22:07 -04:00
Jose Diaz-Gonzalez
926176bbb6 Merge pull request #7504 from dokku/7396-scale-without-restart
Only redeploy formations that have had their values changed
2025-06-30 03:04:31 -04:00
Jose Diaz-Gonzalez
5cd86d23e6 tests: add tests for scaling without restarting untouched process types 2025-06-30 01:48:09 -04:00
Jose Diaz-Gonzalez
1eb41f32dc feat: only redeploy formations that have had their values changed
Rather than redeploy every formation, only deploy formations that have had their values changed from the defaults.

This still doesn't handle the case where we touch existing processes when scaling _up_, but should decrease the number of services touched otherwise during scaling.

Also note that there are no tests for this new behavior yet (tests incoming).

Refs #7396
2025-06-23 04:42:09 -04:00
Jose Diaz-Gonzalez
bc75bffed2 Merge pull request #7762 from dokku/fix-buildpack-tests
Reference new packeto buildpack urls
2025-06-23 04:41:37 -04:00
Jose Diaz-Gonzalez
944d808bc6 Merge pull request #7579 from dokku/6872-stop-all
Stop all app containers when calling ps:stop
2025-06-23 04:41:25 -04:00
Jose Diaz-Gonzalez
885178eed5 feat: turn warnings to failures when running validation against an app.json file 2025-06-23 01:03:10 -04:00
Jose Diaz-Gonzalez
7e37f9dc79 fix: add missing trigger 2025-06-23 00:22:38 -04:00
Jose Diaz-Gonzalez
7cd077a79b debug: stream stdout/stderr 2025-06-19 21:19:24 -04:00
Jose Diaz-Gonzalez
7c2df65514 fix: reference new packeto buildpack urls
See https://blog.paketo.io/posts/paketo-gcr-registry-sunset/ for details.
2025-06-19 21:17:58 -04:00
Jose Diaz-Gonzalez
2324cb888b refactor: check for extracted file and add logging message 2025-06-19 20:53:20 -04:00
Jose Diaz-Gonzalez
4ae9cca6f1 feat: implement app-json-is-valid plugin trigger 2025-06-19 02:20:02 -04:00
Jose Diaz-Gonzalez
ed851fe399 refactor: warn when invalid cron entries might be written 2025-06-19 01:11:29 -04:00
Jose Diaz-Gonzalez
776013b0f4 fix: write the cron config after the app.json has been deleted
Without this, we try to write the config for the app even though it doesn't exist anymore, causing issues with deleting apps with invalid cron configs.
2025-06-19 01:09:15 -04:00
Jose Diaz-Gonzalez
6f0039ebf1 fix: add missing source 2025-06-18 23:51:39 -04:00
Jose Diaz-Gonzalez
73be6989ff fix: ensure invalid cron triggers fail a deploy 2025-06-10 23:55:06 -04:00
Jose Diaz-Gonzalez
67003ed469 fix: skip cron entries that are missing a command or a schedule 2025-06-10 23:39:35 -04:00
Jose Diaz-Gonzalez
2758b3cc47 chore: rename trigger function 2025-06-10 23:36:10 -04:00
Jose Diaz-Gonzalez
36da77a2ff fix: write cron in pre-delete phase 2025-06-10 21:46:07 -04:00
Jose Diaz-Gonzalez
b663f71878 feat: only write cron entries when working on docker-local scheduler 2025-06-10 21:45:08 -04:00
Jose Diaz-Gonzalez
398a78b2f6 refactor: move cron-write to scheduler-cron-write 2025-06-10 21:45:08 -04:00
Jose Diaz-Gonzalez
2dea993804 fix: also stop k8s cron tasks when calling ps:stop 2025-06-10 21:45:08 -04:00
Jose Diaz-Gonzalez
7b0d3b14bc fix: stop all app containers when calling ps:stop
Closes #6872
2025-06-10 21:45:08 -04:00
Jose Diaz-Gonzalez
5ca09b0081 Merge pull request #7577 from dokku/6872-stop-handling
Migrate DOKKU_DOCKER_STOP_TIMEOUT to ps setting
2025-06-09 13:10:42 -04:00
Jose Diaz-Gonzalez
5e1f177d1c chore: revert local 2025-06-09 11:39:00 -04:00
Jose Diaz-Gonzalez
86a6b2e246 fix: reference correct variable 2025-06-09 11:39:00 -04:00
Jose Diaz-Gonzalez
3a16724fbe docs: correct commands 2025-06-09 11:39:00 -04:00
Jose Diaz-Gonzalez
5d1a3fb079 fix: add missing ps-get-property 2025-06-09 11:39:00 -04:00
Jose Diaz-Gonzalez
f0bf7aa0b6 fix: also migrate one more usage 2025-06-09 11:39:00 -04:00
Jose Diaz-Gonzalez
4942ebaec1 refactor: remove use of config plugin from scheduler plugin 2025-06-09 11:39:00 -04:00
Jose Diaz-Gonzalez
9beab4d50d refactor: migrate DOKKU_DOCKER_STOP_TIMEOUT to ps setting 2025-06-09 11:39:00 -04:00
Jose Diaz-Gonzalez
758d9f8a83 feat: add config-unset trigger 2025-06-09 11:39:00 -04:00
Jose Diaz-Gonzalez
0263d37d43 Merge pull request #7578 from dokku/6953-cron-maintenance
Add ability to set maintenance mode for all cron tasks running for an app
2025-06-09 01:05:08 -04:00
Jose Diaz-Gonzalez
d0b87936db docs: fix typo 2025-06-08 22:35:17 -04:00
Jose Diaz-Gonzalez
0f4b5d4305 fix: continue including maintenance mode cron tasks in the cron:list subcommand 2025-06-08 22:34:47 -04:00
Jose Diaz-Gonzalez
c0eb12f572 feat: add ability to set maintenance mode for all cron tasks running for an app
Closes #6953
2025-06-08 22:34:47 -04:00
Jose Diaz-Gonzalez
cc395b54dd Merge pull request #7621 from dokku/dependabot/npm_and_yarn/tests/apps/nodejs-express/express-5.1.0
chore(deps): bump express from 4.21.2 to 5.1.0 in /tests/apps/nodejs-express
2025-06-08 22:33:50 -04:00
Jose Diaz-Gonzalez
80f35370ab chore: bump nodejs from 4.2.x to 18.x.x 2025-06-08 20:08:10 -04:00
dependabot[bot]
98e7f467b7 chore(deps): bump express from 4.21.2 to 5.1.0 in /tests/apps/nodejs-express
Dependabot couldn't find the original pull request head commit, f30b38c741b6433fafe368d09d886d93b81a5830.
2025-06-08 20:07:13 -04:00
Jose Diaz-Gonzalez
d3ae9360ce Merge pull request #7628 from dokku/dependabot/npm_and_yarn/tests/apps/nodejs-express-noappjson/express-5.1.0
chore(deps): bump express from 4.21.2 to 5.1.0 in /tests/apps/nodejs-express-noappjson
2025-06-08 20:06:59 -04:00
Jose Diaz-Gonzalez
b44ccae796 chore: bump nodejs from 4.2.x to 18.x.x 2025-06-08 19:30:39 -04:00
dependabot[bot]
1060189d78 chore(deps): bump express in /tests/apps/nodejs-express-noappjson
Bumps [express](https://github.com/expressjs/express) from 4.21.2 to 5.1.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/4.21.2...v5.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-08 18:21:28 -04:00
Jose Diaz-Gonzalez
8eb8760a46 Merge pull request #7749 from dokku/update-herokuish 2025-06-08 06:57:34 -04:00
Jose Diaz-Gonzalez
1486c5e170 Merge pull request #7748 from dokku/update-docker-container-healthchecker
chore: update docker-container-healthchecker from 0.11.5 to 0.14.0
2025-06-08 02:16:16 -04:00
Jose Diaz-Gonzalez
10b31fcd4a chore: update herokuish from 0.10.3 to 0.11.0 2025-06-08 01:31:01 -04:00
Jose Diaz-Gonzalez
82f3613ed7 chore: update docker-container-healthchecker from 0.11.5 to 0.14.0 2025-06-08 01:29:12 -04:00
Jose Diaz-Gonzalez
3354effff0 Merge pull request #7746 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-5.1.10
chore(deps): bump django from 5.0.14 to 5.1.10 in /tests/apps/dockerfile-release
2025-06-07 23:35:19 -04:00
Jose Diaz-Gonzalez
3557de3485 Merge pull request #7735 from dokku/dependabot/go_modules/tests/apps/gogrpc/google.golang.org/grpc-1.73.0
chore(deps): bump google.golang.org/grpc from 1.72.2 to 1.73.0 in /tests/apps/gogrpc
2025-06-07 23:32:05 -04:00
Jose Diaz-Gonzalez
5c3eea3ccb Merge pull request #7737 from dokku/dependabot/docker/docs/_build/python-3.13.4-alpine
chore(deps): bump python from 3.13.3-alpine to 3.13.4-alpine in /docs/_build
2025-06-07 23:31:59 -04:00