Skip to content

Commit

Permalink
Add arm to build stack docker
Browse files Browse the repository at this point in the history
  • Loading branch information
roceb committed Dec 23, 2024
1 parent eeacc18 commit 1e8afd1
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions pipelines/release/docker/build_stack.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
Expand Down Expand Up @@ -139,7 +146,7 @@ notify.wrap {
} // push
} // run

util.nodeWrap('docker') {
util.nodeWrap(lsstswConfig.label) {
try {
timeout(time: timelimit, unit: 'HOURS') {
run()
Expand All @@ -164,4 +171,8 @@ notify.wrap {
} // stage
} // try
} // util.nodeWrap
}
}
parallel matrix

} // notify.wrap

0 comments on commit 1e8afd1

Please sign in to comment.