Commit Graph

4301 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
f1763bdaf5 fix: correct lint issue 2025-11-15 23:36:01 -05:00
Jose Diaz-Gonzalez
364eac374d refactor: remove support for the railpack no-cache property
This replicates the docker-options functionality.
2025-11-15 23:30:24 -05:00
Jose Diaz-Gonzalez
93cf9cc118 refactor: remove support for the nixpacks no-cache property
This replicates the docker-options functionality.
2025-11-15 23:30:15 -05:00
Jose Diaz-Gonzalez
50b2836e52 refactor: remove support for DOKKU_DOCKER_BUILD_OPTS
This replicates the docker-options functionality.
2025-11-15 23:28:44 -05:00
Jose Diaz-Gonzalez
9b75cc39b1 refactor: remove support for DOKKU_DOCKERFILE_CACHE_BUILD
This replicates the docker-options functionality.
2025-11-15 23:27:22 -05:00
Jose Diaz-Gonzalez
2a702175b5 feat: filter out unsupported build arguments with docker build
While this will require future updates if docker  supports new build arguments, it also ensures builds safely consume arguments from other plugins.
2025-11-15 23:17:48 -05:00
Jose Diaz-Gonzalez
210128f5f2 chore: simplify logic for flags without multiple methods of being set 2025-11-15 23:13:57 -05:00
Jose Diaz-Gonzalez
ae8eaa7e63 refactor: filter out procfile first and include --no-cache in DOCKER_ARGS 2025-11-15 22:59:49 -05:00
Jose Diaz-Gonzalez
11c2497b31 feat: filter out unsupported build arguments with railpacks
While this will require future updates if railpacks supports new build arguments, it also ensures builds safely consume arguments from other plugins.
2025-11-15 22:59:12 -05:00
Jose Diaz-Gonzalez
03e90ed2a0 feat: filter out unsupported build arguments with nixpacks
While this will require future updates if nixpacks supports new build arguments, it also ensures builds safely consume arguments from other plugins.
2025-11-15 22:49:48 -05:00
Jose Diaz-Gonzalez
c3d103e46c fix: remove flag that does not make sense in build context 2025-11-15 22:39:27 -05:00
Jose Diaz-Gonzalez
a292e41015 fix: remove flags that do not make sense in build context 2025-11-15 22:33:03 -05:00
Jose Diaz-Gonzalez
58046ea6dc chore: move flags around for better organization 2025-11-15 22:28:53 -05:00
Jose Diaz-Gonzalez
8cb5989220 fix: remove manually set arguments 2025-11-15 22:27:26 -05:00
Jose Diaz-Gonzalez
97714e9c22 feat: filter out unsupported build arguments with pack
While this will require future updates if pack supports new build arguments, it also ensures builds safely consume arguments from other plugins.
2025-11-15 20:28:13 -05:00
Jose Diaz-Gonzalez
43f25c218f Merge pull request #8004 from Tashows/buildpacks-detect
Add buildpacks:detect subcommand
2025-11-15 19:53:37 -05:00
Jose Diaz-Gonzalez
d9e5182399 Merge pull request #7989 from dokku/7988-prevent-overlap
Add support to prevent overlapping execution of cron tasks
2025-11-15 17:45:50 -05:00
Jose Diaz-Gonzalez
6dbb34ec0b Merge pull request #8100 from othercorey/run-proc-label
Add process-type label for run with procfile cmd
2025-11-15 16:22:48 -05:00
Jose Diaz-Gonzalez
080ed43232 Merge pull request #7982 from dokku/drop-cnb-experimental
Remove references to pack being experimental
2025-11-15 16:20:17 -05:00
Jose Diaz-Gonzalez
3f70728451 feat: implement forbid/replace logic for k3s pods spawned via cron:run 2025-11-15 16:19:23 -05:00
Corey Taylor
00411decf5 Add process-type label for run with procfile cmd 2025-11-15 02:05:58 -06:00
Jose Diaz-Gonzalez
42a92eb654 feat: add support for replace concurrency policy 2025-11-13 01:55:12 -05:00
Jose Diaz-Gonzalez
bacbc6d90d fix: correctly check for running containers when concurrency policy is forbid
We cannot grab a lock as cron:run with --detach will release the lock. Instead, just check if any containers for the specified cron_id are running and exit.
2025-11-13 01:54:56 -05:00
Jose Diaz-Gonzalez
3f8c868ab8 fix: ensure the concurrency policy is propagated when running a cron command directly 2025-11-13 01:53:33 -05:00
Jose Diaz-Gonzalez
c56110b3a7 fix: do not print errors twice 2025-11-13 01:52:08 -05:00
Jose Diaz-Gonzalez
8c2731b328 fix: properly set concurrency policy for golang 2025-11-10 03:11:11 -05:00
Corey Taylor
983115c827 Add test for cron concurrency policy 2025-11-10 03:11:08 -05:00
Jose Diaz-Gonzalez
20be426125 feat: add support for locking in docker-local commands 2025-11-10 03:07:33 -05:00
Jose Diaz-Gonzalez
f38bc64119 feat: expose concurrency policy to kubernetes jobs 2025-11-10 03:07:29 -05:00
Jose Diaz-Gonzalez
f1e3c0764c feat: expose the concurrency policy when fetching cron entries
Also add some validation to ensure invalid values are not specified.
2025-11-10 03:06:24 -05:00
Jose Diaz-Gonzalez
d72c183d9e feat: add ability to specify a concurrency policy for crons in the app.json file 2025-11-10 03:03:49 -05:00
Jose Diaz-Gonzalez
4cc2dc7844 feat: add cron maintenance info to cron:report output 2025-11-10 01:58:02 -05:00
Jose Diaz-Gonzalez
379ada07d9 fix: properly fetch non-maintenance tasks when building crontab file 2025-11-10 01:57:46 -05:00
Jose Diaz-Gonzalez
d49f9b89c2 chore: add commands to cron:help output 2025-11-10 01:57:12 -05:00
Jose Diaz-Gonzalez
3638399726 fix: parse cronID correctly 2025-11-10 01:56:59 -05:00
Jose Diaz-Gonzalez
4929272c87 fix: calculate maintenance property correctly 2025-11-10 01:56:07 -05:00
Jose Diaz-Gonzalez
7461b83972 fix: use correct makefile target 2025-11-09 23:16:38 -05:00
Jose Diaz-Gonzalez
426e6b746a chore: standardize on cron task vs any other naming 2025-11-09 23:16:38 -05:00
Jose Diaz-Gonzalez
66a30b0547 refactor: rename cron entry to cron task
This naming better suits what it is we are fetching.
2025-11-09 23:16:38 -05:00
Jose Diaz-Gonzalez
f99e3a6c9c feat: add ability to suspend and resume a cron task by ID
This takes advantage of the properties system and allows users to suspend/resume the task at will.
2025-11-09 23:16:38 -05:00
Jose Diaz-Gonzalez
3c7985cd82 feat: track task vs app maintenance separately
We should know _where_ the maintenance value is applied for the end-user's usage
2025-11-09 23:16:38 -05:00
Jose Diaz-Gonzalez
e42df29a79 feat: allow specifying maintenance mode in the file or not
If the app's cron tasks are set to maintenance mode, then the task is set to maintenance mode regardless.
2025-11-09 23:16:38 -05:00
Jose Diaz-Gonzalez
4a357e9896 fix: properly suspend and resume k8s CronJob objects when executing scheduler-cron-write 2025-11-09 23:16:38 -05:00
Jose Diaz-Gonzalez
c885205b91 refactor: respect the maintenance value of the cron task instead of skipping them
The former method would omit the CronJob objects entirely, meaning a redeploy would be necessary to re-enable them.
2025-11-09 23:16:38 -05:00
Jose Diaz-Gonzalez
551eae0c5b chore: remove references to pack being experimental
It is no longer experimental and is here to stay.
2025-11-09 20:32:39 -05:00
Jose Diaz-Gonzalez
f2abbad5b7 chore: remove unused entrypoint file 2025-11-09 20:21:10 -05:00
Jose Diaz-Gonzalez
e5196a2f03 fix: remove entrypoint to ensure we can pass commands as arrays instead of quoted strings 2025-11-09 20:21:10 -05:00
Jose Diaz-Gonzalez
9af8ec2acc fix: re-add entrypoint
It is broken but we still want something like this...
2025-11-09 20:21:10 -05:00
Jose Diaz-Gonzalez
5e85038d9c feat: add PrintCommand support to all task executors 2025-11-09 20:21:10 -05:00
Jose Diaz-Gonzalez
b9025f6137 fix: drop unnecessary entrypoint 2025-11-09 20:21:10 -05:00