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
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
a68234bdf4
chore: suppress dos2unix stderr output during Dockerfile builds
2021-08-05 23:41:03 -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
5a19cebfd7
fix: do not mark images dead when they still have tags
2021-08-05 17:48:09 -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
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
93bd3cd9e3
fix: add godoc
2021-08-04 21:49:40 -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
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
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
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
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