See related documentation:
Token
- Visit CircleCI home
- Choose the relevant organization
- Click Runners
- Click Create resource class (keep track of the namespace and label)
- Utilize the token value below.
Configuration
[[]]
# A resource class token.
= ""
# --------------------------------------------------------------------
# Optional: defaults inlined.
# Limit the number of cores consumed concurrently by all jobs.
# For cost buckets see https://doc.cedarci.com/financial/pricing/ and
# https://doc.cedarci.com/feature/tier/ for the tier4 cost adjustment.
# The default will adjust to contract/custom limit.
= 30
# The number of CPU cores or partial cores, ranging between 0.25 and 16.
# Values may also be given in milicpu (ex. 1500m = 1.5).
# The CPU to Gigabytes of memory will be maintained at a 1:2 ratio.
= "2"
# The URL of the CircleCI server for use by runner.
= "https://runner.circleci.com"
Workflow
Update desired workflow jobs to run on cedarci using the $namespace/$label chosen.
jobs:
build:
+ resource_class: cedarci/fast
docker:
- image: alpine
steps:
- checkout
- run: echo "speedy"
Capability
The runner does not current support setup_remote_docker option on jobs. Let us know if that is important to you via our contact e-mail.