Commit Graph
14347 Commits
Author SHA1 Message Date
Jose Diaz-Gonzalez 4eb9586199 docs: add a migration guide for Dokku 0.35 2024-09-23 00:55:27 -04:00
Jose Diaz-Gonzalez c25071f0b8 fix: ensure testing still works in docker container environments 2024-09-23 00:33:49 -04:00
Jose Diaz-Gonzalez d6a69a838e Merge pull request #7171 from dokku/ci-on-noble
Run CI on Ubuntu Noble
2024-09-23 00:33:10 -04:00
Jose Diaz-Gonzalez b996114209 chore: remove debugging 2024-09-23 00:00:56 -04:00
Jose Diaz-Gonzalez 4c634b6fd0 debug: why ssh isnt running 2024-09-22 23:38:28 -04:00
Jose Diaz-Gonzalez 8f18c3d581 debug: update logging 2024-09-22 23:27:33 -04:00
Jose Diaz-Gonzalez 47c1b3b295 fix: restart ssh socket
https://discourse.ubuntu.com/t/sshd-now-uses-socket-based-activation-ubuntu-22-10-and-later/30189
2024-09-22 23:27:33 -04:00
Jose Diaz-Gonzalez 6a22ae05d2 debug: show active systemd services 2024-09-22 23:27:32 -04:00
Jose Diaz-Gonzalez 2c4eb67104 fix: go back to not using systemd 2024-09-22 23:27:32 -04:00
Jose Diaz-Gonzalez 08f68c6634 fix: do not wait forever and use systemctl for interacting with services 2024-09-22 23:27:32 -04:00
Jose Diaz-Gonzalez 5bb4de58d7 fix: update ssh.socket to listen on port 22333
Newer versions of sshd respect the systemd settings for listening on ports vs just the sshd_config.
2024-09-22 23:27:32 -04:00
Jose Diaz-Gonzalez 46c1e80c19 debug: check on ssh status when setting up ci 2024-09-22 23:27:32 -04:00
Jose Diaz-Gonzalez f72202c406 debug: drop trace mode to make output slightly more readable 2024-09-22 23:27:32 -04:00
Jose Diaz-Gonzalez a72cb696f6 debug: show output from ssh attempt 2024-09-22 23:27:32 -04:00
Jose Diaz-Gonzalez 93452a0e80 tests: run CI on Ubuntu Noble 2024-09-22 23:27:32 -04:00
Jose Diaz-Gonzalez ba2ddb8634 Merge pull request #7185 from dokku/vagrant-on-arm
Fix vagrant running on arm64 machines
2024-09-22 23:26:53 -04:00
Jose Diaz-Gonzalez dc84d780c8 feat: fix vagrant running on arm64 machines
The TARGETARCH must be set in order to download the correct binaries when running on arm64 machines.
2024-09-22 23:26:11 -04:00
Jose Diaz-Gonzalez 0be7965639 Merge pull request #7184 from dokku/7061-builder-prune
Clear out docker builder cache once a day
2024-09-22 22:43:26 -04:00
Jose Diaz-Gonzalez 097fb4d819 feat: clear out docker builder cache once a day
There have been a number of tickets in the past - most recently #7061 - covering the fact that Dokku doesn't clean up disk utilization. The underlying issue is that Docker uses build cache that cannot be cleaned up in a targeted way - and usually doesn't even respect the builder gc settings in a way that makes sense. In fact, the computed disk space does not line up with actual disk utilization, causing it to be a mystery to anyone investigating the underlying problem.

This change introduces a cron-based mechanism that cleans up disk once a day. Cleaning up more often would potentially cause issues during a build if for some reason the prune and an app deploy happened at the same time - its not clear if there is a lock on build cache usage - so cleaning up after hours once a day is a decent tradeoff.

In the future, this setting may be modifiable, but it works well for now.

Closes #7061
2024-09-22 22:15:08 -04:00
Jose Diaz-Gonzalez e1c95ffaa7 Merge pull request #7183 from dokku/7181-warn-on-missing-dockerfile
Error out when the Dockerfile is missing during builder-dockerfile execution
2024-09-22 21:47:27 -04:00
Jose Diaz-Gonzalez 3649168f15 feat: error out when the Dockerfile is missing during builder-dockerfile execution
Users may inadvertently set the builder to 'dockerfile' and have build errors when there is no Dockerfile. This change makes it clear that the dockerfile _must_ exist in order for the build to succeed.

Closes #7181
2024-09-22 20:16:19 -04:00
Jose Diaz-Gonzalez 0900ed204c Merge pull request #7179 from dokku/compose-version
Remove references to version in compose files
2024-09-22 02:46:07 -04:00
Jose Diaz-Gonzalez 4c85b1fad7 Merge pull request #7180 from dokku/traefik-doc-fixes
Reference actual properties for enabling the traefik api and dashboard
2024-09-22 02:45:59 -04:00
Jose Diaz-Gonzalez 823a10712e Merge pull request #7035 from dokku/dependabot/docker/plugins/traefik-vhosts/traefik-3.1.2
chore(deps): bump traefik from 2.11.2 to 3.1.2 in /plugins/traefik-vhosts
2024-09-22 02:45:45 -04:00
Jose Diaz-Gonzalez 85b79775ef Merge pull request #7074 from dokku/6994-upgrade-cnb-builder
Upgrade cnb builder to heroku/builder:24
2024-09-22 01:40:22 -04:00
Jose Diaz-Gonzalez 13fb40defd docs: reference actual properties for enabling the traefik api and dashboard 2024-09-22 01:39:41 -04:00
Jose Diaz-Gonzalez 830f2f2b01 chore: remove references to version in compose files
This is now deprecated and causes a warning to be raised.
2024-09-22 01:38:44 -04:00
Jose Diaz-Gonzalez 02cfe5d653 fix: set multiple hosts via logical operators to conform to new v3 syntax 2024-09-22 01:37:39 -04:00
dependabot[bot] c0c66e7d88 chore(deps): bump traefik in /plugins/traefik-vhosts
Bumps traefik from 2.11.2 to 3.1.2.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-22 01:11:52 -04:00
Jose Diaz-Gonzalez 71b28721f7 fix: correct issues with python3 no longer being available by default 2024-09-22 01:02:14 -04:00
Jose Diaz-Gonzalez 880f32f4e2 feat: upgrade cnb builder to heroku/builder:24 2024-09-22 00:23:58 -04:00
Jose Diaz-Gonzalez 9ec7631540 Merge pull request #7173 from dokku/builder-on-noble
Upgrade builder docker image to Ubuntu Noble
2024-09-22 00:16:03 -04:00
Jose Diaz-Gonzalez 529b964ade Merge pull request #7176 from dokku/ci-packages-from-noble
Fetch packages installed in ci from Ubuntu Noble repo
2024-09-22 00:15:45 -04:00
Jose Diaz-Gonzalez b4058077c4 Merge pull request #7177 from dokku/dockerfile-apt-repo
Reference noble apt repository and not focal
2024-09-22 00:15:35 -04:00
Jose Diaz-Gonzalez 087f0e35a0 fix: ensure dependencies for sshcommand are available for the build process 2024-09-21 23:04:39 -04:00
Jose Diaz-Gonzalez 4958768ba7 feat: upgrade builder docker image to Ubuntu Noble 2024-09-21 22:25:29 -04:00
Jose Diaz-Gonzalez b015d97d60 Merge pull request #7178 from dokku/7124-fix-link
Fix link to docs site
2024-09-21 21:10:56 -04:00
Jose Diaz-Gonzalez cc75b96e20 docs: fix link to docs site
Closes #7124
2024-09-21 21:10:32 -04:00
Jose Diaz-Gonzalez deb4891b2b fix: reference noble apt repository and not focal 2024-09-21 20:50:36 -04:00
Jose Diaz-Gonzalez 58396b345d tests: fetch packages installed in ci from Ubuntu Noble repo 2024-09-21 20:47:48 -04:00
Jose Diaz-Gonzalez 84aa0eca18 Merge pull request #7175 from dokku/digitalocean-on-noble
feat: upgrade digitalocean image to Ubuntu Noble
2024-09-21 20:46:11 -04:00
Jose Diaz-Gonzalez fb335107f6 feat: upgrade digitalocean image to Ubuntu Noble 2024-09-21 20:45:48 -04:00
Jose Diaz-Gonzalez 0cfb447f42 fix: correct shellcheck errors 2024-09-21 20:40:35 -04:00
Jose Diaz-Gonzalez 386298a891 Merge pull request #7174 from dokku/vagrant-on-noble
Upgrade vagrant image to Ubuntu Noble
2024-09-21 20:37:16 -04:00
Jose Diaz-Gonzalez ebb5201416 feat: upgrade vagrant image to Ubuntu Noble 2024-09-21 20:36:50 -04:00
Jose Diaz-Gonzalez fd59504781 Merge pull request #7139 from dokku/dependabot/docker/plugins/logs/timberio/vector-0.41.1-debian
chore(deps): bump timberio/vector from 0.39.0-debian to 0.41.1-debian in /plugins/logs
2024-09-21 20:16:27 -04:00
Jose Diaz-Gonzalez d2dfcf2de5 Merge branch '0.35-release' into dependabot/docker/plugins/logs/timberio/vector-0.41.1-debian 2024-09-21 20:16:14 -04:00
Jose Diaz-Gonzalez e94866ce13 Merge pull request #7148 from dokku/dependabot/docker/plugins/openresty-vhosts/dokku/openresty-docker-proxy-0.9.0
chore(deps): bump dokku/openresty-docker-proxy from 0.8.0 to 0.9.0 in /plugins/openresty-vhosts
2024-09-21 20:15:08 -04:00
Jose Diaz-Gonzalez ec095578dd Merge pull request #7088 from andreby/master
Handle the case where parent PID is 0
2024-09-21 20:12:26 -04:00
Jose Diaz-Gonzalez aa69d9bf11 Merge pull request #7101 from strugee/patch-1
Fix typo in CNB documentation
2024-09-21 20:10:41 -04:00