Jose Diaz-Gonzalez
f0ca3fef54
fix: correct count check for user-auth trigger
...
There are cases where the user-auth plugin exists but the events plugin is not enabled, and this accounts for that.
2021-08-07 17:55:56 -04:00
Jose Diaz-Gonzalez
ca680c3aeb
Merge pull request #4726 from dokku/2247-remove-web-installer
...
Drop web installer in favor of setup via cli
2021-08-07 17:13:58 -04:00
Jose Diaz-Gonzalez
a1c768b9b3
refactor: drop web installer in favor of setup via cli
...
This makes the installation a bit more secure by ensuring a user does not accidentally expose a way for unauthorized users to add new ssh keys to the system.
Additionally, this removes the extra HOSTNAME file to make the initial install process easier (that file was not modifiable by any dokku commands.
Closes #2247
2021-08-07 16:36:41 -04:00
Jose Diaz-Gonzalez
857850b4c6
Merge pull request #4723 from dokku/josegonzalez-patch-1
...
Clarify buildkit instructions
2021-08-06 13:40:45 -04:00
Jose Diaz-Gonzalez
da92be3030
docs: clarify buildkit instructions
...
There is no need for a reboot
2021-08-06 13:40:34 -04:00
Jose Diaz-Gonzalez
e290965acf
Merge pull request #4693 from dokku/add-package-lock
...
Add package.lock for test app
2021-08-06 13:17:13 -04:00
Jose Diaz-Gonzalez
d1b67f1fff
Merge pull request #4721 from dokku/4624-git-submodule-sync
...
Recursively sync submodules
2021-08-06 12:43:50 -04:00
Jose Diaz-Gonzalez
7c4381bfd5
chore: add package.lock for test app
2021-08-06 12:41:10 -04:00
Jose Diaz-Gonzalez
bc410b4111
fix: recursively sync submodules
...
Closes #4624
2021-08-06 11:40:28 -04:00
Jose Diaz-Gonzalez
534a5f0898
Merge pull request #4719 from dokku/4665-route-internal
...
Add support for routing an app to a specified host:port
2021-08-06 11:11:41 -04:00
Jose Diaz-Gonzalez
1a2153585e
Merge pull request #4717 from dokku/4710-silence-installer
...
Silence stderr when checking for ufw on debian systems
2021-08-06 03:13:48 -04:00
Jose Diaz-Gonzalez
547c14d18e
Merge pull request #4713 from dokku/4621-default-focal
...
Make heroku-20/focal the default stack for herokuish builds
2021-08-06 03:06:23 -04:00
Jose Diaz-Gonzalez
d0c0543659
Merge pull request #4716 from dokku/suppress-dos2unix
...
Suppress dos2unix stderr output during Dockerfile builds
2021-08-06 02:16:17 -04:00
Jose Diaz-Gonzalez
e0a513650e
Merge pull request #4715 from dokku/2574-use-sslip
...
Switch from xip.io to sslip.io
2021-08-06 02:15:53 -04:00
Jose Diaz-Gonzalez
9ecfa843f0
feat: add support for routing an app to a specified host:port
...
This is useful when there is a service not managed by Dokku but should be exposed via the Dokku routing layer. As an example, some binaries (consul, nomad, vault) expose web uis, and are traditionally run on the host directly vs in a container.
Closes #4665
2021-08-06 01:29:25 -04:00
Jose Diaz-Gonzalez
afd64c3e04
Merge pull request #4718 from dokku/docs-azure-link-update
...
Update link to azure installation on homepage
2021-08-05 23:52:57 -04:00
Jose Diaz-Gonzalez
9b3ed8d614
docs: update link to azure installation on homepage
2021-08-05 23:52:37 -04:00
Jose Diaz-Gonzalez
79f181cd55
fix: silence stderr when checking for ufw on debian systems
...
Closes #4710
2021-08-05 23:49:37 -04:00
Jose Diaz-Gonzalez
d5b14769dd
feat: make heroku-20/focal the default stack for herokuish builds
...
Closes #4621
2021-08-05 23:43:07 -04:00
Jose Diaz-Gonzalez
bdc89e5907
Merge pull request #4460 from dokku/4219-registry-plugin
...
Implement registry plugin
2021-08-05 23:42:28 -04:00
Jose Diaz-Gonzalez
a68234bdf4
chore: suppress dos2unix stderr output during Dockerfile builds
2021-08-05 23:41:03 -04:00
Jose Diaz-Gonzalez
3f2079b4ea
Merge pull request #4711 from dokku/4706-bind-utils
...
Enable installing on RPM systems where bind-utils is bindutils
2021-08-05 23:40:17 -04:00
Jose Diaz-Gonzalez
ecb8a02356
feat: switch from xip.io to sslip.io
...
xip.io appears to be unsupported after an exodus at basecamp. Switching to sslip.io seems like a decent move.
Refs #2574
2021-08-05 23:30:58 -04:00
Jose Diaz-Gonzalez
39d8465938
Merge pull request #4714 from dokku/libera-chat
...
Swap from freenode to libera.chat
2021-08-05 23:04:12 -04:00
Jose Diaz-Gonzalez
b15244e672
docs: swap from freenode to libera.chat
...
Freenode is basically offline at this point and we've had a libera.chat for a while, so we should point to that.
Also default all real-time communication to Slack.
Finally, remove prominent links to IRC. While libera is still available, the lack of monitoring makes it not a great way to provide support to users.
2021-08-05 23:01:35 -04:00
Jose Diaz-Gonzalez
a9905d3508
Merge pull request #4712 from dokku/4695-cron-docs
...
Clarify the shape of the command that should be entered in app.json for a cron task
2021-08-05 20:28:30 -04:00
Jose Diaz-Gonzalez
77340011bd
docs: clarify the shape of the command that should be entered in app.json for a cron task
2021-08-05 20:27:58 -04:00
Jose Diaz-Gonzalez
5c1d99a04c
feat: enable installing on RPM systems where bind-utils is bindutils
...
Closes #4706
2021-08-05 20:24:52 -04:00
Jose Diaz-Gonzalez
b02f8ba88b
docs: fix deprecation warning
2021-08-05 20:14:30 -04:00
Jose Diaz-Gonzalez
f973239379
docs: link to registry management docs
2021-08-05 20:14:20 -04:00
Jose Diaz-Gonzalez
f0a125f070
fix: remove the test-app:2 image
...
The dokku-retire call needs two passes because a later image was a child image of test-app:2.
2021-08-05 18:58:33 -04:00
Jose Diaz-Gonzalez
5a19cebfd7
fix: do not mark images dead when they still have tags
2021-08-05 17:48:09 -04:00
Jose Diaz-Gonzalez
d5697b9399
tests: inject docker credentials for tests
2021-08-05 16:48:22 -04:00
Jose Diaz-Gonzalez
8f98bbc66f
fix: do not append trailing slash on empty server values
2021-08-05 15:17:32 -04:00
Jose Diaz-Gonzalez
d4ec8d3ab5
tests: add tests for registry plugin
2021-08-05 04:20:22 -04:00
Jose Diaz-Gonzalez
0a08911800
fix: do not aggressively clean up when using the docker-local scheduler
2021-08-05 04:17:37 -04:00
Jose Diaz-Gonzalez
30a15aaa7a
fix: respect pre-deploy task image manipulation
...
This requires a bc-incompatible break in terms of what triggers the pre-deploy hook (dokku internals vs schedulers).
2021-08-05 04:17:21 -04:00
Jose Diaz-Gonzalez
d727dd76ce
fix: ensure we push and cleanup the correct images
2021-08-05 01:13:36 -04:00
Jose Diaz-Gonzalez
39af6359be
feat: add a Start() helper function
2021-08-05 01:12:40 -04:00
Jose Diaz-Gonzalez
d1728a4653
fix: avoid returning a numbered image tag if push is not enabled
2021-08-05 01:12:30 -04:00
Jose Diaz-Gonzalez
13608df0ef
fix: properly pass in password to docker login command
2021-08-05 01:12:10 -04:00
Jose Diaz-Gonzalez
c07b3161fc
fix: build all registry triggers
2021-08-05 01:11:59 -04:00
Jose Diaz-Gonzalez
1f2e2ba61d
docs: update registry docs for clarity
2021-08-05 01:11:50 -04:00
Jose Diaz-Gonzalez
93bd3cd9e3
fix: add godoc
2021-08-04 21:49:40 -04:00
Jose Diaz-Gonzalez
9930c0493d
docs: update docs for new features
2021-08-04 21:49:38 -04:00
Jose Diaz-Gonzalez
455a80e09d
chore: drop unimplemented code
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
9a845664e1
feat: implement image cleanup
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
36c96be091
fix: add missing event hook
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
1a99271fa8
feat: push tag
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
dc04ab912d
feat: tag image
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
93f819609e
feat: filled in more of pushToRegistry
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
6480957c4f
feat: add computed image-repo
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
b33cd266e7
chore: drop unused code
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
88cbae2a6d
feat: implement more of the registry plugin
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
3848b467a2
fix: add missing return
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
e68c04b9a6
fix: handle lint issues
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
5d8340d305
feat: stub out a bunch of code
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
336e901c1e
fix: add some simple validation
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
a6e4949264
refactor: drop property
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
1b325435b8
docs: add initial registry docs
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
f8edf6b07a
docs: move schedulers to live under deployment
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
9e6091e665
feat: add a new hook for global builder-release
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
a755f69e92
feat: first pass at registry plugin
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
518337812f
chore: fix comment
2021-08-04 21:49:14 -04:00
Jose Diaz-Gonzalez
324e1ad1b5
Merge pull request #4709 from dokku/deprecation-note
...
Add migration note for deprecation of ubuntu 16.04
2021-08-04 13:51:41 -04:00
Jose Diaz-Gonzalez
e95384f76b
docs: add migration note for deprecation of ubuntu 16.04
2021-08-04 13:45:49 -04:00
Jose Diaz-Gonzalez
111d5c68bf
Merge pull request #4707 from dokku/dependabot/composer/tests/apps/php/heroku/heroku-buildpack-php-196
...
chore(deps-dev): bump heroku/heroku-buildpack-php from 195 to 196 in /tests/apps/php
2021-08-03 15:21:48 -04:00
Jose Diaz-Gonzalez
ca75d4162d
Merge pull request #4508 from dokku/4500-formation-scale
...
Add support for the formation key in app.json
2021-08-02 00:27:35 -04:00
Jose Diaz-Gonzalez
a8a43812a0
chore: make deprecation notice more readable
2021-08-01 23:15:01 -04:00
Jose Diaz-Gonzalez
7058989941
chore: delete this file on import
2021-08-01 22:34:42 -04:00
Jose Diaz-Gonzalez
0decb386d5
fix: correct issues in parsing and writing an updated app.json
2021-08-01 21:52:05 -04:00
Jose Diaz-Gonzalez
4967cc1d1c
fix: do not manually create an app during tests
...
This will cause weird things to happen due to not initializing the app correctly.
2021-08-01 20:13:50 -04:00
Jose Diaz-Gonzalez
06cb7a0d55
fix: properly update formations
2021-08-01 19:06:33 -04:00
Jose Diaz-Gonzalez
fcd16e849d
fix: set correct initial formation
2021-08-01 19:06:25 -04:00
Jose Diaz-Gonzalez
eb55ba5dd0
fix: correct guard
2021-08-01 18:46:41 -04:00
Jose Diaz-Gonzalez
a7593db0c3
refactor: allow specifying clearExisting when calling ps-set-scale
2021-08-01 17:54:12 -04:00
Jose Diaz-Gonzalez
7502cbd13d
fix: actually build triggers
2021-08-01 17:53:34 -04:00
Jose Diaz-Gonzalez
823629d332
docs: document ps-can-scale
2021-08-01 17:53:25 -04:00
Jose Diaz-Gonzalez
401683a305
refactor: write DOKKU_SCALE contents to scale property
...
- remove extraction of DOKKU_SCALE
- migrate to property system
- rewrite internals to use a FormationSlice instead of a map
2021-08-01 17:47:04 -04:00
Jose Diaz-Gonzalez
8fc0cb67ec
chore: drop unnecessary line stripping
...
Since this comes out of ps-current-scale, we can ensure the contents are always valid.
2021-08-01 16:33:42 -04:00
Jose Diaz-Gonzalez
a1dcc2c173
refactor: move ParseScaleOutput to common.go so that it can be used by all plugins
2021-08-01 16:29:50 -04:00
Jose Diaz-Gonzalez
bd4621070c
feat: implement ps-can-scale
2021-08-01 16:27:13 -04:00
Jose Diaz-Gonzalez
70eb751868
fix: correct ps-can-scale guard
2021-08-01 16:26:29 -04:00
Jose Diaz-Gonzalez
ef262c26e8
feat: override all existing scale parameters when calling ps-set-scale
2021-08-01 16:20:19 -04:00
Jose Diaz-Gonzalez
5ad5a29a00
docs: add godoc
2021-08-01 16:14:12 -04:00
Jose Diaz-Gonzalez
46d333df4b
feat: implement ps-set-scale trigger
2021-08-01 16:13:03 -04:00
Jose Diaz-Gonzalez
247698fea6
refactor: move can-scale check out to command
...
If the internals call ps-set-scale, we should always respect it.
2021-08-01 16:07:55 -04:00
Jose Diaz-Gonzalez
302537efd2
refactor: skip image fetching when deploys are skipped
2021-08-01 16:07:26 -04:00
Jose Diaz-Gonzalez
a62f04fa7e
docs: add godoc
2021-08-01 15:47:55 -04:00
Jose Diaz-Gonzalez
1c98b48e5d
fix: add trigger to gitignore
2021-08-01 15:32:08 -04:00
Jose Diaz-Gonzalez
33bf6f59b3
fix: do not output extra newlines
2021-08-01 15:31:59 -04:00
Jose Diaz-Gonzalez
550a0bd07b
fix: properly parse input from ps-current-scale
2021-08-01 01:53:46 -04:00
Jose Diaz-Gonzalez
213f7d224c
refactor: use ps-current-scale instead of parsing DOKKU_SCALE file when iterating over deployed processes
2021-08-01 01:43:35 -04:00
Jose Diaz-Gonzalez
c62bff3002
refactor: hide dokku scale file parsing inside ps plugin
2021-08-01 01:21:46 -04:00
Jose Diaz-Gonzalez
31f3c429ab
docs: fix DOKKU_SCALE reference
2021-08-01 00:33:36 -04:00
Jose Diaz-Gonzalez
fee6773ef3
docs: add deprecation note to migration guide
...
Also add documentation for formations key.
2021-08-01 00:31:28 -04:00
Jose Diaz-Gonzalez
bc49a2e124
fix: ignore DOKKU_SCALE file if app.json has formations key
2021-08-01 00:30:31 -04:00
Jose Diaz-Gonzalez
3fe10efd09
fix: correct issue with assignment to nil map
2021-07-31 23:00:37 -04:00
Jose Diaz-Gonzalez
772e4286f2
fix: variable reference
2021-07-31 22:44:05 -04:00
Jose Diaz-Gonzalez
b9e30e7e19
fix: remove redundant if check
2021-07-31 22:23:19 -04:00