Jose Diaz-Gonzalez
0857e51c43
fix: do not delete the existing procfile if it does not exist
2022-11-25 14:50:35 -05:00
Jose Diaz-Gonzalez
231e562b8d
fix: respect the .missing file and the process-specific procfile when fetching the a procfile command
2022-11-25 14:50:35 -05:00
Jose Diaz-Gonzalez
1455390dd3
fix: reference the correct missing file
2022-11-25 14:50:35 -05:00
Jose Diaz-Gonzalez
55ca8e3d52
chore: drop debug calls
2022-11-25 14:50:35 -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
3100eeb151
chore: split up ps-general tests
2022-11-25 14:50:35 -05:00
josegonzalez
555b081254
Merge pull request #5481 from dokku/drop-nginx-ppa
...
Drop installation of nginx ppa
2022-11-25 14:50:08 -05:00
Jose Diaz-Gonzalez
4e4f3c839a
chore: drop installation of nginx ppa
...
We've been using OS nginx for quite a while now as it's been updated significantly, so there is no need to use the official ppa anymore.
2022-11-25 14:47:52 -05:00
josegonzalez
d66dc84c28
Merge pull request #5478 from dokku/herokuish-on-arm
...
Allow users to enable herokuish usage on arm/arm64 platforms
2022-11-24 23:00:47 -05:00
josegonzalez
f871c33dec
Merge pull request #5479 from dokku/builder-cleanup
...
Cleanup builder code and docs
2022-11-24 14:47:38 -05:00
Jose Diaz-Gonzalez
7c5b0be2c3
chore: use the correct function when fetching properties with defaults
2022-11-24 14:47:13 -05:00
Jose Diaz-Gonzalez
beb8dff68c
docs: cleanup builder docs a little
2022-11-24 14:46:51 -05:00
Jose Diaz-Gonzalez
1238c8d7e0
feat: allow users to enable herokuish usage on arm/arm64 platforms
...
While the majority of buildpacks do not work on non-amd64 platforms, this will at least allow developers the option to choose when to override this setting.
2022-11-24 14:43:47 -05:00
josegonzalez
e48417f18e
Merge pull request #5477 from dokku/josegonzalez-patch-1
...
Add missing config_sub entry to config gitignore
2022-11-24 13:48:16 -05:00
josegonzalez
52f700ff97
fix: add missing app-list entry to config gitignore
2022-11-24 13:47:54 -05:00
josegonzalez
ce5f356015
fix: add missing config_sub entry to config gitignore
2022-11-24 13:47:49 -05:00
josegonzalez
25beb2af13
Merge pull request #5476 from dokku/devcontainer-fileutils
...
Add fileutils plugin to the devcontainer
2022-11-24 13:00:55 -05:00
Jose Diaz-Gonzalez
038eba6785
feat: add fileutils plugin to the devcontainer
...
This is useful in development when duplicating hooks.
2022-11-24 13:00:40 -05:00
josegonzalez
3365a544ac
Merge pull request #5475 from dokku/5207-nginx-core-post-extract
...
Refactor nginx.conf.sigil to be extracted from a specified path in source code instead of the built image
2022-11-24 12:58:50 -05:00
Jose Diaz-Gonzalez
5dc1e779ae
chore: run shfmt
2022-11-24 12:58:34 -05:00
Jose Diaz-Gonzalez
9fdc06e6fa
tests: add a test case to cover new functionality
2022-11-24 00:52:18 -05:00
Jose Diaz-Gonzalez
67c243b0ba
fix: keep track of case where current deployment does not have a custom nginx.conf.sigil
2022-11-24 00:51:58 -05:00
Jose Diaz-Gonzalez
39beb8894f
fix: cleanup app data
2022-11-24 00:51:21 -05:00
Jose Diaz-Gonzalez
ff9005dd0e
feat: migrate existing installs to new monorepo setup for nginx.conf.sigil file
2022-11-23 20:26:16 -05:00
Jose Diaz-Gonzalez
e3fa0c4bc4
refactor: move nginx.conf.sigil files into app-specific directories
2022-11-23 20:16:28 -05:00
Jose Diaz-Gonzalez
140c1e4d4c
feat: scope the custom config to the current DOKKU_PID
2022-11-23 19:43:29 -05:00
Jose Diaz-Gonzalez
b166db90e6
fix: do not reuse app-specific nginx.conf.sigil globally
2022-11-23 19:41:56 -05:00
Jose Diaz-Gonzalez
bcbe343cf7
refactor: move env var migration to it's own function
2022-11-23 19:33:13 -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
josegonzalez
05b85d0ff3
Merge pull request #5473 from dokku/5341-ip-warn
...
Add warning when a user is attempting to deploy with an ipv4/ipv6 domain name and has the default nginx site file available
2022-11-23 19:12:28 -05:00
Jose Diaz-Gonzalez
4da1f7091a
fix: run shfmt
2022-11-23 17:49:41 -05:00
Jose Diaz-Gonzalez
47f5af44c5
tests: add a test for the error message
2022-11-23 17:46:33 -05:00
Jose Diaz-Gonzalez
f3b04032a8
feat: add warning when a user is attempting to deploy with an ipv4/ipv6 domain name and has the default nginx site file available
...
This might cause an app to not load for users, causing confusion on first use.
Closes #5341
2022-11-23 16:42:58 -05:00
Jose Diaz-Gonzalez
c8a34f906a
chore: remove unused ipv4/ipv6 regex fetch
2022-11-23 16:42:58 -05:00
josegonzalez
3f2625713a
Merge pull request #5474 from dokku/josegonzalez-patch-1
...
Add missing source call
2022-11-23 16:42:38 -05:00
josegonzalez
280006f811
fix: add missing source call
2022-11-23 16:42:26 -05:00
josegonzalez
eb3db26b3e
Merge pull request #5467 from dokku/5049-wait-to-retire
...
Move DOKKU_WAIT_TO_RETIRE to a checks property
2022-11-22 22:44:33 -05:00
josegonzalez
c398a2bc59
chore: document checks:set and new report properties
2022-11-22 22:44:23 -05:00
josegonzalez
8aa60f239d
Merge pull request #5345 from esirK/ft-fix-created-at-bug
...
Always set app created-at via property instead of introspecting on folder creation time
2022-11-22 21:52:22 -05:00
Jose Diaz-Gonzalez
cb3b3b650d
fix: convert all app creation timestamps over to the properties system
2022-11-22 20:54:48 -05:00
esir
9506ba727e
Use property system to set when an app has been created
2022-11-22 20:47:29 -05:00
Jose Diaz-Gonzalez
daa4ee829e
fix: run shfmt
2022-11-22 20:34:23 -05:00
Jose Diaz-Gonzalez
e8f69ca90e
fix: remove equals sign
2022-11-22 20:28:28 -05:00
Jose Diaz-Gonzalez
9565648d8d
fix: use correct function name
2022-11-22 20:27:43 -05:00
Jose Diaz-Gonzalez
c74e6ce216
refactor: use a common wrapper function to migrate config vars to properties
2022-11-22 20:27:43 -05:00
Jose Diaz-Gonzalez
c7be1766ed
fix: call migration function
2022-11-22 20:27:43 -05:00
Jose Diaz-Gonzalez
bef746a5f6
fix: add missing source calls and ensure checks properties are setup
2022-11-22 20:27:43 -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
josegonzalez
4749d1529e
Merge pull request #5456 from cooperaj/patch-1
...
Traefik attempts to obtain certificate for api even if it's disabled.
2022-11-21 11:55:37 -05:00
josegonzalez
5ac2fc457d
Merge pull request #5466 from dokku/5464-ignore-app
...
Drop the app argument when calling storage:ensure-directory from remote client
2022-11-16 10:57:27 -05:00