Jose Diaz-Gonzalez
5f1dc46392
Merge pull request #4195 from luizpicolo/correction-of-the-comments-list
...
Update process-management.md
2020-11-22 15:00:08 -05:00
Jose Diaz-Gonzalez
f708964c5f
Merge pull request #4194 from dokku/4133-fix-apps-report
...
Drop appName check in apps:report
2020-11-22 02:29:12 -05:00
Jose Diaz-Gonzalez
5b21cabff3
Merge pull request #4128 from mailformfemi/master
...
Added the container index to the network-compute-ports trigger
2020-11-21 23:08:06 -05:00
Jose Diaz-Gonzalez
6e36f95bab
Merge pull request #4149 from dokku/go-ps-plugin
...
Rewrite ps plugin in golang
2020-11-21 23:03:36 -05:00
Jose Diaz-Gonzalez
947b2d4db6
fix: add missing comment
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
3714a231a9
chore: drop unused code
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
39984980fb
fix: correct io tests
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
c7becc6cad
refactor: move all subprocess-related code to new file
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
74f27480fc
refactor: move all docker-related functions to new file
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
33d3722060
refactor: move common io-related functions into new file
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
696df45306
refactor: extract release_and_deploy calls to a plugin trigger
...
Better would be to separate the release and deploy aspects into distinct triggers - as well as have it release a specific image - but this is a good first pass.
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
1b4559c4a4
chore: drop unused ps import
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
bd132ed7c6
feat: implement helper functions for dockeroptions
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
66696d0b46
refactor: export SetPermissions function
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
943e032d12
refactor: use path/filepath instead of path for joining path parts
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
ff7429fd00
feat: upgrade go-procfile-util
...
We should ensure we are usinng a new version of it to enable better handling of errors in the Procfile.
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
236a279793
chore: add todos
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
7e206b3ba0
Merge pull request #4191 from dokku/josegonzalez-patch-1
...
Create codeql-analysis.yml
2020-11-21 02:18:36 -05:00
Jose Diaz-Gonzalez
f612709d7d
chore: drop languages
...
Only go and shell are written in dokku...
2020-11-18 14:35:52 -05:00
Jose Diaz-Gonzalez
76412f6ade
Create codeql-analysis.yml
2020-11-18 14:33:28 -05:00
Jose Diaz-Gonzalez
45c7cd6e8b
Merge pull request #4189 from dokku/dependabot/bundler/tests/apps/ruby/thin-1.8.0
...
chore(deps): bump thin from 1.7.2 to 1.8.0 in /tests/apps/ruby
2020-11-17 03:45:48 -05:00
Jose Diaz-Gonzalez
67192cf664
Merge pull request #4139 from Yihao-G/master
...
Allow controlling Nginx proxy-buffer-size, proxy-buffering, proxy-buffers, proxy-busy-buffers-size
2020-11-17 03:16:09 -05:00
Jose Diaz-Gonzalez
3a77c38a2d
Merge pull request #4175 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-9.4.34.v20201102
...
chore(deps): bump jetty-servlet from 9.4.33.v20201020 to 9.4.34.v20201102 in /tests/apps/java
2020-11-17 03:14:34 -05:00
Jose Diaz-Gonzalez
810892bf40
Merge pull request #4184 from badsyntax/patch-1
...
Add note regarding using plugin triggers instead of sourcing functions
2020-11-16 13:04:07 -05:00
Jose Diaz-Gonzalez
4b7384fc98
Merge pull request #4188 from fomojola/patch-2
...
Added the autosync community plugin
2020-11-16 12:44:10 -05:00
Jose Diaz-Gonzalez
61855fd14b
Merge pull request #4172 from dokku/dependabot/go_modules/tests/apps/gogrpc/github.com/golang/protobuf-1.4.3
...
chore(deps): bump github.com/golang/protobuf from 1.4.2 to 1.4.3 in /tests/apps/gogrpc
2020-11-16 12:30:26 -05:00
Jose Diaz-Gonzalez
4a9ac117e0
Merge pull request #4185 from dokku/dependabot/npm_and_yarn/tests/apps/dot-websocket.disabled/socket.io-3.0.1
...
chore(deps): bump socket.io from 2.3.0 to 3.0.1 in /tests/apps/.websocket.disabled
2020-11-16 12:29:24 -05:00
Jose Diaz-Gonzalez
0d06903b89
Merge pull request #4190 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-183
...
chore(deps-dev): bump heroku/heroku-buildpack-php from 182 to 183 in /tests/apps/php
2020-11-16 11:27:27 -05:00
Jose Diaz-Gonzalez
eec0e5df01
Merge pull request #4183 from dokku/fix-greeter
...
Embed pb.UnimplementedGreeterServer to avoid linting issues
2020-11-13 11:50:29 -05:00
Jose Diaz-Gonzalez
e26c5a7970
Merge pull request #4187 from nahtnam/master
...
Add `-p` flag to "Run on External Volume" tutorial
2020-11-11 22:08:18 -05:00
Jose Diaz-Gonzalez
415b38bd64
Merge pull request #4186 from badsyntax/patch-2
...
Add dokku-discourse to community plugins list
2020-11-10 15:32:32 -05:00
Jose Diaz-Gonzalez
77d53b1009
Merge pull request #4182 from dokku/upgrade-herokuish
...
Upgrade herokuish to fix nodejs tests
2020-11-08 21:07:33 -05:00
Jose Diaz-Gonzalez
664683c6e4
Merge pull request #4173 from karimsan/vagrant-build-essential
...
Add build-essential to Vagrant provision
2020-11-08 18:45:05 -05:00
Jose Diaz-Gonzalez
6889e65077
Merge pull request #4181 from dokku/4158-conditional-mount
...
Conditionally mount the dokku-arch folder if it exists
2020-11-08 18:17:21 -05:00
Jose Diaz-Gonzalez
05bf72e0d8
Merge pull request #4156 from ltalirz/fix_dokku_global_cert_4
...
When `cert:add` remove previous cert before copying the new cert
2020-10-31 22:15:26 -04:00
Jose Diaz-Gonzalez
4b70aaa038
Merge pull request #4165 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-9.4.33.v20201020
...
chore(deps): bump jetty-servlet from 9.4.31.v20200723 to 9.4.33.v20201020 in /tests/apps/java
2020-10-31 20:47:05 -04:00
Jose Diaz-Gonzalez
d52f676a84
Merge pull request #4153 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-182
...
chore(deps-dev): bump heroku/heroku-buildpack-php from 181 to 182 in /tests/apps/php
2020-10-31 15:50:07 -04:00
Jose Diaz-Gonzalez
4a1717e837
Merge pull request #4170 from chrisjsimpson/patch-1
...
Add note on how to enable buildkit usage
2020-10-31 15:30:17 -04:00
Jose Diaz-Gonzalez
8300f433e9
Merge pull request #4168 from dokku/revert-4167-patch-1
...
Revert "The default branch for ruby-getting-started is 'main', not 'master"
2020-10-27 19:17:19 -04:00
Jose Diaz-Gonzalez
bd2867b846
Revert "The default branch for ruby-getting-started is 'main', not 'master"
2020-10-27 19:17:08 -04:00
Jose Diaz-Gonzalez
da1a47b57d
Merge pull request #4167 from nateww/patch-1
...
The default branch for ruby-getting-started is 'main', not 'master
2020-10-27 19:16:12 -04:00
Jose Diaz-Gonzalez
57b317b0a4
Merge pull request #4144 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-181
2020-10-10 20:44:47 -04:00
Jose Diaz-Gonzalez
0731616ebf
Merge pull request #4135 from znz/fix-broken-table
...
Fix broken table
2020-09-23 00:47:02 -04:00
Jose Diaz-Gonzalez
6957a33ec7
Merge pull request #4137 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-180
...
chore(deps-dev): bump heroku/heroku-buildpack-php from 179 to 180 in /tests/apps/php
2020-09-23 00:46:47 -04:00
Jose Diaz-Gonzalez
46c274dcf2
Merge pull request #4140 from swrobel/patch-2
...
Note Ubuntu 20.04 support in README
2020-09-23 00:46:10 -04:00
Jose Diaz-Gonzalez
30d8ebffb9
Merge pull request #4136 from hugopeixoto/docs/ruby-getting-started-uses-main-instead-of-master
...
Use git push main:master in docs
2020-09-14 16:23:00 -04:00
Jose Diaz-Gonzalez
196b5d08eb
Merge pull request #4130 from dokku/3932-clear-proxy-on-boot
...
Clear proxy configs on boot
2020-09-10 12:24:27 -04:00
Jose Diaz-Gonzalez
2026a2731d
Merge pull request #4131 from dokku/4088-bump-docker
...
Bump minimum docker version
2020-09-10 10:56:21 -04:00
Jose Diaz-Gonzalez
c8d932f768
fix: bump minimum docker version
...
This is necessary in order to properly support image filtering during 'dokku cleanup' calls.
Closes #4088
2020-09-10 02:00:57 -04:00
Jose Diaz-Gonzalez
752a0cacd9
fix: clear proxy configs on boot
...
Unfortunately, Docker does not persist container IPs on boot, so containers may come up with the wrong IP, resulting in proxying to the incorrect app after a server restart. Instead, we should delete the configs and let ps:restore rebuild the proxy config correctly.
Closes #3932
2020-09-10 01:58:45 -04:00
Jose Diaz-Gonzalez
ecc6c9e01d
Merge pull request #4129 from dokku/4102-prohibit-non-dns-names
...
Prohibit non-dns names for apps and process types
2020-09-09 23:39:27 -04:00
Jose Diaz-Gonzalez
7e9f98b513
Merge pull request #4080 from hugopeixoto/fix/app-vhost-usage
2020-09-09 21:23:15 -04:00
Jose Diaz-Gonzalez
0f514f300e
feat: prohibit non-dns names for apps and process types
...
This is necessary for ensuring ssl certificates can be auto-retrieved for apps, and also easing integration into schedulers that use names and process types as part of DNS records.
As well, this fixes an issue where we may potentially have invalid DNS entries when adding apps to custom networks.
Closes #4102
Closes #4114
2020-09-09 20:07:50 -04:00
Jose Diaz-Gonzalez
017cfef6a2
Merge pull request #4125 from dokku/4086-custom-nginx-app-conf-location
...
Allow customizing the various nginx templates
2020-09-09 19:51:33 -04:00
Jose Diaz-Gonzalez
becf7c1f86
feat: allow customizing the various nginx templates
...
This will let custom distributions of Dokku to override the internal templates without needing to repackage Dokku or overwrite core files.
2020-09-06 13:57:35 -04:00
Jose Diaz-Gonzalez
9e6c89428e
Merge pull request #4124 from dokku/4101-docker-options-docs
2020-09-06 13:21:30 -04:00
Jose Diaz-Gonzalez
8d96be73b7
docs: note that docker options require app rebuilds
...
Closes #4101
2020-09-06 13:20:34 -04:00
Jose Diaz-Gonzalez
21c8639397
docs: drop advanced usage
...
Dokku internals shouldn't be exposed in docs. Additionally, the internals here are likely to change in the future as this moves to the upcoming prop binary, so having incorrect docs will hinder that move.
2020-09-06 13:18:34 -04:00
Jose Diaz-Gonzalez
1699c6f3a3
Merge pull request #4118 from dokku/dependabot/pip/tests/apps/dockerfile-release/django-3.0.7
...
chore(deps): bump django from 3.0.2 to 3.0.7 in /tests/apps/dockerfile-release
2020-09-06 12:56:59 -04:00
Jose Diaz-Gonzalez
70c947289f
Merge pull request #4121 from dokku/4087-nginx-extract-disable
...
Add ability to disable custom ninx.conf.sigil extraction
2020-09-05 11:48:57 -04:00
Jose Diaz-Gonzalez
a4e54b6d00
Merge pull request #4123 from fomojola/patch-1
...
Support for expected CHECKS text with special characters
2020-09-04 19:12:16 -04:00
Jose Diaz-Gonzalez
f5ba843cf3
feat: add ability to disable custom ninx.conf.sigil extraction
...
Closes #4087
2020-09-04 11:29:23 -04:00
Jose Diaz-Gonzalez
052f2a5868
Merge pull request #4115 from dokku/4099-image-cleanup
...
Add missing labels to built images
2020-08-31 21:25:55 -04:00
Jose Diaz-Gonzalez
43c521c193
Merge pull request #4117 from dokku/go-app-json
2020-08-31 21:22:21 -04:00
Jose Diaz-Gonzalez
2a1d3877f1
fix: add docblock
2020-08-31 21:03:16 -04:00
Jose Diaz-Gonzalez
4d735b4d88
fix: do not output error on checking for process type existence
2020-08-31 18:55:39 -04:00
Jose Diaz-Gonzalez
b8b6d64f75
fix: correct stickler-ci errors and remove unused code
2020-08-31 18:44:00 -04:00
Jose Diaz-Gonzalez
2b65def123
fix: pass command directly to entrypoint
...
Closes #3706
2020-08-31 18:36:07 -04:00
Jose Diaz-Gonzalez
7fe69fa269
fix: add missing hook
2020-08-31 18:26:36 -04:00
Jose Diaz-Gonzalez
84367e1c16
fix: correctly handle injecting environment variables to deployment tasks
...
Also test that release tasks are invoked the correct environment.
Closes #3817
2020-08-31 15:01:14 -04:00
Jose Diaz-Gonzalez
0faf305f28
Merge pull request #4116 from Schlepptop/config-clear-fix
2020-08-31 14:04:27 -04:00
Jose Diaz-Gonzalez
7e7931f1ce
fix: add run prefix to deploy_app calls
2020-08-31 04:52:44 -04:00
Jose Diaz-Gonzalez
428beb3413
fix: pass in correct image variable
2020-08-31 04:23:10 -04:00
Jose Diaz-Gonzalez
9aab7dce7d
feat: create ps directory on app create
2020-08-31 04:22:40 -04:00
Jose Diaz-Gonzalez
2478556df1
fix: ensure the base directory exists before extracting the file
2020-08-31 04:22:27 -04:00
Jose Diaz-Gonzalez
a2d4ba4689
fix: set correct args for fn-procfile-extract
2020-08-31 04:21:59 -04:00
Jose Diaz-Gonzalez
4ab9632526
fix: handle case where there is no app.json
...
Somehow, an empty file may get copied over...
2020-08-31 02:56:50 -04:00
Jose Diaz-Gonzalez
baa819c2a5
fix: add missing labels to built images
...
This fixes an issue where disk space is not recouped after deploys unless 'dokku cleanup' without arguments is called.
Also injects the label-schema labels as necessary.
Refs #4099
2020-08-31 02:37:04 -04:00
Jose Diaz-Gonzalez
aaf8bc811a
chore: drop now unused internal-functions file
2020-08-31 02:33:07 -04:00
Jose Diaz-Gonzalez
53dabf7fd0
refactor: fix handling of string andd array CMD and ENTRYPOINT values
...
Previous versions extracted the values as strings, prefixing the values with `/bin/sh -c '$CMD'` unnecessarily. This caused issues where we would incorrectly overrride these values when an app had a predeploy script.
Closes #3143
2020-08-31 02:31:36 -04:00
Jose Diaz-Gonzalez
7ca4cba8ec
chore: drop extra quotes
2020-08-31 02:06:24 -04:00
Jose Diaz-Gonzalez
5965b70b39
fix: do not log empty messages
2020-08-31 02:05:21 -04:00
Jose Diaz-Gonzalez
23db07ed4e
chore: remove extra LogDebug call
2020-08-31 02:05:03 -04:00
Jose Diaz-Gonzalez
53e75e7898
chore: rewrite log message
...
This change makes it more clear as to what is being executed.
2020-08-31 02:04:51 -04:00
Jose Diaz-Gonzalez
16d15ae9bf
Merge pull request #4113 from dokku/remove-herokuish-release
...
Drop herokuish release code
2020-08-30 17:01:40 -04:00
Jose Diaz-Gonzalez
3def0ae036
Merge pull request #4103 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-179
...
chore(deps-dev): bump heroku/heroku-buildpack-php from 178 to 179 in /tests/apps/php
2020-08-30 17:01:29 -04:00
Jose Diaz-Gonzalez
31ab2f97f6
fix: split arguments to ensure they get parsed properly
2020-08-30 16:05:10 -04:00
Jose Diaz-Gonzalez
8126c63d6e
fix: properly handle return from PluginTriggerOutput
2020-08-30 14:51:25 -04:00
Jose Diaz-Gonzalez
beb42b53b2
tests: ensure the deploy succeeeds
2020-08-30 14:51:02 -04:00
Jose Diaz-Gonzalez
6df38a56d1
fix: properly set property...
2020-08-30 14:22:55 -04:00
Jose Diaz-Gonzalez
68debb44f7
refactor: use plugin trigger to delete procfile
2020-08-30 14:22:47 -04:00
Jose Diaz-Gonzalez
f27096f235
refactor: implement appjson in golang
2020-08-30 13:41:15 -04:00
Jose Diaz-Gonzalez
f2a623fde0
fix: trim whitespace to ensure container ID is valid
2020-08-30 13:41:15 -04:00
Jose Diaz-Gonzalez
7ee26d41f7
fix: correct doc
2020-08-30 13:41:15 -04:00
Jose Diaz-Gonzalez
55c77773ab
fix: read input correct as string
2020-08-30 13:41:15 -04:00
Jose Diaz-Gonzalez
147abc5c6b
feat: add LogDebug
2020-08-30 13:41:15 -04:00
Jose Diaz-Gonzalez
e6f2ee6499
fix: handle edge cases during procfile removal
2020-08-30 13:41:15 -04:00
Jose Diaz-Gonzalez
8f671b43ae
feat: add helper functions for getting global config
2020-08-30 13:41:14 -04:00
Jose Diaz-Gonzalez
617ca885f1
fix: run release during predeploy
2020-08-30 13:41:14 -04:00
Jose Diaz-Gonzalez
1813317e86
fix: execute correct script
2020-08-30 13:41:14 -04:00