Commit Graph

12684 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
f6b97100ea fix: correct lint issue 2025-11-20 04:29:41 -05:00
Jose Diaz-Gonzalez
0ef276d40b feat: add aliases for select builder and scheduler plugins
It can get repetitive to specify 'builder-' or 'scheduler-' prefixes for builder and scheduler commands. As these are mostly unique, Dokku now provides built-in aliases for the commands. Dokku still uses the long-form in all it's documentation, but these are a nice easter egg for determined users :)

Note that the null builder/scheduler plugins do not have aliases as they would shadow each other.
2025-11-20 03:12:25 -05:00
Jose Diaz-Gonzalez
553cc232b2 Merge pull request #8138 from dokku/buildpack-xtrace
Turn on buildpack trace mode when dokku trace is on
2025-11-20 02:42:57 -05:00
Jose Diaz-Gonzalez
afd2952cb1 feat: turn on buildpack trace mode when dokku trace is on
This removes the need for an extra step to enable more verbose debug logs from buildpacks.

Refs https://github.com/dokku/dokku/discussions/8070
2025-11-20 02:41:57 -05:00
Jose Diaz-Gonzalez
638d50127e Merge pull request #8136 from dokku/8067-ports-reset
Do not reset manually set port mappings when upgrading dokku
2025-11-20 02:37:46 -05:00
Jose Diaz-Gonzalez
58bfd70118 Merge pull request #8106 from dokku/8007-jsonc-app-json
Support inline comments for app.json
2025-11-20 02:37:01 -05:00
Jose Diaz-Gonzalez
54c1ccd9bb refactor: use tailscale/hujson to support trailing commas after the last member in arrays and lists 2025-11-20 01:00:40 -05:00
Jose Diaz-Gonzalez
318c21996a fix: use correct variable name 2025-11-20 00:59:49 -05:00
Jose Diaz-Gonzalez
6b67d5c59b tests: do not modify the existing app.json via jq
The jq binary doesn't support jsonc, so we can't modify it for testing purposes. Instead, just create an app.json with the correct heroku.postdeploy task.
2025-11-20 00:44:26 -05:00
Jose Diaz-Gonzalez
56566d1c05 chore: make the postdeploy task name more clear 2025-11-20 00:42:49 -05:00
Jose Diaz-Gonzalez
421863f4ac fix: sanitize app.json in trigger 2025-11-20 00:35:17 -05:00
Jose Diaz-Gonzalez
38505006e8 fix: correctly sanitize comments out of the jsonc content 2025-11-20 00:35:17 -05:00
Jose Diaz-Gonzalez
a05b79e2a9 tests: add inline comments on the python app.json file
This is the most-used app and therefore most-used app.json file, so this should allow us to test that moving to a new json parser works as expected.
2025-11-20 00:35:17 -05:00
Jose Diaz-Gonzalez
1c0ce250dc feat: support inline comments for app.json
Closes #8007
2025-11-20 00:35:17 -05:00
Jose Diaz-Gonzalez
a2d399c104 fix: do not reset manually set port mappings when upgrading dokku
Closes #8067
2025-11-20 00:21:40 -05:00
Jose Diaz-Gonzalez
9f8058dd78 Merge pull request #8114 from dokku/8052-run-exec
Ensure we can execute run commands when exec is executed as part of an entrypoint
2025-11-19 21:40:36 -05:00
Jose Diaz-Gonzalez
507916f57b Merge pull request #8112 from dokku/7938-run-retire
Implement cron and one-off run task TTLs
2025-11-19 21:40:10 -05:00
Jose Diaz-Gonzalez
6f095271e1 fix: ensure we can execute run commands when exec is executed as part of an entrypoint
Closes #8052
2025-11-19 20:34:51 -05:00
Jose Diaz-Gonzalez
44b87ffe8d tests: fix expected output of --quiet 2025-11-19 20:23:53 -05:00
Jose Diaz-Gonzalez
992b023bc8 chore: fix lint issues 2025-11-18 17:06:30 -05:00
Jose Diaz-Gonzalez
a6d65c821f feat: implement cron and one-off run task TTLs
Closes #7938
2025-11-18 16:46:31 -05:00
Jose Diaz-Gonzalez
2bd4272424 Merge pull request #8109 from dokku/7308-skip-install-trigger
Allow skipping the install trigger when installing a plugin
2025-11-18 15:06:25 -05:00
Jose Diaz-Gonzalez
99a1e2ee33 feat: default to running one-off k3s containers to a max of 1 day
This follows the standard enforced by Heroku.
2025-11-18 14:09:38 -05:00
Jose Diaz-Gonzalez
d5ea97f7b0 chore: consolidate on single method to redirect stdout/stderr to /dev/null 2025-11-18 14:07:09 -05:00
Jose Diaz-Gonzalez
6359404ef3 Merge pull request #8097 from dokku/dependabot/docker/plugins/logs/timberio/vector-0.51.1-debian
chore(deps): bump timberio/vector from 0.51.0-debian to 0.51.1-debian in /plugins/logs
2025-11-18 13:19:41 -05:00
Jose Diaz-Gonzalez
ba9eee8271 Merge pull request #8098 from dokku/dependabot/docker/plugins/traefik-vhosts/traefik-3.6.1
chore(deps): bump traefik from 3.5.4 to 3.6.1 in /plugins/traefik-vhosts
2025-11-18 13:19:10 -05:00
Jose Diaz-Gonzalez
d05925f6f1 feat: allow skipping the install trigger when installing a plugin
During docker image generation, certain folders either do not exist or are symlinked in an odd fashion, causing the install trigger to fail. This is not the case at runtime, so we should defer the install trigger until container start and provide a method of skipping it when generating a docker image.

Closes #7308
2025-11-18 02:35:16 -05:00
Jose Diaz-Gonzalez
a677e05b1f Merge pull request #8105 from dokku/kubelet-args
Allow specifying kubelet-args when adding a new node to the cluster
2025-11-17 04:17:25 -05:00
Jose Diaz-Gonzalez
575fbb3560 Merge pull request #7608 from dragonhunt02/label
Add commands to proxy implementations for managing labels
2025-11-17 00:20:03 -05:00
Jose Diaz-Gonzalez
f33d3d852f feat: allow specifying kubelet-args when adding a new node to the cluster
Kubelet arguments are useful for specifying settings such as supported sysctl fields.
2025-11-16 23:53:02 -05:00
Jose Diaz-Gonzalez
f38d8cfadb Merge pull request #8104 from dokku/drop-aufs-check
Drop deprecated aufs check
2025-11-16 18:52:58 -05:00
Jose Diaz-Gonzalez
e394776c3b fix: drop deprecated aufs check
Closes #8102
2025-11-16 18:52:19 -05:00
Jose Diaz-Gonzalez
2bad1e4acd Merge pull request #8103 from dokku/fix-docs
docs: correct the release version for railpacks support
2025-11-16 18:50:38 -05:00
Jose Diaz-Gonzalez
75945ee0d7 docs: correct the release version for railpacks support
Refs #7956 (thanks @pil0u)
2025-11-16 18:50:04 -05:00
Jose Diaz-Gonzalez
9d002ccab5 fix: correct the error message 2025-11-16 18:47:13 -05:00
Jose Diaz-Gonzalez
5df11a0a1f refactor: store labels in key=value format
This makes it easier to display at the cost of removing the override warnings (for now).
2025-11-16 18:44:21 -05:00
Jose Diaz-Gonzalez
a40c42019b fix: do not shift arguments 2025-11-16 18:42:57 -05:00
Jose Diaz-Gonzalez
d4783685d1 chore: update header for displaying app labels 2025-11-16 18:12:38 -05:00
Jose Diaz-Gonzalez
d212fd44c7 refactor: rename functions to be plural
They are plural for the scheduler-k3s plugin.
2025-11-16 18:12:28 -05:00
Jose Diaz-Gonzalez
d9073272df fix: minor help output formatting 2025-11-16 18:06:56 -05:00
Jose Diaz-Gonzalez
ff8ccd2801 tests: add tests for functionality 2025-11-16 18:01:20 -05:00
Jose Diaz-Gonzalez
3f5a022970 tests: force remove the file to silence warnings 2025-11-16 18:00:40 -05:00
Jose Diaz-Gonzalez
18be8f4fa9 fix: use correct argument name 2025-11-16 18:00:04 -05:00
Jose Diaz-Gonzalez
e397604841 refactor: move the labels to the properties folder
To be quite honest, these should just be in the docker-options plugin, but I think its fine to have them tracked separately for now.
2025-11-16 17:59:46 -05:00
Jose Diaz-Gonzalez
01570012c5 fix: correctly call function 2025-11-16 17:58:14 -05:00
Jose Diaz-Gonzalez
acd981d50e fix: ensure the commands can actually be called 2025-11-16 17:57:58 -05:00
Jose Diaz-Gonzalez
3a52c7d0a8 docs: add documentation for label management 2025-11-16 16:49:03 -05:00
Jose Diaz-Gonzalez
003f6a5bd8 fix: remove not working method to change the caddy label-key
This was never actually used by caddy-docker-proxy so its better to just remove it.
2025-11-16 16:45:56 -05:00
Jose Diaz-Gonzalez
edf9653ebf fix: update help output for new subcommands 2025-11-16 16:32:13 -05:00
Jose Diaz-Gonzalez
12cc31427b refactor: split out label subcommands into distinct commands 2025-11-16 16:30:56 -05:00