[CI] Add new intake worker size with 2x memory, and move workspace to memory (#67676)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
Brian Seeders 2020-05-28 18:25:52 -04:00 committed by GitHub
parent 05675602ee
commit 7f2e32475a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,8 @@ def label(size) {
switch(size) {
case 's':
return 'linux && immutable'
case 's-highmem':
return 'tests-s'
case 'l':
return 'tests-l'
case 'xl':
@ -114,7 +116,7 @@ def ci(Map params, Closure closure) {
// Worker for running the current intake jobs. Just runs a single script after bootstrap.
def intake(jobName, String script) {
return {
ci(name: jobName, size: 's', ramDisk: false) {
ci(name: jobName, size: 's-highmem', ramDisk: true) {
withEnv(["JOB=${jobName}"]) {
runbld(script, "Execute ${jobName}")
}