Commit Graph

6058 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
9193b68854 hack: enable debug 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
db435c40e5 fix: do not delete the destination scale file if it was not extracted previously 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
bf84405b43 fix: handle scaling properly when there is no procfile 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
833a64cc0e fix: check if it can scale by checking for an extracted file 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
54fb2b5d75 feat: suppress output when not necessary 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
85fafcf170 tests: update tests for new Procfile path 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
815cd530c8 chore: remove functions 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
ebdf38e136 refactor: use procfile-get-command plugin trigger instead of direct ps function calls 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
a93f504d45 chore: short-circuit procfile command fetching if there is no procfile 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
cae561f7b9 feat: extract procfile when fetching command as necessary 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
f9969a0e61 refactor: drop extra args from procfile-extract
They were not necessary.
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
06ce3dfadb fix: remove unused variable 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
ab1d15216c refactor: drop the last argument from procfile-get-command
No external plugin should need to know the internals of where processes are.
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
e8cfbfad36 fix: drop todos 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
70de587f6c feat: upgrade procfile-util to avoid errors in parsing 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
e7ee7a1781 refactor: implement most of ps plugin in golang 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
c72bbf41ea chore: use helper method 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
34343a846d chore: drop alias 2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
e0a70411dd fix: create the file if it does not exist 2020-11-21 20:57:33 -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
dependabot-preview[bot]
1bdcdc397e chore(deps): bump jetty-servlet in /tests/apps/java
Bumps [jetty-servlet](https://github.com/eclipse/jetty.project) from 9.4.33.v20201020 to 9.4.34.v20201102.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.33.v20201020...jetty-9.4.34.v20201102)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 17:32:13 +00: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
dependabot-preview[bot]
a70217b791 chore(deps-dev): bump heroku/heroku-buildpack-php in /tests/apps/php
Bumps [heroku/heroku-buildpack-php](https://github.com/heroku/heroku-buildpack-php) from 182 to 183.
- [Release notes](https://github.com/heroku/heroku-buildpack-php/releases)
- [Changelog](https://github.com/heroku/heroku-buildpack-php/blob/main/CHANGELOG.md)
- [Commits](https://github.com/heroku/heroku-buildpack-php/compare/v182...v183)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 06:35:26 +00:00
dependabot-preview[bot]
71c698f6b1 chore(deps): bump thin from 1.7.2 to 1.8.0 in /tests/apps/ruby
Bumps [thin](https://github.com/macournoyer/thin) from 1.7.2 to 1.8.0.
- [Release notes](https://github.com/macournoyer/thin/releases)
- [Changelog](https://github.com/macournoyer/thin/blob/master/CHANGELOG)
- [Commits](https://github.com/macournoyer/thin/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-16 05:57:44 +00: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
fomojola
f5020659f3 Added the autosync plugin 2020-11-11 23:41:15 -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
Manthan Mallikarjun
8b697920e2 Add -p flag to "Run on External Volume" tutorial 2020-11-11 19:03:44 -08:00