Environment configuration changes

The following table provides information about environment variables and other environment configuration files that were removed or deprecated in ece-tools v2002.1.0.

ItemReplacement
SCD_EXCLUDE_THEMES variableSCD_MATRIX
STATIC_CONTENT_THREADS variableSCD_THREADS
DO_DEPLOY_STATIC_CONTENT variableSKIP_SCD
STATIC_CONTENT_SYMLINK variableNone. Now, the build always creates a symlink to the static content directory pub/static.
build_options.ini file

Use the .magento.env.yaml file to configure environment variables to manage build-and-deploy actions across all your environments.

If you build a Cloud environment that includes the build_options.ini file, the build fails.

CLI command changes

The following table summarizes CLI command changes in ECE-Tools v2002.1.0 that might require you to update commands or scripts.

CommandReplacement
m2-ece-buildvendor/bin/ece-tools build
m2-ece-deployvendor/bin/ece-tools deploy
m2-ece-scd-dumpvendor/bin/ece-tools config:dump
vendor/bin/ece-tools patchvendor/bin/ece-patches apply
vendor/bin/ece-tools docker:buildvendor/bin/ece-docker build:compose
vendor/bin/ece-tools docker:config:convertvendor/bin/ece-docker image:generate:php

In earlier ECE-Tools releases, you could use the m2-ece-build and m2-ece-deploy commands to configure deployment hooks in the .magento.app.yaml file. When you update to v2002.1.0, check the hooks configuration in the .magento.app.yaml file for the obsolete commands, and replace them if needed.