Jose Diaz-Gonzalez
ade2cc8a7c
Merge pull request #4450 from dokku/4296-git-from-image
...
Simplify docker image deploys via git:from-image
2021-03-01 02:34:09 -05:00
Jose Diaz-Gonzalez
0a31f6fe3a
feat: add git:from-image support
...
The new command superscedes the previous tags plugin, and integrates docker image deployment with the general build process.
While `docker image load` is not supported, this otherwise completely handles all previous workflows supported by the `tags:deploy` command, while doing so in a much easier to use interface.
Closes #4296
2021-03-01 02:26:58 -05:00
Jose Diaz-Gonzalez
720d37dc5d
docs: update links to builder documentation to avoid extra rewrite
2021-03-01 02:09:47 -05:00
Jose Diaz-Gonzalez
8c34cfe64e
feat: implement builder plugin
...
This plugin will allow users to override the builder used for their application, enabling users to use custom builders if desired.
2021-02-28 17:25:03 -05:00
Jose Diaz-Gonzalez
1ec71cd509
refactor: switch detected builder so first one wins
...
Also rename internal cnb references to pack (where possible).
2021-02-28 16:19:41 -05:00
Jose Diaz-Gonzalez
6462dd891c
chore: rename builder-cnb to builder-pack
2021-02-28 16:19:41 -05:00
Jose Diaz-Gonzalez
5612b0e7d2
Merge pull request #4419 from dokku/4392-proxy-parallelism
...
Add parallelism to certain proxy commands
2021-02-28 15:16:36 -05:00
Jose Diaz-Gonzalez
75b7ae94e1
docs: use updated links for documentation
...
Docs are now hosted on https://dokku.com , so we can avoid the extra rewrite.
2021-02-28 01:18:33 -05:00
Jose Diaz-Gonzalez
04a96125cc
feat: add parallelism to certain proxy commands
...
Closes #4392
2021-02-19 23:48:04 -05:00
Jose Diaz-Gonzalez
065f5e5922
fix: do not inject max-size option when not using local or json-file log drivers
...
Closes #4376
2021-02-07 22:10:06 -05:00
Jose Diaz-Gonzalez
a96ad0c10c
docs: add note about the dokku user cron being overwritten by Dokku
...
This is a BC-incompatible change introduced by 0.23.0.
2021-02-03 14:45:11 -05:00
Jose Diaz-Gonzalez
9306011f70
fix: do not retag images unnecessarily
...
This change minimizes the work needed to be done when tagging images. It edits the image manifest directly only when necessary, allowing restarts of an app to avoid having an extra layer.
This also additionally allows to deploy images with ONBUILD directives without running the ONBUILD directives.
Lastly, users building docker images that run Dokku will need to use a new sudoer wrapper for the `docker-image-labeler` binary to work correctly. A reference version has been placed in the `docker` skeleton directory.
Closes #3931
Refs #4226
2021-01-24 02:09:53 -05:00
Jose Diaz-Gonzalez
9137be814c
refactor: remove need for internal dokku calls
...
Avoid internal dokku calls will avoid potentially expensive subprocesses - in particular, user-auth will be re-invoked, which can be expensive.
2021-01-23 14:27:16 -05:00
Jose Diaz-Gonzalez
bde77dbf78
feat: cleanup log output for failure case
...
Also mark DOKKU_DISABLE_ANSI_PREFIX_REMOVAL as deprecated (it will be removed in 0.23.0 and no prefixes will be removed at that time).
2020-11-28 03:32:11 -05:00
Jose Diaz-Gonzalez
af0d2e6f7a
Merge pull request #4160 from nerg4l/go-logs-plugin
...
Rewrite logs plugin in Go
2020-11-26 04:58:51 -05:00
Jose Diaz-Gonzalez
97513dee91
fix: handle case where deploying app image does not exist
...
This happens if ps:scale is called before a deploy.
Also refactor GetDeployingAppImageName() to return an error as the second return parameter.
2020-11-23 00:11:00 -05:00
Jose Diaz-Gonzalez
fcebbd67df
docs: correctly doc apps:report output
...
The `not deployed` message was removed in 0.20.0, and that state can be queried via `ps:report` now.
Closes #4134
2020-11-22 16:00:58 -05:00
Jose Diaz-Gonzalez
9dba48fc19
feat: deprecate logs:failed without an argument or flag
2020-11-22 15:01:36 -05:00
Jose Diaz-Gonzalez
815cd530c8
chore: remove functions
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
e7ee7a1781
refactor: implement most of ps plugin in golang
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
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
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
eaf0d9af55
feat: create proxy:build-config command
...
Closes #4024
2020-06-29 20:51:12 -04:00
Jose Diaz-Gonzalez
a93cec63be
feat: simplify flag parsing in config plugin
...
Commands should be written such that they take arguments as is.
2020-05-29 01:59:50 -04:00
Jose Diaz-Gonzalez
c22f78c913
feat: simplify flag parsing in proxy plugin
...
Commands should be written such that they take arguments as is.
2020-05-29 01:59:50 -04:00
Jose Diaz-Gonzalez
ce154aff09
feat: simplify flag parsing in apps plugin
...
Commands should be written such that they take arguments as is.
2020-05-29 01:59:50 -04:00
Jose Diaz-Gonzalez
46287cac0f
feat: allow apps named tls
...
The `tls` name is no longer a reserved app name, and can be used by applications. This was previously a reserved app name due to it's use as a place for global SSL certificate files; Dokku has not supported global SSL certificates for many releases, and thus there is no need to reserve the name.
2020-05-08 23:58:06 -04:00
Jose Diaz-Gonzalez
89787173af
fix: use correct function name for cmd-tar-in and update migration guide
...
Closes #3952
2020-04-25 15:49:03 -04:00
Jose Diaz-Gonzalez
a8a6d0595b
refactor: deprecate git_deploy_branch in favor of plugn trigger
2020-04-18 18:21:46 -04:00
Jose Diaz-Gonzalez
38a13ecd39
feat: expose network listeners to nginx templates for all process types
...
This change allows users to specify a custom nginx.conf.sigil that can expose non-web process types to the outside world in addition to the web process type.
Closes #3258
2020-03-11 12:34:38 -04:00
Jose Diaz-Gonzalez
051a329873
feat: avoid deprecated functions
2020-03-10 18:19:31 -04:00
Jose Diaz-Gonzalez
b968ced6e9
refactor: first pass at rewriting apps plugin in go
2020-03-10 14:14:37 -04:00
Jose Diaz-Gonzalez
48dc5d8cc1
refactor: move git-sha flag to git:report
2020-03-10 14:13:48 -04:00
Jose Diaz-Gonzalez
329e97c8ee
feat: drop support for unsupported Debian and Ubuntu releases
...
While the latest packages may continue to work on other releases, we will no longer officially support these releases, nor will we distribute packages.
2020-02-28 05:57:55 -05:00
Jose Diaz-Gonzalez
6fd4b5adb1
refactor: rewrite proxy plugin in golang
2020-02-22 06:40:24 -05:00
Jose Diaz-Gonzalez
009e37d840
refactor: remove ps command
...
`ps` should be replaced by `enter` with a specified container id.
2020-02-22 00:42:19 -05:00
Jose Diaz-Gonzalez
579d430303
refactor: rename nginx:show-conf to nginx:show-config
2020-02-19 01:00:47 -05:00
Jose Diaz-Gonzalez
848373def5
chore: remove all deprecated commands
...
This change removes all deprecated commands. In many cases, users have been warned for a number of releases before the commands have been removed. All commands that were removed have existing alternatives.
2020-02-12 02:03:03 -05:00
Jose Diaz-Gonzalez
d65cea7d47
docs: consistently reference node-js-app in the documentation
2018-04-07 14:13:55 -04:00
Jose Diaz-Gonzalez
c400bc8f03
docs: add a note on which docs to look at for customizing nginx docs
...
[ci skip]
2017-08-15 11:25:50 -04:00
Jose Diaz-Gonzalez
e7a2284226
Create 0.10.0-migration-guide.md
...
[ci skip]
2017-08-09 17:23:51 -04:00
Jose Diaz-Gonzalez
64162a0bfd
Create 0.9.0-migration-guide.md
2017-08-09 17:19:53 -04:00
Jose Diaz-Gonzalez
c2f92e07d9
Create 0.8.0-migration-guide.md
2017-08-09 17:15:30 -04:00
Jose Diaz-Gonzalez
0ba9393285
docs: use urls that are linkable on github
2017-04-13 23:09:46 -06:00
Jose Diaz-Gonzalez
f26b3f1966
Use correct casing for Dokku name
...
lowercase should only be used to refer to the binary, not the project
2016-09-03 15:51:14 -04:00
Jose Diaz-Gonzalez
f46650d289
Add a migration guide for 0.7.0
...
[ci skip]
2016-08-26 14:11:56 -04:00
Jose Diaz-Gonzalez
35947100b8
Move all deployment methods into their own section
...
This makes our support for each method explicit, and also allows us to add more deployment methods in the future.
[ci skip]
2016-07-05 01:21:15 -04:00
Jose Diaz-Gonzalez
edc0961e19
Fix documentation directory structure
...
Also ensure there is a trailing slash on all urls
2016-07-04 22:59:50 -04:00