Jose Diaz-Gonzalez
3355f16a30
Merge pull request #7163 from dokku/0.35-release
...
Release 0.35.0
2024-09-23 01:04:53 -04:00
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
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
Jose Diaz-Gonzalez
122f355016
Merge pull request #7147 from F4-Group/fix-docker-arg
...
fix(builder-herokuish): fix ARG default value
2024-09-21 20:10:00 -04:00
Jose Diaz-Gonzalez
4c03199557
Merge pull request #7172 from dokku/ci-release-on-noble
...
Run CI release processes on Ubuntu Noble
2024-09-21 19:49:31 -04:00
Jose Diaz-Gonzalez
5b974d529e
Merge pull request #7170 from dokku/ci-codeql-on-noble
...
Run CI codeql analysis on Ubuntu Noble
2024-09-21 19:48:12 -04:00
Jose Diaz-Gonzalez
33208e663d
Merge pull request #7169 from dokku/ci-docs-on-noble
...
Run CI doc generation on Ubuntu Noble
2024-09-21 19:47:30 -04:00
Jose Diaz-Gonzalez
8e853f5434
Merge pull request #7168 from dokku/lint-on-noble
...
Run CI linting on Ubuntu Noble
2024-09-21 19:47:20 -04:00
Jose Diaz-Gonzalez
a594c517c8
tests: run CI release processes on Ubuntu Noble
2024-09-21 19:47:00 -04:00
Jose Diaz-Gonzalez
b1406c6f65
tests: run CI codeql analysis on Ubuntu Noble
2024-09-21 19:44:36 -04:00
Jose Diaz-Gonzalez
4e927a1d1e
tests: run CI doc generation on Ubuntu Noble
2024-09-21 19:43:28 -04:00
Jose Diaz-Gonzalez
d023f252c3
feat: run CI linting on Ubuntu Noble
2024-09-21 19:42:40 -04:00
Jose Diaz-Gonzalez
68e1bb08b9
Merge pull request #7165 from dokku/upgrade-to-noble
...
Upgrade to Ubuntu Noble 24.04
2024-09-21 19:19:21 -04:00
Jose Diaz-Gonzalez
43b27c90e4
Merge pull request #7157 from F4-Group/fix-jq-dependency
...
Fix building in vagrant when jq is not available
2024-09-21 18:48:26 -04:00
Jose Diaz-Gonzalez
7605c9a84a
fix: correctly check the phase for filtering deploy-related options
2024-09-21 18:46:03 -04:00
Jose Diaz-Gonzalez
2eb5bf959c
Revert "debug: turn on trace mode when deleting apps"
...
This reverts commit cda0e4150d .
2024-09-21 18:09:46 -04:00
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
Jose Diaz-Gonzalez
b7de048b17
Merge pull request #7100 from no0dles/master
...
SVG gets modified on release
2024-09-20 21:32:59 -04: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