Commit Graph

12575 Commits

Author SHA1 Message Date
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
f61e6e60f4 Merge pull request #7991 from dokku/7145-cron-maintenance-id
Add ability to pause/restart cron jobs
2025-11-10 03:03:34 -05:00
Jose Diaz-Gonzalez
8ba6ce94fc test: add tests for cron suspend and resume commands 2025-11-10 02:00:14 -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
d9603af08a docs: document cron task suspension 2025-11-10 01:55:44 -05:00
Jose Diaz-Gonzalez
e30b579de5 test: fix issue where teardown was not being called 2025-11-09 23:16:39 -05:00
Jose Diaz-Gonzalez
2aea999326 test: check if uninstalling after deleting apps will cause tests to work again
Not clear why they are suddenly failing, but lets switch this around for now.
2025-11-09 23:16:39 -05:00
Jose Diaz-Gonzalez
00ce3932d0 fix: update the json output 2025-11-09 23:16:38 -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
1674d02af9 Merge pull request #7956 from dokku/7615-railpack-support
Add a Railpack builder to Dokku
2025-11-09 22:19:10 -05:00
Jose Diaz-Gonzalez
889d237669 chore: combine tests and ensure that pack is selected 2025-11-09 20:32:39 -05:00
Jose Diaz-Gonzalez
68c5407ed4 tests: use already existing add_requirements_txt_cnb function for builder-pack deploys 2025-11-09 20:32:39 -05:00
Jose Diaz-Gonzalez
e62212f810 tests: add missing global setup/teardown calls 2025-11-09 20:32:39 -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
3c6ace7d68 tests: add global setup/teardown 2025-11-09 20:21:10 -05:00
Jose Diaz-Gonzalez
b4fbf7189e fix: update tests 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
Jose Diaz-Gonzalez
795e4f0f34 fix: cleanup build image in railpack builder
Without this, it is possible to keep an old build image around in the case of failed builds, and due to missing label support, the image will never be cleaned up.
2025-11-09 20:21:10 -05:00
Jose Diaz-Gonzalez
b21b58ed38 fix: remove extra _ 2025-11-09 20:21:10 -05:00
Jose Diaz-Gonzalez
0840976265 fix: add references to BUILDKIT_HOST for setup and fix tests 2025-11-09 20:21:09 -05:00
Jose Diaz-Gonzalez
300a276ed0 chore: bump version in plugin.toml 2025-11-09 20:21:09 -05:00
Jose Diaz-Gonzalez
6b27f424db fix: remove extra space 2025-11-09 20:21:09 -05:00
Jose Diaz-Gonzalez
9f33459266 fix: set BIN_DIR 2025-11-09 20:21:09 -05:00
Jose Diaz-Gonzalez
ee467e6793 fix: inject labels after the image is built by railpack
Railpack doesn't support the --label flag.
2025-11-09 20:21:09 -05:00
Jose Diaz-Gonzalez
cba345025c feat: add a Railpack builder to Dokku
Closes #7615
2025-11-09 20:21:09 -05:00
Jose Diaz-Gonzalez
837c3db042 Merge pull request #8085 from dokku/6846-config-import
Implement config:import command
2025-11-09 20:19:47 -05:00
Dokku Bot
8d4fc1f883 Release 0.36.11
# History

## 0.36.11

Install/update via the bootstrap script:

```shell
wget -NP . https://dokku.com/install/v0.36.11/bootstrap.sh
sudo DOKKU_TAG=v0.36.11 bash bootstrap.sh
```

### Bug Fixes

- #8084: @josegonzalez Use the correct case for AS in Dockerfile
- #8083: @josegonzalez Use correct variable for tasks
- #8081: @josegonzalez Error out if the appname or app.json is missing when retrieving cron entries

### Refactors

- #8082: @josegonzalez Standardize naming in cron code

### Dependencies

- #8073: @dependabot[bot] chore(deps): bump timberio/vector from 0.50.0-debian to 0.51.0-debian in /plugins/logs
- #8080: @dependabot[bot] chore(deps): bump github.com/containerd/containerd from 1.7.28 to 1.7.29 in /plugins/scheduler-k3s
- #8079: @dependabot[bot] chore(deps): bump golang from 1.25.3 to 1.25.4 in /tests/apps/zombies-dockerfile-tini
- #8075: @dependabot[bot] chore(deps): bump golang from 1.25.3 to 1.25.4 in /tests/apps/go-fail-postdeploy
- #8078: @dependabot[bot] chore(deps): bump golang from 1.25.3 to 1.25.4 in /tests/apps/go-fail-predeploy
- #8077: @dependabot[bot] chore(deps): bump golang from 1.25.3 to 1.25.4 in /tests/apps/zombies-dockerfile-no-tini
- #8076: @dependabot[bot] chore(deps): bump golang from 1.25.3 to 1.25.4 in /tests/apps/gogrpc
- #8072: @dependabot[bot] chore(deps): update markdown requirement from <3.10,>=3.2.1 to >=3.2.1,<3.11 in /docs/_build
- #8074: @dependabot[bot] chore(deps): bump django from 5.2.7 to 5.2.8 in /tests/apps/dockerfile-release
- #8071: @dependabot[bot] chore(deps): bump mkdocs-material from 9.6.22 to 9.6.23 in /docs/_build
- #8068: @dependabot[bot] chore(deps): bump traefik from 3.5.3 to 3.5.4 in /plugins/traefik-vhosts
- #8069: @dependabot[bot] chore(deps): bump github.com/kedacore/keda/v2 from 2.18.0 to 2.18.1 in /plugins/scheduler-k3s
- #8066: @dependabot[bot] chore(deps): bump github.com/traefik/traefik/v2 from 2.11.29 to 2.11.30 in /plugins/scheduler-k3s
v0.36.11
2025-11-08 06:24:58 +00:00
Jose Diaz-Gonzalez
97f2dc81c7 fix: simplify tests 2025-11-08 01:22:31 -05:00
Jose Diaz-Gonzalez
770d150c7c fix: correct lint issue 2025-11-08 01:17:50 -05:00
Jose Diaz-Gonzalez
e134c314ea feat: implement config:import command
Closes #6846
2025-11-08 01:02:19 -05:00
Jose Diaz-Gonzalez
48fd2b3862 Merge pull request #8084 from dokku/fix-dockerfile-casing
Use the correct case for AS in Dockerfile
2025-11-08 00:16:51 -05:00
Jose Diaz-Gonzalez
b4dd50731a fix: use the correct case for AS in Dockerfile 2025-11-08 00:16:01 -05:00
Jose Diaz-Gonzalez
24d8083fad Merge pull request #8083 from dokku/fix-cron-variable
fix: use correct variable for tasks
2025-11-08 00:11:32 -05:00
Jose Diaz-Gonzalez
593a4c8170 fix: use correct variable for tasks 2025-11-08 00:09:07 -05:00
Jose Diaz-Gonzalez
12dbbda68c Merge pull request #8082 from dokku/rename-cron-code
Standardize naming in cron code
2025-11-07 23:59:18 -05:00