From 9551e7d40836bab0fa81bf58e93a218e9e5b195f Mon Sep 17 00:00:00 2001 From: Ross Ceballo Date: Mon, 23 Dec 2024 16:47:03 -0500 Subject: [PATCH] Add arm to build stack docker --- pipelines/release/docker/build_stack.groovy | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/pipelines/release/docker/build_stack.groovy b/pipelines/release/docker/build_stack.groovy index d9e43c54..2dd05479 100644 --- a/pipelines/release/docker/build_stack.groovy +++ b/pipelines/release/docker/build_stack.groovy @@ -36,6 +36,8 @@ notify.wrap { String manifestId = params.MANIFEST_ID ?: '' String lsstCompiler = params.LSST_COMPILER ?: '' + + def lsstswConfigs = canonical.lsstsw_config def release = scipipe.scipipe_release def dockerfile = release.dockerfile def dockerRegistry = release.docker_registry @@ -49,9 +51,14 @@ notify.wrap { def timestamp = util.epochMilliToUtc(currentBuild.startTimeInMillis) def shebangtronUrl = util.shebangtronUrl() + def matrix = [:] + lsstswConfigs.each{ lsstswConfig -> + def slug = util.lsstswConfigSlug(lsstswConfig) + matrix[slug] ={ + def newinstallImage = newinstall.docker_registry.repo def newinstallTagBase = newinstall.docker_registry.tag - def splenvRef = scipipe.canonical.lsstsw_config.splenv_ref + def splenvRef = lsstsw_configs.splenv_ref if (params.SPLENV_REF) { splenvRef = params.SPLENV_REF } @@ -139,7 +146,7 @@ notify.wrap { } // push } // run - util.nodeWrap('docker') { + util.nodeWrap(lsstswConfig.label) { try { timeout(time: timelimit, unit: 'HOURS') { run() @@ -164,4 +171,8 @@ notify.wrap { } // stage } // try } // util.nodeWrap + } +} +parallel matrix + } // notify.wrap