Commit Graph
100 Commits
Author SHA1 Message Date
Jose Diaz-Gonzalez a5e2b51bc2 Merge pull request #6807 from dokku/bump-modules
chore: bump go modules
2024-04-05 13:35:10 -04:00
Jose Diaz-Gonzalez 31b07c429e chore: bump go modules 2024-04-05 12:40:56 -04:00
Jose Diaz-Gonzalez 7aed4d46d6 Merge pull request #6805 from dokku/dependabot/go_modules/plugins/common/golang.org/x/sync-0.7.0
chore(deps): bump golang.org/x/sync from 0.6.0 to 0.7.0 in /plugins/common
2024-04-05 12:39:38 -04:00
Jose Diaz-Gonzalez 977284fbe6 Merge pull request #6806 from dokku/dependabot/go_modules/plugins/common/golang.org/x/crypto-0.22.0
chore(deps): bump golang.org/x/crypto from 0.21.0 to 0.22.0 in /plugins/common
2024-04-05 12:38:56 -04:00
Jose Diaz-Gonzalez 11fb884107 Merge pull request #6803 from dokku/dependabot/go_modules/plugins/scheduler-docker-local/golang.org/x/sync-0.7.0
chore(deps): bump golang.org/x/sync from 0.6.0 to 0.7.0 in /plugins/scheduler-docker-local
2024-04-05 12:38:19 -04:00
Jose Diaz-Gonzalez d6f2107ccc Merge pull request #6804 from dokku/dependabot/go_modules/plugins/app-json/golang.org/x/sync-0.7.0
chore(deps): bump golang.org/x/sync from 0.6.0 to 0.7.0 in /plugins/app-json
2024-04-05 12:38:14 -04:00
Jose Diaz-Gonzalez 0b2ee9c905 Merge pull request #6801 from dokku/6764-invalid-proxy
Guard against invalid proxy values due to move of port mapping to ports plugin
2024-04-05 00:25:40 -04:00
Jose Diaz-Gonzalez 5ecfa7e532 Merge pull request #6802 from dokku/josegonzalez-patch-2
Update test for new deployment task output
2024-04-05 00:25:27 -04:00
Jose Diaz-Gonzalez 9678c1c0b8 tests: update test for new deployment task output 2024-04-04 23:21:22 -04:00
Jose Diaz-Gonzalez 1909fa7fdf fix: guard against invalid proxy values due to move of port mapping to ports plugin
Users somewhat infrequently set a port mapping as the proxy type, causing issues in exposing apps publicly. Ideally we list out the available proxy types, but that would be a potential bc-break for non-core plugins, so this is the way to go for now.

Closes #6764
2024-04-04 23:01:59 -04:00
Jose Diaz-Gonzalez 96cac23c8f Merge pull request #6800 from dokku/6761-ephemeral-deployment-tasks
Update message for deployment tasks that execute in ephemeral containers
2024-04-04 22:49:42 -04:00
Jose Diaz-Gonzalez a1bf046771 feat: update message for deployment tasks that execute in ephemeral containers
Closes #6761
2024-04-04 22:49:34 -04:00
Jose Diaz-Gonzalez a39e85df92 Merge pull request #6798 from dokku/scheduler-k3s-app-status
Implement missing scheduler-app-status trigger in k3s scheduler plugin
2024-04-04 22:48:15 -04:00
Jose Diaz-Gonzalez 12e6de3137 Merge pull request #6799 from dokku/6732-registry-required
Document that a registry is required for k3s usage
2024-04-04 22:19:09 -04:00
Jose Diaz-Gonzalez 80bf1cb93b docs: document that a registry is required for k3s usage
Closes #6732
2024-04-04 22:18:49 -04:00
Jose Diaz-Gonzalez 4397533fd7 fix: implement missing scheduler-app-status trigger in k3s scheduler plugin 2024-04-04 22:14:39 -04:00
Jose Diaz-Gonzalez b99cf19c4c Merge pull request #6794 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.22.2
chore(deps): bump golang from 1.22.1 to 1.22.2 in /tests/apps/zombies-dockerfile-tini
2024-04-04 20:23:39 -04:00
Jose Diaz-Gonzalez 935d28a83b Merge pull request #6796 from dokku/dependabot/docker/tests/apps/gogrpc/golang-1.22.2
chore(deps): bump golang from 1.22.1 to 1.22.2 in /tests/apps/gogrpc
2024-04-04 20:23:33 -04:00
Jose Diaz-Gonzalez 5946c9b756 Merge pull request #6793 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-no-tini/golang-1.22.2
chore(deps): bump golang from 1.22.1 to 1.22.2 in /tests/apps/zombies-dockerfile-no-tini
2024-04-04 20:19:58 -04:00
Jose Diaz-Gonzalez 7d53e7a012 Merge pull request #6797 from dokku/dependabot/docker/tests/apps/go-fail-postdeploy/golang-1.22.2
chore(deps): bump golang from 1.22.1 to 1.22.2 in /tests/apps/go-fail-postdeploy
2024-04-04 20:18:46 -04:00
Jose Diaz-Gonzalez b99fa7f1cf Merge pull request #6795 from dokku/dependabot/go_modules/tests/apps/gogrpc/google.golang.org/grpc-1.63.0
chore(deps): bump google.golang.org/grpc from 1.62.1 to 1.63.0 in /tests/apps/gogrpc
2024-04-04 20:17:16 -04:00
Jose Diaz-Gonzalez 3392d21a8b Merge pull request #6792 from dokku/dependabot/docker/tests/apps/go-fail-predeploy/golang-1.22.2
chore(deps): bump golang from 1.22.1 to 1.22.2 in /tests/apps/go-fail-predeploy
2024-04-04 20:10:45 -04:00
Jose Diaz-Gonzalez c3d5d6e646 Merge pull request #6791 from dokku/release-script-refactor
Correct issue where pre-deploy scripts do not have root access
2024-04-04 03:39:20 -04:00
Jose Diaz-Gonzalez 9d6201985e fix: ensure everything in /app is correctly chowned 2024-04-04 02:58:48 -04:00
Jose Diaz-Gonzalez 1a07025e99 chore: deprecate the pre-deploy trigger in favor of the pre-release-builder trigger 2024-04-04 02:36:01 -04:00
Jose Diaz-Gonzalez 104a5b4a93 refactor: execute the predeploy script during the pre-release-builder plugin trigger
This fixes an issue where the post-release-builder trigger inadvertently modifies the image. We take advantage of the fact that env vars are available at the `pre-release-builder` phase to ensure any image modifications occur as appropriate.
2024-04-04 02:34:09 -04:00
Jose Diaz-Gonzalez 2937ffb880 fix: make the env vars available to containers created during the pre-release process
We still re-add them in the builder-release phase to ensure users don't set incorrect ones in a custom trigger.
2024-04-04 02:29:01 -04:00
Jose Diaz-Gonzalez ad5537c086 refactor: directly trigger pre-deploy hook from post-release-builder script
This removes the extra indirection in the deploy process for triggering the hooks.
2024-04-04 02:27:43 -04:00
Jose Diaz-Gonzalez 77ffc27e34 Merge pull request #6788 from bumblefudge/typo-patch-in-docs
Fix typos in nginx documentation
2024-04-04 00:16:57 -04:00
Jose Diaz-Gonzalez 75db57191b Merge pull request #6789 from crazehang/master
Fix typos in documentation
2024-04-04 00:16:22 -04:00
Jose Diaz-Gonzalez 7d6c72047c Merge pull request #6786 from dokku/dependabot/pip/tests/apps/python-flask/werkzeug-3.0.2
chore(deps): bump werkzeug from 3.0.1 to 3.0.2 in /tests/apps/python-flask
2024-04-02 14:42:43 -04:00
Jose Diaz-Gonzalez 6f581dffaf Merge pull request #6787 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.5.17
chore(deps): bump mkdocs-material from 9.5.16 to 9.5.17 in /docs/_build
2024-04-02 14:42:34 -04:00
Jose Diaz-Gonzalez 0b9684c66b Merge pull request #6785 from dokku/update-herokuish
Update herokuish requirement to better support readonly containers
2024-04-01 17:41:47 -04:00
Jose Diaz-Gonzalez 8245f70db1 feat: update herokuish requirement to better support readonly containers
Refs #6611
2024-04-01 16:30:47 -04:00
Jose Diaz-Gonzalez 456de35b83 Merge pull request #6782 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.5.16
chore(deps): bump mkdocs-material from 9.5.15 to 9.5.16 in /docs/_build
2024-04-01 15:52:51 -04:00
Jose Diaz-Gonzalez ec30ca12f0 Merge pull request #6781 from dokku/6759-builder-global-selected
Update builder management docs to warn that globally setting a builder will force all apps to use that builder
2024-03-28 23:53:44 -04:00
Jose Diaz-Gonzalez eed8a240b6 docs: update builder management docs to warn that globally setting a builder will force all apps to use that builder
Closes #6759
2024-03-28 23:53:11 -04:00
Jose Diaz-Gonzalez 87c4627ff9 Merge pull request #6780 from dokku/6730-ssh-keys-docker-docs
Clarify ssh-keys commands to run when adding ssh keys in docker-based installation
2024-03-28 23:41:32 -04:00
Jose Diaz-Gonzalez a6cad2cca4 docs: clarify ssh-keys commands to run when adding ssh keys in docker-based installation
Closes #6730
2024-03-28 23:41:10 -04:00
Jose Diaz-Gonzalez 092d6a2da4 Merge pull request #6779 from dokku/6755-ps-set-global
Add --global flag to ps:set
2024-03-28 22:42:26 -04:00
Jose Diaz-Gonzalez 4cfd22f498 Merge pull request #6778 from dokku/6771-handle-directory-removal
Popd out of tmp directory after a git push-based deployment
2024-03-28 22:34:34 -04:00
Jose Diaz-Gonzalez 53437289f3 Merge pull request #6776 from dokku/6770-long-git-sha
Use a long git sha in the git:report output
2024-03-28 21:36:48 -04:00
Jose Diaz-Gonzalez 31002c1029 Merge pull request #6777 from dokku/6765-fix-func-name
Use correct function name in openresty:report output
2024-03-28 21:36:24 -04:00
Jose Diaz-Gonzalez 2516c79264 fix: add --global flag to ps:set
Closes #6755
2024-03-28 21:16:04 -04:00
Jose Diaz-Gonzalez d2cf2e7b91 fix: popd out of tmp directory after a git push-based deployment
Without this, we end up with PWD issues as the tmp directory is removed automatically after a build.

Closes #6771
2024-03-28 20:53:31 -04:00
Jose Diaz-Gonzalez 19a5235ec6 fix: use correct function name in openresty:report output
Closes #6765
2024-03-28 20:24:21 -04:00
Jose Diaz-Gonzalez c4c3edc167 feat: use a long git sha in the git:report output
The previous method sometimes truncated the sha, depending on how the app was deployed. Using the long sha will ensure that the value is stable, regardless of the deployment method.

Closes #6770
2024-03-28 20:22:39 -04:00
Jose Diaz-Gonzalez f4b1ce259a Merge pull request #6775 from dokku/better-herokuish-perms
Ensure files get created with the correct permissions when building with herokuish
2024-03-28 20:09:33 -04:00
Jose Diaz-Gonzalez d5d2826773 chore: update herokuish 2024-03-28 18:23:41 -04:00
Jose Diaz-Gonzalez 8265517a96 fix: ensure files get created with the correct permissions when building with herokuish
This will allow us to skip more chown operations - and hopefully eventually drop them completely.
2024-03-28 17:09:59 -04:00
Jose Diaz-Gonzalez ef043e2941 Merge pull request #6772 from dokku/dependabot/github_actions/tj-actions/changed-files-44.0.0
chore(deps): bump tj-actions/changed-files from 43.0.1 to 44.0.0
2024-03-27 12:29:26 -04:00
Jose Diaz-Gonzalez 580ce20d77 Merge pull request #6768 from dokku/remove-transitional-packages
Migrate away from transitional packages
2024-03-26 18:36:30 -04:00
Jose Diaz-Gonzalez 4a1a2a326a feat: migrate away from transitional packages
Several of the packages being installed were actually transitional packages, that is, the package itself is either a complete no-op (since the package is already installed), or else the package only exists to depend on another package of a new name (to support people who are running older operating systems).

For the former, we can drop the dependency entirely, and for the latter we should use the new package name directly.
2024-03-26 17:19:41 -04:00
Jose Diaz-Gonzalez e2d51bfeb3 Merge pull request #6766 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.5.15
chore(deps): bump mkdocs-material from 9.5.14 to 9.5.15 in /docs/_build
2024-03-26 00:35:25 -04:00
Jose Diaz-Gonzalez ffd821c5b0 Merge pull request #6763 from iloveitaly/docker-compose
docs: adding docker-compose example
2024-03-24 19:38:58 -04:00
Jose Diaz-Gonzalez c98fe7b06b Merge pull request #6739 from AndrewKvalheim/plugins/git/sync/annotated-tag
Dereference annotated tags
2024-03-23 19:27:40 -04:00
Jose Diaz-Gonzalez d6d785ccc7 Merge pull request #6743 from testwill/typo
Fix typo in app-json output
2024-03-23 19:26:29 -04:00
Jose Diaz-Gonzalez 9fcd41f349 Merge pull request #6744 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/docker/docker-24.0.9incompatible
chore(deps): bump github.com/docker/docker from 24.0.7+incompatible to 24.0.9+incompatible in /plugins/scheduler-k3s
2024-03-23 19:25:02 -04:00
Jose Diaz-Gonzalez 56a3d9f9e8 Merge pull request #6754 from dokku/dependabot/npm_and_yarn/tests/apps/dockerfile-app-json-formations/express-4.19.1
chore(deps): bump express from 4.18.3 to 4.19.1 in /tests/apps/dockerfile-app-json-formations
2024-03-23 19:24:49 -04:00
Jose Diaz-Gonzalez d7b04e32b4 docs: remove required field from issue template 2024-03-23 19:21:59 -04:00
Jose Diaz-Gonzalez a74d2ea2aa Merge pull request #6745 from dokku/dependabot/npm_and_yarn/tests/apps/nodejs-express/express-4.19.1
chore(deps): bump express from 4.18.3 to 4.19.1 in /tests/apps/nodejs-express
2024-03-23 19:17:33 -04:00
Jose Diaz-Gonzalez aadded8913 Merge pull request #6746 from dokku/dependabot/github_actions/tj-actions/changed-files-43.0.1
chore(deps): bump tj-actions/changed-files from 43.0.0 to 43.0.1
2024-03-23 19:16:46 -04:00
Jose Diaz-Gonzalez 61d5406c4c Merge pull request #6747 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/express-4.19.1
chore(deps): bump express from 4.18.3 to 4.19.1 in /tests/apps/.websocket.disabled
2024-03-23 19:16:39 -04:00
Jose Diaz-Gonzalez 55527222ed Merge pull request #6748 from dokku/dependabot/npm_and_yarn/tests/apps/nodejs-express-noprocfile/express-4.19.1
chore(deps): bump express from 4.18.3 to 4.19.1 in /tests/apps/nodejs-express-noprocfile
2024-03-23 19:16:32 -04:00
Jose Diaz-Gonzalez bf7388377c Merge pull request #6749 from dokku/dependabot/npm_and_yarn/tests/apps/nodejs-express-noappjson/express-4.19.1
chore(deps): bump express from 4.18.3 to 4.19.1 in /tests/apps/nodejs-express-noappjson
2024-03-23 19:16:24 -04:00
Jose Diaz-Gonzalez 8633110155 Merge pull request #6750 from dokku/dependabot/npm_and_yarn/tests/apps/dockerfile-procfile-bad/express-4.19.1
chore(deps): bump express from 4.18.3 to 4.19.1 in /tests/apps/dockerfile-procfile-bad
2024-03-23 19:16:17 -04:00
Jose Diaz-Gonzalez 74a9a0f7d6 Merge pull request #6751 from dokku/dependabot/pip/docs/_build/importlib-metadata-7.1.0
chore(deps): bump importlib-metadata from 7.0.2 to 7.1.0 in /docs/_build
2024-03-23 19:16:11 -04:00
Jose Diaz-Gonzalez 5739df650e Merge pull request #6752 from dokku/dependabot/npm_and_yarn/tests/apps/dockerfile-procfile/express-4.19.1
chore(deps): bump express from 4.18.3 to 4.19.1 in /tests/apps/dockerfile-procfile
2024-03-23 19:16:05 -04:00
Jose Diaz-Gonzalez e3cfaab92b Merge pull request #6753 from dokku/dependabot/npm_and_yarn/tests/apps/gitsubmodules/express-4.19.1
chore(deps): bump express from 4.18.3 to 4.19.1 in /tests/apps/gitsubmodules
2024-03-23 19:15:57 -04:00
Jose Diaz-Gonzalez d33da92e1f chore: remove extra whitespace 2024-03-23 19:15:42 -04:00
Jose Diaz-Gonzalez 91b9c66e2d Merge pull request #6757 from dokku/josegonzalez-patch-1
Add documentation issue template
2024-03-23 19:15:07 -04:00
Jose Diaz-Gonzalez d953b578ec docs: add documentation issue template 2024-03-23 19:14:45 -04:00
Jose Diaz-Gonzalez 731181f14b Merge pull request #6741 from dokku/dependabot/go_modules/plugins/common/github.com/onsi/gomega-1.32.0
chore(deps): bump github.com/onsi/gomega from 1.31.1 to 1.32.0 in /plugins/common
2024-03-19 12:44:27 -04:00
Jose Diaz-Gonzalez 37e5855620 Merge pull request #6742 from dokku/josegonzalez-patch-1
Remove trailing whitespace from history doc
2024-03-19 12:43:15 -04:00
Jose Diaz-Gonzalez 3664ee75ea Merge pull request #6740 from dokku/dependabot/go_modules/plugins/config/github.com/onsi/gomega-1.32.0
chore(deps): bump github.com/onsi/gomega from 1.31.1 to 1.32.0 in /plugins/config
2024-03-19 12:43:04 -04:00
Jose Diaz-Gonzalez 6b5cbc4a43 docs: remove trailing whitespace from history doc 2024-03-19 12:40:29 -04:00
Jose Diaz-Gonzalez df8dd766b6 Merge pull request #6738 from dokku/josegonzalez-patch-1
Update migration guide for 0.34.x
2024-03-18 15:58:05 -04:00
Jose Diaz-Gonzalez 565f736a14 docs: update migration guide for 0.34.x 2024-03-18 15:57:40 -04:00
Jose Diaz-Gonzalez 79d9076383 Merge pull request #6736 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.5.14
chore(deps): bump mkdocs-material from 9.5.13 to 9.5.14 in /docs/_build
2024-03-18 15:49:29 -04:00
Jose Diaz-Gonzalez 32f13dcc9b Merge pull request #6701 from dokku/0.34-release
Release 0.34.0
2024-03-18 15:48:08 -04:00
Jose Diaz-Gonzalez 2274eeafda Merge pull request #6731 from strugee/patch-1
Clarify alternate proxy support status
2024-03-18 14:29:43 -04:00
Jose Diaz-Gonzalez c533700f73 Merge pull request #6728 from dokku/dependabot/pip/docs/_build/zipp-3.18.1
chore(deps): bump zipp from 3.17.0 to 3.18.1 in /docs/_build
2024-03-15 11:39:11 -04:00
Jose Diaz-Gonzalez f42596ad5d Merge branch '0.34-release' into dependabot/pip/docs/_build/zipp-3.18.1 2024-03-15 11:38:58 -04:00
Jose Diaz-Gonzalez 0c5887cc64 Merge pull request #6729 from dokku/dependabot/pip/docs/_build/markdown-gte-3.2.1-and-lt-3.7
chore(deps): update markdown requirement from <3.6,>=3.2.1 to >=3.2.1,<3.7 in /docs/_build
2024-03-15 11:38:43 -04:00
Jose Diaz-Gonzalez 2119268ebc Merge pull request #6727 from dokku/dependabot/github_actions/tj-actions/changed-files-43.0.0
chore(deps): bump tj-actions/changed-files from 42.1.0 to 43.0.0
2024-03-15 11:38:38 -04:00
Jose Diaz-Gonzalez be9a608d3f Merge pull request #6725 from dokku/4662-warn-on-published-port 2024-03-15 09:43:55 -04:00
Jose Diaz-Gonzalez c9b9c2ab25 chore: run shfmt 2024-03-14 15:02:57 -04:00
Jose Diaz-Gonzalez 6e3631afeb fix: correct warning placement and update tests to account for parallel's behavior 2024-03-14 14:59:49 -04:00
Jose Diaz-Gonzalez 36ade1ecd0 tests: add test for port publishing warning 2024-03-14 14:07:15 -04:00
Jose Diaz-Gonzalez 43c255436d feat: warn when publish ports if scaling up or zero downtime is enabled
Closes #4662
2024-03-14 11:53:57 -04:00
Jose Diaz-Gonzalez a759b03739 Merge pull request #6724 from dokku/git-fix-empty-repo-check
Correctly check if a repository has code or not in git plugin
2024-03-14 10:52:17 -04:00
Jose Diaz-Gonzalez 4b0699023c Merge pull request #6718 from dokku/bashpid-in-cron
Write current process id to all acquired lock files
2024-03-14 10:21:32 -04:00
Jose Diaz-Gonzalez 991b6fdae0 Merge pull request #6723 from dokku/dependabot/pip/docs/_build/zipp-3.18.0
chore(deps): bump zipp from 3.17.0 to 3.18.0 in /docs/_build
2024-03-14 10:13:15 -04:00
Jose Diaz-Gonzalez 159b01e5f8 Merge pull request #6722 from dokku/dependabot/github_actions/tj-actions/changed-files-43.0.0
chore(deps): bump tj-actions/changed-files from 42.1.0 to 43.0.0
2024-03-14 10:12:48 -04:00
Jose Diaz-Gonzalez efc35ab104 fix: correctly check if a repository has code or not in git plugin 2024-03-14 10:09:14 -04:00
Jose Diaz-Gonzalez 89cff8957f fix: do not unset variables unless re-running as dokku user 2024-03-14 08:18:48 -04:00
Jose Diaz-Gonzalez 83b89453a5 feat: write current process id to all acquired lock files
This allows us to check on what process created a lock.

Additionally, we now always have a DOKKU_PID value, even when running in cron (which does not have access to BASH_PID.
2024-03-14 08:18:35 -04:00
Jose Diaz-Gonzalez 5553da1be1 Merge pull request #6721 from dokku/cron-fix-global
Correct issue where cron properties cannot be retrieved if global
2024-03-14 08:17:33 -04:00
Jose Diaz-Gonzalez 41b0898db9 fix: correct issue where cron properties cannot be retrieved if global 2024-03-14 08:16:55 -04:00
Jose Diaz-Gonzalez 5a5531bce3 Merge pull request #6720 from dokku/nginx-gitignore
Add nginx-property binary to gitignore
2024-03-14 08:16:23 -04:00