Jose Diaz-Gonzalez
40b20e0c08
refactor: move herokuish app cache from the filesystem into a docker volume
...
This simplifies cache referencing and also paves the way for removing more from the app git directory.
Refs #1558
2023-08-05 10:35:54 -04:00
AJ Jordan
17f3bc17d9
Fix typo
2023-04-19 20:25:05 -04:00
josegonzalez
ca444af7d1
docs: add a note about required upgrade to 0.29.x
...
We introduced a method of migrating from DOKKU_SCALE to app.json in 0.25.x. This was removed in 0.30.x, so users need to ensure they either set their own scale manually _or_ upgrade. The upgrade is probably the safest bet.
2023-02-20 16:08:31 -05:00
josegonzalez
992b27fcf9
docs: add note about ubuntu 18.04 being deprecated
...
This was an omission by error in the 0.30.x release notes.
2023-02-17 22:11:09 -05:00
Jose Diaz-Gonzalez
09eb0b2c8f
refactor: move app.json extraction up to core-post-extract
2023-02-14 03:08:02 -05:00
Jose Diaz-Gonzalez
f84a650849
chore: remove deprecated nginx commands
2023-02-12 13:20:45 -05:00
Jose Diaz-Gonzalez
954b2d9d34
chore: remove deprecated proxy functions
2023-02-12 13:20:24 -05:00
Jose Diaz-Gonzalez
59fde3a317
chore: remove deprecated nginx commands
2023-02-12 13:12:47 -05:00
Jose Diaz-Gonzalez
577aafb683
chore: remove deprecated git functions
2023-02-12 13:09:20 -05:00
Jose Diaz-Gonzalez
e628e21879
chore: remove deprecated --rm-container and--rm global flags
2023-02-12 13:09:00 -05:00
Jose Diaz-Gonzalez
d27c8f09d1
chore: remove deprecated common functions
2023-02-12 13:08:45 -05:00
Jose Diaz-Gonzalez
7f2a66df88
chore: remove deprecated app functions
...
These were deprecated in 0.20.0 and are unused in Dokku's official codebases.
2023-02-12 13:02:23 -05:00
Jose Diaz-Gonzalez
237aae9eec
feat: first pass at haproxy plugin implementation
2023-02-11 06:08:56 -05:00
josegonzalez
503ac7e11b
docs: update removal notice in 0.3.0 for logs:failed
2023-01-16 01:34:33 -05:00
Jose Diaz-Gonzalez
a5fa3725e6
chore: remove deprecated builder-specific post-release hooks
...
This option was deprecated in Dokku 0.25.0.
2023-01-16 01:25:41 -05:00
Jose Diaz-Gonzalez
a2444b453d
chore: remove deprecated --detach flag
...
This option was deprecated in Dokku 0.25.0.
2023-01-16 01:19:39 -05:00
Jose Diaz-Gonzalez
5dcc1cb13c
refactor: remove support for DOKKU_SCALE file
...
It has been replaced by the 'formations' key within the 'app.json' file format.
2023-01-15 23:53:03 -05:00
Jose Diaz-Gonzalez
ca1ab188fe
chore: drop SPDY
...
This hasn't been supported by browsers in quite a while and nginx will set a warning as of Ubuntu 20.04 when the header is referenced.
2022-12-29 01:59:54 -05:00
Jose Diaz-Gonzalez
c3c6e2174a
fix: keep track of the source image when building an app via git:from-image
...
This change fixes issues with ps:rebuild not working as expected - essentially ignoring files in the repo - as well as adds tests.
Closes #5518
2022-12-18 17:57:24 -05:00
Jose Diaz-Gonzalez
edd6e476b3
refactor: simplify how url generation works
...
The URLS file is no longer necessary as urls are now generated directly from the app VHOST file.
This also moves all the url generation logic to the domains plugin.
2022-12-02 02:19:59 -05:00
Jose Diaz-Gonzalez
9eab17af11
refactor: setup app domains in the post-create hook
...
This is more consistent with app setup, at the cost of making it so developers must disable domains manually afterwards.
2022-12-01 22:39:38 -05:00
Jose Diaz-Gonzalez
a8bc8044e4
feat: switch to systemctl for interacting with the nginx init process
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
6fed37b408
refactor: rename pre-restore trigger to scheduler-pre-restore
...
This better reflects what the trigger does, and allows us to use the pre-restore trigger at the beginning of the ps:restore command.
2022-11-29 01:38:36 -05:00
Jose Diaz-Gonzalez
fe4d80a82b
refactor: cleanup zero'd out processes when a Procfile omitting those process types is set
...
This change also moves the referenced Procfile out to a host path once on deploy vs potentially several times, which should speed up deploys a small amount and simplify reasoning about the file.
Closes #5112
2022-11-25 14:50:35 -05:00
Jose Diaz-Gonzalez
17814d4847
refactor: only extract the nginx.conf.sigil from the source code and not an app path
...
The previous method was a bit more difficult for users to interact with as they needed to ensure the file was at a certain path in the built image. This change divorces the file from the built artifact, better aligning the nginx.conf.sigil handling with the rest of Dokku's monorepo support.
A side effect of this is now building proxy configurations does not require access to the built image.
Closes #5207
2022-11-23 19:32:53 -05:00
Jose Diaz-Gonzalez
f5c3b5dc34
refactor: move DOKKU_WAIT_TO_RETIRE to a checks property
...
This centralizes the property and removes one more dokku-specific property from the app environment variables.
Closes #5049
2022-11-22 20:27:43 -05:00
Jose Diaz-Gonzalez
ddae4f71da
refactor: switch from base64-encoding to base36-encoding of cron task IDs
...
This allows the IDs to be used as DNS labels, meaning they can be used as is for external scheduler task names.
Closes #4903
2022-11-09 22:22:37 -05:00
Jose Diaz-Gonzalez
60acf68412
feat: use container name instead of container id for run:detached output
...
Closes #5170
2022-10-29 17:12:18 -04:00
Jose Diaz-Gonzalez
01531c3986
docs: cleanup links to renamed docs
2022-09-05 16:49:56 -04:00
Jose Diaz-Gonzalez
a7d5fb69e2
docs: add migration note
2022-08-10 14:15:05 -04:00
Jose Diaz-Gonzalez
f094ea1f72
chore: move nginx docs to new proxies location
2022-08-10 04:23:05 -04:00
Jose Diaz-Gonzalez
70fc35c317
chore: drop unsupported operating systems
...
We will no longer support CentOS, Fedora, and Opensuse as installation targets. These are not actively maintained by anyone with commit rights and occasionally cause issues for users as they are not tested during the release process.
Rather than have subpar support for an untested operating system, we're removing support for them completely. Users of these operating systems should take a look migration to the docker-based installation method, which will always be tested and supported by the project.
Additionally, drop support for Debian 9 as it is now EOL.
2022-08-07 18:36:30 -04:00
Jose Diaz-Gonzalez
7d5c242fa9
docs: document that the community registry plugin should be uninstalled first
...
Without this, it's unknown what will happen.
Refs #5223
2022-06-25 00:26:31 -04:00
Jose Diaz-Gonzalez
26e7a16fd7
fix: only rename app domains associated with a global domain
...
Closes #4965
2022-01-28 22:38:24 -05:00
Jose Diaz-Gonzalez
cce7c5cb97
Merge pull request #4862 from dokku/4464-deploy-source
...
Set deploy-source and metadata at deploy time
2021-10-10 02:07:16 -04:00
Jose Diaz-Gonzalez
c0b6942392
refactor: set deploy-source and metadata at deploy time
...
This ensures the value is correct, where previously it was computed based on a file - and therefore did not distinguish between git:from-archive and git:from-image.
Closes #4464
2021-10-09 23:37:53 -04:00
Jose Diaz-Gonzalez
a8a167f87f
chore: fix documentation in migration guide
2021-10-09 21:12:56 -04:00
Jose Diaz-Gonzalez
d1a16717b3
chore: remove deprecated tar plugin
...
This plugin was deprecated in 0.24.0 in favor of git:from-archive. Users should migrate to the new command.
2021-10-09 18:43:53 -04:00
Jose Diaz-Gonzalez
e893ac2aaa
chore: remove deprecated tags plugin
...
This plugin was deprecated in 0.24.0 in favor of git:from-image. Users should migrate to the new command.
2021-10-09 18:34:01 -04:00
Jose Diaz-Gonzalez
3c6396fbca
feat: implement the scheduler plugin
...
This also performs a one-time migration of the DOKKU_SCHEDULER values the scheduler plugin properties.
Closes #4739
2021-10-09 18:31:59 -04:00
Jose Diaz-Gonzalez
00bb9fad9f
docs: add a note to the migration guide regarding using a Procfile for Dockerfile deploys
...
Closes #4769
2021-10-09 16:32:59 -04:00
Thomas Gorny
2271c476e9
Remove spare backtick in 0.25.0-migration-guide.md
2021-08-25 11:44:59 +02:00
Jose Diaz-Gonzalez
e8d9982330
chore: drop unnecessary scheduler-docker-cleanup hook
...
All the logic was already called from docker-cleanup, so this just lengthened the cleanup time.
2021-08-08 01:57:44 -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
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
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
9930c0493d
docs: update docs for new features
2021-08-04 21:49:38 -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
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
350a84d253
refactor: deprecate the --detach flag in favor of run:detached
2021-07-27 02:58:44 -04:00