platformsh-docs icon indicating copy to clipboard operation
platformsh-docs copied to clipboard

CLI: build resources - replace curl command in docs

Open chadwcarlson opened this issue 1 year ago • 2 comments

Where on docs.platform.sh should be changed?

CLI: build resources - replace curl command in docs

What exactly should be updated?

CLI: build resources - replace curl command in docs

Additional context

No response

chadwcarlson avatar Jul 11 '24 14:07 chadwcarlson

This page needs updating: https://docs.upsun.com/manage-resources/build-resources.html

Which currently reads:

You can adjust build resources through the Upsun API to mitigate potential overuse, or influence the duration of your builds. To do so, run a command similar to the following:

upsun project:curl settings -X PATCH -d '{"build_resources": {"cpu": 4.0, "memory": 2048}}'

We can reference (and link to) the new resources:build:set command instead:

upsun resources:build:set --cpu=4.0 --memory=2048

or using the alias

upsun build-resources:set --cpu=4.0 --memory=2048

chadwcarlson avatar Jul 11 '24 16:07 chadwcarlson

https://docs.upsun.com/administration/cli/reference.html#resourcesbuildset

flovntp avatar Oct 24 '25 13:10 flovntp