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
bd261e6847
Merge pull request #4202 from dokku/4104-aggressive-dangling-clean
...
Schedule related images for cleanup when retiring containers
2020-11-28 02:15:27 -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
0786954d34
feat: schedule related images for cleanup when retiring containers
...
If the containers no longer exist and the images are unused, we should remove the images as well.
Note that images may sometimes stick around for a little while, depending on the retire schedule and the wait time specified for the container.
Closes #4104
2020-11-26 03:21:45 -05:00
Jose Diaz-Gonzalez
c343316864
Merge pull request #4198 from dokku/4083-fewer-extracts
...
Reference extracted Procfile
2020-11-23 01:36:53 -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
fceb412fb1
fix: reference extracted Procfile
...
Rather than attempting to always extract the Procfile, reference the one that was extracted by the last deploy. This fixes issues where 'docker container cp' may fail intermittently for lord knows what reason.
Closes #4083
2020-11-22 17:14:18 -05:00
Jose Diaz-Gonzalez
ef490f0a05
feat: retire intermediate containers after use
...
Rather than waiting for the next deploy, take advantage of the retire system to retire these containers immediately.
Note that since the retire process happens out of band, the containers may stick around for up to 5 minutes, after which point they will be removed.
Customization of the wait time to retire - currently 60 seconds - is up for future debate. The containers ultimately haven't been useful for debugging, so keeping them around for longer won't help in most cases, and folks can disable the dokku-retire service (or cron) if that is desired.
2020-11-22 16:57:39 -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
7cdc68a007
refactor: use framework for running function against all apps
2020-11-22 15:01:36 -05:00
Luiz Picolo ツ
c4462c4da4
Update process-management.md
2020-11-22 11:05:49 -04: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
246a50a592
docs: cleanup process management docs to make usage more clear.
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
6d514e72fa
docs: cleanup headings in nginx plugin
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
a19efc1cfa
chore: drop all references to all commands where possible.
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
28a36c4908
feat: add proper parallel support
2020-11-21 20:57:33 -05:00
Jose Diaz-Gonzalez
b44bc686a1
docs: update docs for ps commands
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
f9969a0e61
refactor: drop extra args from procfile-extract
...
They were not necessary.
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
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
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
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
fomojola
f5020659f3
Added the autosync plugin
2020-11-11 23:41:15 -05:00
Manthan Mallikarjun
8b697920e2
Add -p flag to "Run on External Volume" tutorial
2020-11-11 19:03:44 -08:00
Richard Willis
5eb69d33d1
Update plugins.md
2020-11-10 20:06:51 +00:00
Richard Willis
7c44fb8d50
Add dokku-discourse to community plugins list
2020-11-10 20:04:14 +00:00
Richard Willis
26e77a693a
Update plugin-creation.md
...
Add info on using plugin triggers instead of sourcing plugin functions
2020-11-09 08:42:59 +00:00
chrisjsimpson
5aaa88f41e
dockerfiles.md how to enable docker buildkit
2020-10-28 18:05:54 +00: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
Nate
75bb83bdec
The default branch for ruby-getting-started is 'main', not 'master
...
- Ensure the user is using the master branch to match later instructions to do a git push master.
2020-10-27 17:11:28 -06: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
Hugo Peixoto
71876756a4
Use git push main:master in docs
...
Heroku's ruby project changed its default branch from master to main.
This broke the examples in the documentation. This change explicitly
names main and master.
2020-09-14 20:23:35 +01:00
Kazuhiro NISHIYAMA
b1b85b4106
Fix broken table
...
[ci skip]
2020-09-13 12:46:46 +09: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
Femi Omojola
81512504a7
Added the container index to the network-compute-ports trigger: useful for alternative proxy implementations. Updated the documentation for the network-compute-ports trigger to clarify the arguments
2020-09-08 09:26:35 -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
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
f5ba843cf3
feat: add ability to disable custom ninx.conf.sigil extraction
...
Closes #4087
2020-09-04 11:29:23 -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
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
1ea60a16e5
refactor: move external procfile manipulation into triggers
...
This also cleans up the internal APIs a bit.
2020-08-30 13:41:14 -04:00
Jose Diaz-Gonzalez
fe8e97b7cb
Merge pull request #4098 from carlosgeos/master
...
Add a note on how nginx handles load balancing
2020-08-28 01:21:42 -04:00
Jose Diaz-Gonzalez
ced920eb74
docs: add large version of dokku image
...
No license is explicitly stated.
[ci skip]
2020-08-27 22:54:05 -04:00
Álvaro Justen (@turicas)
9d7a67ae7f
Fix markdown syntax in docs
2020-08-03 19:52:12 -03:00
Carlos Requena López
638807685a
docs: add a note on how nginx handles load balancing
...
[ci skip] when the web proctype is scaled
2020-08-02 19:50:54 +02:00