CircleCI Ideas

Provide environment variables for resource limits

Many tools are not cgroup-aware and need to be explicitly configured to use the correct number of CPUs in a Docker environment. It would be very useful to be able to write CI tooling that works across any build job or resource limit and is able to query the environment about how many CPUs are available to it, or how much memory it can use without having to explicitly pass those in to every invocation. Especially since the names of the resource classes are not specified in config.yml.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Mar 2 2018
  • Taking votes
  • Attach files