Commit Graph

10942 Commits

Author SHA1 Message Date
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
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
Charly Koza
3f70b1238c build: fix building when jq is not available.
docker-image-labeler default DOCKER_IMAGE_LABELER_URL uses jq,
so jq needs to be available first.

This happens for example when using `vagrant up dokku-window`.

Fixes #7155
2024-09-18 15:39:53 +02:00
Charly Koza
960166b0f7 fix(builder-herokuish): fix ARG default value
[Documentation](https://docs.docker.com/reference/dockerfile/#arg)
indicates that arguments must be passed using equal sign `=`.

This fixes error "ARG requires exactly one argument" using Docker
20.10.12 (and possibly many other versions).
2024-09-16 11:21:01 +02:00
Ben Katz
9965fa8540 Merge branch '0.35-release' into patch-1 2024-08-28 12:05:34 +07:00
andreby
86cadfd43e fix: handle the case where parent PID is 0
This happens inside an LXD VM.

Closes #7082
2024-08-28 06:34:42 +02: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