refactor: remove support for the railpack no-cache property

This replicates the docker-options functionality.
This commit is contained in:
Jose Diaz-Gonzalez committed 2025-11-15 23:30:24 -05:00
1 parent 93cf9cc118
commit 364eac374d
4 files changed
+6 -63

No files matched your search

+2 -2
View File
@@ -9,13 +9,13 @@ cmd-builder-railpack-set() {
declare cmd="builder-railpack:set"
[[ "$1" == "$cmd" ]] && shift 1
declare APP="$1" KEY="$2" VALUE="$3"
local VALID_KEYS=("railpackjson-path" "no-cache")
local VALID_KEYS=("railpackjson-path")
[[ "$APP" == "--global" ]] || verify_app_name "$APP"
[[ -z "$KEY" ]] && dokku_log_fail "No key specified"
if ! fn-in-array "$KEY" "${VALID_KEYS[@]}"; then
dokku_log_fail "Invalid key specified, valid keys include: railpackjson-path, no-cache"
dokku_log_fail "Invalid key specified, valid keys include: railpackjson-path"
fi
if [[ -n "$VALUE" ]]; then