If the api.sizing configuration flag is enabled, this adds the option to the following affected commands, in addition to the existing option on the environment:push (push) command. The option can only be used with projects that support the flexible resources API. It sets the strategy to be used for picking the size of new resources on the target environment: parent, child, default, minimum, or manual.
Affected commands:
backup:restore
environment:activate
environment:branch (branch)
environment:merge (merge)
environment:synchronize (sync)
Part of #1384
Test for Upsun with:
# Download Upsun config
curl -s https://raw.githubusercontent.com/platformsh/cli/main/internal/config/upsun-cli.yaml > /tmp/upsun-cli.yaml
# Download the build for this PR
curl -s https://pr-1400-x7xqtxy-mpaw4nkgdwaea.eu-2.platformsh.site/platform.phar > /tmp/platform-pr-1400.phar
# Create an alias
alias upsun='CLI_CONFIG_FILE=/tmp/upsun-cli.yaml php /tmp/platform-pr-1400.phar'
# Then run the above commands as "upsun ..."
If the api.sizing configuration flag is enabled, this adds the option to the following affected commands, in addition to the existing option on the
environment:push
(push) command. The option can only be used with projects that support the flexible resources API. It sets the strategy to be used for picking the size of new resources on the target environment:parent
,child
,default
,minimum
, ormanual
.Affected commands:
backup:restore
environment:activate
environment:branch
(branch
)environment:merge
(merge
)environment:synchronize
(sync
)Part of #1384
Test for Upsun with: