Commit Graph

4465 Commits

Author SHA1 Message Date
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
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
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
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
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
e134c314ea feat: implement config:import command
Closes #6846
2025-11-08 01:02:19 -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
Jose Diaz-Gonzalez
791f53ab47 refactor: rename command to task in cron code 2025-11-07 22:41:00 -05:00
Jose Diaz-Gonzalez
82cab643a8 chore: standardize on cron task vs any other naming 2025-11-07 22:36:00 -05:00
Jose Diaz-Gonzalez
b598af67b9 refactor: rename CronCommand to DokkuRunCommand
This better reflects what it does.
2025-11-07 22:32:44 -05:00
Jose Diaz-Gonzalez
3915d25d84 refactor: rename cron entry to cron task
This naming better suits what it is we are fetching.
2025-11-07 22:30:54 -05:00
Jose Diaz-Gonzalez
c52e947df1 fix: error out if the appname or app.json is missing when retrieving cron entries 2025-11-07 22:17:13 -05:00
Jose Diaz-Gonzalez
5614a4c702 Merge pull request #8073 from dokku/dependabot/docker/plugins/logs/timberio/vector-0.51.0-debian
chore(deps): bump timberio/vector from 0.50.0-debian to 0.51.0-debian in /plugins/logs
2025-11-07 21:57:09 -05:00
dependabot[bot]
f88c427a41 chore(deps): bump github.com/containerd/containerd
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.7.28 to 1.7.29.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.7.28...v1.7.29)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-version: 1.7.29
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-06 15:25:56 +00:00
dependabot[bot]
f4b946e32d chore(deps): bump timberio/vector in /plugins/logs
Bumps timberio/vector from 0.50.0-debian to 0.51.0-debian.

---
updated-dependencies:
- dependency-name: timberio/vector
  dependency-version: 0.51.0-debian
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-05 13:10:51 +00:00
Jose Diaz-Gonzalez
55c8a58686 Merge pull request #8068 from dokku/dependabot/docker/plugins/traefik-vhosts/traefik-3.5.4
chore(deps): bump traefik from 3.5.3 to 3.5.4 in /plugins/traefik-vhosts
2025-10-30 21:44:44 -04:00
dependabot[bot]
88b1b18494 chore(deps): bump github.com/kedacore/keda/v2 in /plugins/scheduler-k3s
Bumps [github.com/kedacore/keda/v2](https://github.com/kedacore/keda) from 2.18.0 to 2.18.1.
- [Release notes](https://github.com/kedacore/keda/releases)
- [Changelog](https://github.com/kedacore/keda/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kedacore/keda/compare/v2.18.0...v2.18.1)

---
updated-dependencies:
- dependency-name: github.com/kedacore/keda/v2
  dependency-version: 2.18.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-30 13:31:23 +00:00
dependabot[bot]
0ea265f832 chore(deps): bump traefik from 3.5.3 to 3.5.4 in /plugins/traefik-vhosts
Bumps traefik from 3.5.3 to 3.5.4.

---
updated-dependencies:
- dependency-name: traefik
  dependency-version: 3.5.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-29 13:11:49 +00:00
dependabot[bot]
e88df23fdb chore(deps): bump github.com/traefik/traefik/v2
Bumps [github.com/traefik/traefik/v2](https://github.com/traefik/traefik) from 2.11.29 to 2.11.30.
- [Release notes](https://github.com/traefik/traefik/releases)
- [Changelog](https://github.com/traefik/traefik/blob/v2.11.30/CHANGELOG.md)
- [Commits](https://github.com/traefik/traefik/compare/v2.11.29...v2.11.30)

---
updated-dependencies:
- dependency-name: github.com/traefik/traefik/v2
  dependency-version: 2.11.30
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-28 13:13:09 +00:00
Dokku Bot
f897dc0034 Release 0.36.10
# History

## 0.36.10

Install/update via the bootstrap script:

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

### Bug Fixes

- #8063: @othercorey Use -t instead of deprecated --time in stop commands
- #8058: @josegonzalez Ensure the pre-receive hook and URLS files are correct when cloning or renaming apps
- #8059: @josegonzalez Expand variables for release tasks
- #8060: @josegonzalez Use updated http2 directive for setting http2 support

### Documentation

- #8051: @othercorey Fix "its" in Caddy SSL configuration documentation

### Dependencies

- #8065: @dependabot[bot] chore(deps): bump actions/upload-artifact from 4 to 5
- #8064: @dependabot[bot] chore(deps): bump actions/download-artifact from 5 to 6
- #8057: @dependabot[bot] chore(deps): bump node from 24-alpine to 25-alpine in /tests/apps/dockerfile-procfile-bad
- #8056: @dependabot[bot] chore(deps): bump node from 24-alpine to 25-alpine in /tests/apps/dockerfile-app-json-formations
- #8055: @dependabot[bot] chore(deps): bump node from 24-alpine to 25-alpine in /tests/apps/dockerfile-procfile
- #8054: @dependabot[bot] chore(deps): bump node from 24-alpine to 25-alpine in /tests/apps/dockerfile
- #8053: @dependabot[bot] chore(deps): bump node from 24-alpine to 25-alpine in /tests/apps/dockerfile-noexpose
2025-10-27 18:28:20 +00:00
Jose Diaz-Gonzalez
447e716da2 Merge pull request #8063 from othercorey/stop-timeout
Use -t instead of deprecated --time in stop commands
2025-10-27 14:26:30 -04:00
Jose Diaz-Gonzalez
68a62e9f00 Merge pull request #8058 from dokku/8035-clone-rename-push-fix
Ensure the pre-receive hook and URLS files are correct when cloning or renaming apps
2025-10-27 01:55:34 -04:00
Jose Diaz-Gonzalez
528746cf6c Merge pull request #8059 from dokku/8050-release-expansion
Expand variables for release tasks
2025-10-27 01:55:25 -04:00
Jose Diaz-Gonzalez
0033a52e28 fix: ignore extra strings on the nginx ubuntu version 2025-10-27 00:19:41 -04:00
Corey Taylor
2362232fe2 Use -t instead of deprecated --time in stop commands 2025-10-25 14:24:35 -05:00
Jose Diaz-Gonzalez
8afe8d5f13 refactor: use fn-git-create-hook 2025-10-25 07:20:17 -04:00
Jose Diaz-Gonzalez
933a174dfd fix: use updated http2 directive for setting http2 support
Closes #7997
2025-10-19 23:51:17 -04:00
Jose Diaz-Gonzalez
9d711cbb44 fix: expand variables for release tasks
Procfile commands need to be expanded with actual environment variables as procfile-util will otherwise empty them out. This doesn't happen for app.json scripts as they are never expanded until the docker container gets created.

Closes #8050
2025-10-19 23:33:12 -04:00
Jose Diaz-Gonzalez
efd25cfb45 fix: ensure the pre-receive hook and URLS files are correct when cloning or renaming apps
Closes #8035
2025-10-19 22:20:49 -04:00
Tasos Maschalidis
ca03ea72f5 Remove unnecessary re-assignment of workDir variable 2025-10-17 19:21:49 +03:00
Dokku Bot
a7a4098a89 Release 0.36.9
# History

## 0.36.9

Install/update via the bootstrap script:

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

### Bug Fixes

- #8032: @josegonzalez Set correct labels for tests/apps/dockerfile-release pip updates

### New Features

- #8047: @josegonzalez Add ability to disable letsencrypt for a given application or globally

### Dependencies

- #8049: @dependabot[bot] chore(deps): bump github.com/cert-manager/cert-manager from 1.19.0 to 1.19.1 in /plugins/scheduler-k3s
- #8048: @dependabot[bot] chore(deps): bump mkdocs-material from 9.6.21 to 9.6.22 in /docs/_build
- #8042: @dependabot[bot] chore(deps): bump django from 5.1.13 to 5.2.7 in /tests/apps/dockerfile-release
- #8043: @dependabot[bot] chore(deps): bump whitenoise from 6.2.0 to 6.11.0 in /tests/apps/dockerfile-release
- #8044: @dependabot[bot] chore(deps): bump djangorestframework from 3.15.2 to 3.16.1 in /tests/apps/dockerfile-release
- #8045: @dependabot[bot] chore(deps): bump psycopg2-binary from 2.9.5 to 2.9.11 in /tests/apps/dockerfile-release
- #8046: @dependabot[bot] chore(deps): bump dj-database-url from 1.0.0 to 3.0.1 in /tests/apps/dockerfile-release
- #8041: @dependabot[bot] chore(deps): bump golang from 1.25.2 to 1.25.3 in /tests/apps/gogrpc
- #8040: @dependabot[bot] chore(deps): bump golang from 1.25.2 to 1.25.3 in /tests/apps/go-fail-predeploy
- #8039: @dependabot[bot] chore(deps): bump golang from 1.25.2 to 1.25.3 in /tests/apps/zombies-dockerfile-no-tini
- #8037: @dependabot[bot] chore(deps): bump golang from 1.25.2 to 1.25.3 in /tests/apps/go-fail-postdeploy
- #8038: @dependabot[bot] chore(deps): bump golang from 1.25.2 to 1.25.3 in /tests/apps/zombies-dockerfile-tini
- #8036: @dependabot[bot] chore(deps): bump actions/setup-node from 5 to 6
- #8033: @dependabot[bot] chore(deps): bump github.com/gofrs/flock from 0.12.1 to 0.13.0 in /plugins/scheduler-k3s
- #8034: @dependabot[bot] chore(deps): bump github.com/kedacore/keda/v2 from 2.17.1-0.20250708210620-a239d2459a35 to 2.18.0 in /plugins/scheduler-k3s
2025-10-17 03:55:38 +00:00
Jose Diaz-Gonzalez
0119155232 Merge pull request #8047 from dokku/disable-letsencrypt
Add ability to disable letsencrypt for a given application or globally
2025-10-16 23:51:56 -04:00