Jose Diaz-Gonzalez
1308e21947
feat: migrate environment variables to plugin properties
Standardize how environment variables are migrated to properties during
install triggers and migrate all remaining DOKKU_* config vars to their
appropriate plugin properties.
Adds a reusable MigrateConfigToProperties() function in the common
package with Transform callback and ListProperty support, plus a
migrate-config-to-property subcommand for the prop binary so shell
plugins can use the same code path.
Migrated variables and their new property owners:
- DOKKU_APP_PROXY_TYPE/DOKKU_PROXY_TYPE → proxy type
- DOKKU_DISABLE_PROXY → proxy disabled
- DOKKU_PROXY_PORT → ports proxy-port
- DOKKU_PROXY_SSL_PORT → ports proxy-ssl-port
- DOKKU_APP_RESTORE → ps restore
- DOKKU_SKIP_DEPLOY → ps skip-deploy
- DOKKU_START_CMD → ps start-cmd
- DOKKU_DOCKERFILE_START_CMD → ps dockerfile-start-cmd
- DOKKU_DISABLE_APP_AUTOCREATION → apps disable-autocreation
- DOKKU_APP_SHELL → scheduler shell
- DOKKU_SKIP_CLEANUP → builder skip-cleanup
- DOKKU_CHECKS_DISABLED → checks disabled
- DOKKU_CHECKS_SKIPPED → checks skipped
- DOKKU_CHECKS_WAIT → checks wait
- DOKKU_CHECKS_TIMEOUT → checks timeout
- DOKKU_CHECKS_ATTEMPTS → checks attempts
- DOKKU_DEFAULT_CHECKS_WAIT → checks default-wait
- DOKKU_SKIP_ALL_CHECKS → checks disabled (legacy)
- DOKKU_SKIP_DEFAULT_CHECKS → checks skipped (legacy)
Also refactors existing bespoke migration loops in scheduler, ports, ps,
builder, and nginx-vhosts plugins to use the standardized utility.
Removes DOKKU_PARALLEL_ARGUMENTS from documentation (unused in core).
Deprecates fn-migrate-config-to-property bash function.
closes #1558
2026-04-25 05:11:07 -04:00
..
2023-08-05 20:58:26 -04:00
2023-08-05 20:58:26 -04:00
2025-11-20 00:42:49 -05:00
2025-11-20 00:44:26 -05:00
2026-04-25 05:11:07 -04:00
2026-04-25 05:11:07 -04:00
2025-08-21 23:59:41 -04:00
2026-01-04 20:46:00 -05:00
2026-01-04 20:46:00 -05:00
2025-12-24 17:05:50 -05:00
2026-01-04 20:46:00 -05:00
2026-01-04 22:03:59 -05:00
2026-01-04 20:46:00 -05:00
2025-11-09 20:32:39 -05:00
2024-03-13 06:53:05 -04:00
2025-11-16 18:12:28 -05:00
2023-01-20 23:48:02 -05:00
2026-04-25 05:11:07 -04:00
2025-11-20 02:21:20 -05:00
2022-07-21 14:57:42 -04:00
2025-11-16 01:10:53 -05:00
2023-08-05 10:58:57 -04:00
2023-08-05 20:58:26 -04:00
2025-11-13 01:55:32 -05:00
2023-08-05 20:58:26 -04:00
2025-09-07 22:06:24 -04:00
2023-08-05 10:58:57 -04:00
2025-02-27 22:38:18 -05:00
2023-08-05 10:58:57 -04:00
2026-01-08 02:19:22 -05:00
2026-01-08 02:46:53 -05:00
2023-08-05 20:58:26 -04:00
2024-03-13 07:47:54 -04:00
2024-03-13 07:47:54 -04:00
2025-11-16 18:12:28 -05:00
2023-08-05 10:58:57 -04:00
2025-08-12 20:15:27 -04:00
2023-08-05 20:58:26 -04:00
2023-08-05 20:58:26 -04:00
2023-08-05 20:58:26 -04:00
2024-01-19 03:51:21 -05:00
2023-08-05 20:58:26 -04:00
2026-04-25 05:11:07 -04:00
2023-08-05 10:58:57 -04:00
2023-08-27 23:00:18 -04:00
2024-02-06 00:42:48 -05:00
2024-02-27 14:19:53 -05:00
2023-08-05 10:58:57 -04:00
2023-08-05 20:58:26 -04:00
2023-08-05 20:58:26 -04:00
2025-11-16 18:12:28 -05:00
2024-03-13 22:21:05 -04:00
2025-11-20 00:21:40 -05:00
2023-08-05 20:58:26 -04:00
2024-04-04 23:01:59 -04:00
2023-08-05 10:58:57 -04:00
2025-06-30 01:48:09 -04:00
2025-10-26 23:45:08 -04:00
2025-12-25 18:34:39 -05:00
2023-08-05 10:58:57 -04:00
2023-08-05 10:58:57 -04:00
2026-01-09 00:12:16 -05:00
2024-02-25 15:54:31 -05:00
2026-01-25 22:58:10 -05:00
2023-08-05 10:58:57 -04:00
2023-08-05 10:58:57 -04:00
2025-11-18 17:06:30 -05:00
2025-11-19 20:23:53 -05:00
2024-03-14 14:59:49 -04:00
2025-11-09 20:21:10 -05:00
2025-11-09 23:16:39 -05:00
2025-09-14 02:19:25 -04:00
2025-11-22 19:39:56 -05:00
2026-01-10 02:52:01 -05:00
2026-01-08 01:05:40 -05:00
2026-01-08 01:05:40 -05:00
2023-01-16 01:50:52 -05:00
2023-01-16 01:50:52 -05:00
2023-01-16 01:50:52 -05:00
2022-07-21 14:57:42 -04:00
2025-03-10 12:50:46 -03:00
2026-01-04 20:46:00 -05:00
2026-03-10 20:35:41 -04:00