dcloud ci cloud-spend-cap set

Set, raise or remove the organization cap on CI cloud spend

IAM ci:PutCloudSpendCapChanges state

At the cap no runner pool of the organization rents a cloud machine; cloud machines finish their job and leave, and jobs wait for own-host slots (a cloud-only pool’s jobs wait until the month ends). Owners and admins get one mail at 80 % and one when runs have waited 30 minutes because of the cap. A pool can carry its own cap as well (monthlyCloudCapEur on the pool); whichever is reached first applies.

Synopsis

dcloud ci cloud-spend-cap set --monthly-cloud-cap-eur monthlyCloudCapEur

Flags

  • --monthly-cloud-cap-eurRequired

    number

    Most all runner pools of the organization together may spend on cloud machines per billing month, euros net, to the cent; 0 keeps every pool on own hosts; null removes the cap

    Constraints: 0-1000000

    May be null.

Example

dcloud ci cloud-spend-cap set --monthly-cloud-cap-eur 1

Generated from the API description, the same one the API checks requests against and the CLI is built from.