Configurable Build Resources
<p>We’ve expanded build resource configuration options for Screwdriver!</p>
<p>Screwdriver allows users to specify varying tiers of build resources via annotations. Previously, users were able to configure <code>cpu</code> and <code>ram</code> between the three tiers: <code>micro</code>, <code>low</code>(default), and <code>high</code>.</p>
<p>In our recent change, we are introducing a new configurable resource, <code>disk</code>, which can be set to either <code>low</code> (default) or <code>high</code>. Furthermore, we are adding an extra tier <code>turbo</code> to both the <code>cpu</code> and <code>ram</code> resources! Please note that although Screwdriver provides <a href="https://docs.screwdriver.cd/user-guide/configuration/annotations.html">default values</a> for each tier, their actual values are determined by the cluster admin.</p>
<p>Resources tier:</p>
<figure class="tmblr-full" data-orig-height="201" data-orig-width="540" data-orig-src="https://66.media.tumblr.com/0adc28dd63ed3ebcb18b0149f92b7902/tumblr_inline_pfzjuu0oUj1uwpze1_540.png"><img src="https://66.media.tumblr.com/0419affa165d2f22904541b3c31b7257/tumblr_inline_pg0j223R3H1uwpze1_540.png" alt="image" data-orig-height="201" data-orig-width="540" data-orig-src="https://66.media.tumblr.com/0adc28dd63ed3ebcb18b0149f92b7902/tumblr_inline_pfzjuu0oUj1uwpze1_540.png"/></figure><p></p>
<!-- more -->
<p><b>Screwdriver Users</b></p>
<p>In order to use these new settings, Screwdriver users can configure their screwdriver.yamls using annotations as shown below:</p>
<p>Example:</p>
<pre><code>jobs:
main:
annotations:
screwdriver.cd/cpu: TURBO
screwdriver.cd/disk: HIGH
screwdriver.cd/ram: MICRO
image: node:8
steps:
- hello: echo hello
requires: [~pr, ~commit]
</code></pre>
<p><b>Cluster Admins</b></p>
<p>Screwdriver cluster admins can refer to the following issues to set up turbo and disk resources properly.</p>
<ul><li>Turbo resources: <a href="https://github.com/screwdriver-cd/screwdriver/issues/1318#issue-364993739">https://github.com/screwdriver-cd/screwdriver/issues/1318#issue-364993739</a></li>
<li>Disk resources: <a href="https://github.com/screwdriver-cd/screwdriver/issues/757#issuecomment-425589405">https://github.com/screwdriver-cd/screwdriver/issues/757#issuecomment-425589405</a></li>
</ul><h2>Compatibility List</h2>
<p>In order to use these new features, you will need these minimum versions:</p>
<ul><li><a href="https://hub.docker.com/r/screwdrivercd/queue-worker">screwdrivercd/queue-worker</a>:v2.2.2</li>
</ul><h2>Contributors</h2>
<p>Thanks to the following people for making this feature possible:</p>
<ul><li><a href="https://github.com/Filbird"><b>Filbird</b></a></li>
<li><a href="https://github.com/minz1027"><b>minz1027</b></a></li>
</ul><p>Screwdriver is an open-source build automation platform designed for Continuous Delivery. It is built (and used) by Yahoo. Don’t hesitate to reach out if you have questions or would like to contribute: <a href="http://docs.screwdriver.cd/about/support">http://docs.screwdriver.cd/about/support</a></p>