Commit Graph

10925 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
80fb3fea08 fix: run core install triggers to force create any folders that may be missing 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
bbff88a8fb fix: run dokku commands after setting dokku env vars 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
0633f491ba fix: set CID variable 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
cacd6a9a14 debug: show the entire inspect output 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
ffd8fddff1 chore: separate out docker setup and check the contents of the nginx sudoers file 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
cda0e4150d debug: turn on trace mode when deleting apps 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
50da726697 chore: update express and node in check-root app 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
9110e2c365 chore: use python3 instead of python 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
ce1c7543d2 fix: correct issues in tests referencing now missing python binary 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
5b511a5f28 fix: revert chown on ssh config file 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
0a4f36c865 feat: upgrade docker container to ubuntu noble 2024-09-21 17:20:20 -04:00
Jose Diaz-Gonzalez
7334692d00 fix: correct sudoers.so file location on ubuntu noble 2024-09-21 17:20:19 -04:00
Jose Diaz-Gonzalez
d55ba8e189 fix: detect correct init when interacting with rsyslog on install
This change also skips running a restart of rsyslog as during install, the service isn't properly initiated. While this breaks upgrades of Dokku within containers, that is not how upgrades of container-based Dokku should work, so this is a fine trade-off.
2024-09-21 17:20:19 -04:00
Jose Diaz-Gonzalez
1f9e22eed2 fix: ensure rsyslog is always available before dokku is installed 2024-09-21 17:20:19 -04:00
Jose Diaz-Gonzalez
5493ca5978 fix: force sv usage in docker container to avoid cases where systemd is used instead
On newer Ubuntu Noble, cron (among other things) has a transitory dependency on systemd, forcing our systemd/runit detection to fail. This change allows overriding the detected init on Ubuntu systems, ensuring we always do the right thing when interacting with init.
2024-09-21 17:20:19 -04:00
Jose Diaz-Gonzalez
8a6c22ad6c fix: ensure UsePAM is on to enable sshcommand usage 2024-09-21 17:20:19 -04:00
Jose Diaz-Gonzalez
b24d5f497d feat: disable password authentication to dokku docker container
This is insecure and isn't necessary as the container is only used for push-based deployment.
2024-09-21 17:20:19 -04:00
Jose Diaz-Gonzalez
53f209b307 chore: vendor sshd_config file
This will allow better diffing once features are enabled/disabled.
2024-09-21 17:20:19 -04:00
Jose Diaz-Gonzalez
e8494f94ae chore: ensure ssh config file has the correct permissions 2024-09-21 17:20:19 -04:00
Jose Diaz-Gonzalez
62780a8112 Merge pull request #7166 from dokku/upgrade-herokuish
Upgrade herokuish
2024-09-21 17:19:37 -04:00
Jose Diaz-Gonzalez
e2978233bb feat: upgrade herokuish from 0.9.2 to 0.10.1 2024-09-21 17:18:32 -04:00
Jose Diaz-Gonzalez
d8ae741a94 Merge pull request #7164 from dokku/7089-uninstall-systemd
fix: remove systemd on docker-based installations
2024-09-21 02:42:24 -04:00
Jose Diaz-Gonzalez
cea4f5f444 fix: remove systemd on docker-based installations
The systemd package was installed by default for some reason, causing issues when interacting with init processes. Specifically, we would detect systemctl on runit systems and incorrectly invoke that when restarting processes.

Additionally, ensure the copied binaries are executable.

Closes #7089
2024-09-21 02:06:18 -04:00
Jose Diaz-Gonzalez
76e3ef6749 docs: revert incorrect doc change 2024-09-20 21:39:47 -04:00
Jose Diaz-Gonzalez
1f175cacd6 Merge pull request #7075 from dokku/upgrade-herokuish-builder
Upgrade herokuish builder to gliderlabs/herokuish:latest-24
2024-09-20 21:37:59 -04:00
Jose Diaz-Gonzalez
3f7d12e35c Merge pull request #7077 from bakatz/patch-1
Add cron dependency because it's necessary to run scheduled cron jobs
2024-09-20 21:34:19 -04:00
Ben Katz
9965fa8540 Merge branch '0.35-release' into patch-1 2024-08-28 12:05:34 +07:00
Ben Katz
cb206eb2b7 Update scheduled-cron-tasks.md 2024-08-27 17:32:38 +07:00
Ben Katz
45285761aa Add cron to debian control 2024-08-27 17:31:41 +07:00
Ben Katz
04a5818d21 Update scheduled-cron-tasks.md 2024-08-26 20:53:32 +07:00
Jose Diaz-Gonzalez
8f5dbe61d9 feat: upgrade herokuish builder to gliderlabs/herokuish:latest-24 2024-08-26 04:20:52 -04:00
Jose Diaz-Gonzalez
b95cff8792 Merge pull request #6853 from Reggino/master
Support Ubuntu 24.04 LTS
2024-08-26 04:14:01 -04:00
Jose Diaz-Gonzalez
890359af58 Merge pull request #6762 from dokku/update-docker-compose-version
Upgrade docker compose version in use
2024-08-26 04:13:43 -04:00
Jose Diaz-Gonzalez
eba37acafe Merge pull request #6784 from dokku/josegonzalez-patch-1
Remove --restart docker arguments when not running deploy-phase containers
2024-08-26 00:41:56 -04:00
Jose Diaz-Gonzalez
3359c049e3 Merge pull request #7073 from dokku/drop-codacy
chore: drop codacy
2024-08-26 00:41:24 -04:00
Jose Diaz-Gonzalez
92ff40e650 chore: drop codacy
The output isn't checked by me, currently has errors scanning the repo, and hasn't helped improve the project in some time.
2024-08-26 00:40:40 -04:00
Jose Diaz-Gonzalez
c639387bfc Merge pull request #6985 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/traefik/traefik/v2-2.11.6
chore(deps): bump github.com/traefik/traefik/v2 from 2.10.7 to 2.11.6 in /plugins/scheduler-k3s
2024-08-26 00:38:46 -04:00
Jose Diaz-Gonzalez
6672f1a558 Merge pull request #7014 from dokku/dependabot/docker/plugins/logs/timberio/vector-0.40.0-debian
chore(deps): bump timberio/vector from 0.39.0-debian to 0.40.0-debian in /plugins/logs
2024-08-26 00:38:31 -04:00
Jose Diaz-Gonzalez
12648e0bc6 feat: remove --restart docker arguments when not running deploy-phase containers
This works around cases where developers may inadvertently add this to `run` containers which _should not_ have the `--restart` flag. Run containers are one-off, and if they fail, then they should fail hard.
2024-08-25 23:33:49 -04:00
Jose Diaz-Gonzalez
e5bf88a14d feat: upgrade docker compose version in use
Also update the pinned docker version, which has long been outdated.
2024-08-25 23:33:02 -04:00
Jose Diaz-Gonzalez
ab802cb4dd feat: ensure Ubuntu Noble is properly supported by the Dokku release process
Also update doc references to use 24.04 in examples where possible.
2024-08-25 23:31:32 -04:00
Tim de Koning
c9cf54b928 Support Ubuntu 24.04 LTS
Dokku seems to work on Ubuntu 24.04
2024-08-25 23:31:32 -04:00
dependabot[bot]
139dda07f9 chore(deps): bump github.com/traefik/traefik/v2
Bumps [github.com/traefik/traefik/v2](https://github.com/traefik/traefik) from 2.10.7 to 2.11.6.
- [Release notes](https://github.com/traefik/traefik/releases)
- [Changelog](https://github.com/traefik/traefik/blob/v2.11.6/CHANGELOG.md)
- [Commits](https://github.com/traefik/traefik/compare/v2.10.7...v2.11.6)

---
updated-dependencies:
- dependency-name: github.com/traefik/traefik/v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-25 23:20:33 -04:00
dependabot[bot]
26acf44cbe chore(deps): bump timberio/vector in /plugins/logs
Bumps timberio/vector from 0.39.0-debian to 0.40.0-debian.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-25 23:17:28 -04:00
Jose Diaz-Gonzalez
c5ac13977f Merge pull request #7060 from dokku/dependabot/go_modules/plugins/cron/mvdan.cc/sh/v3-3.9.0
chore(deps): bump mvdan.cc/sh/v3 from 3.8.0 to 3.9.0 in /plugins/cron
2024-08-25 23:16:14 -04:00
dependabot[bot]
7cdb059d34 chore(deps): bump mvdan.cc/sh/v3 from 3.8.0 to 3.9.0 in /plugins/cron
Bumps [mvdan.cc/sh/v3](https://github.com/mvdan/sh) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/mvdan/sh/releases)
- [Changelog](https://github.com/mvdan/sh/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mvdan/sh/compare/v3.8.0...v3.9.0)

---
updated-dependencies:
- dependency-name: mvdan.cc/sh/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-25 05:55:24 -04:00
Jose Diaz-Gonzalez
77e9c8e4a9 Merge pull request #7071 from dokku/bump-go-version
Bump go version to 1.23.0
2024-08-25 05:53:44 -04:00
Jose Diaz-Gonzalez
c5a0935c45 fix: revert go version in test go.mod files
The herokuish version shipped as a dependency doesn't yet support this version.
2024-08-25 01:24:20 -04:00
Jose Diaz-Gonzalez
adde8c49e0 chore: run bump-modules 2024-08-25 00:24:19 -04:00
Jose Diaz-Gonzalez
8524ee3a3a chore: update go version to latest 1.23 patch 2024-08-25 00:23:50 -04:00