Skip to content

Commit f281504

Browse files
committed
🚮 Remove the unnecessary checking of the docker run CLI options.
1 parent 29f847c commit f281504

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.github/workflows/rw_parse_project_config.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -207,17 +207,6 @@ jobs:
207207
# Parse flexible Docker run options
208208
docker_run_options=$(get_config ".docker.run_options" "-e API_TOKEN=test_token")
209209
210-
# Legacy support: If run_options is not set but old env var settings exist, build compatibility string
211-
if [[ "$docker_run_options" == "-e API_TOKEN=test_token" ]] && [[ "$use_defaults" == "false" ]]; then
212-
legacy_env_name=$(yq eval ".docker.application.env_var_name" "$config_file" 2>/dev/null || echo "null")
213-
legacy_env_value=$(yq eval ".docker.application.env_var_value" "$config_file" 2>/dev/null || echo "null")
214-
215-
if [[ "$legacy_env_name" != "null" && "$legacy_env_value" != "null" ]]; then
216-
docker_run_options="-e ${legacy_env_name}=${legacy_env_value}"
217-
echo "⚠️ Using legacy docker.application.env_var_* format. Consider migrating to docker.run_options."
218-
fi
219-
fi
220-
221210
# Parse Validation Configuration
222211
validation_version=$(get_config ".validation.version" "1.0.0-validation")
223212
validation_test_version=$(get_config ".validation.test_version" "validation-test")

0 commit comments

Comments
 (0)