Files
mqttmarionette/ci/Jenkinsfile
Dustin C. Hatch e53c147dfa
All checks were successful
dustin/mqttmarionette/pipeline/head This commit looks good
ci: Begin CI Pipeline
For now, we're only building aarch64 binaries.  The screens I intend to
deploy this on are both Raspberry Pis, and I don't yet have a way to
produce multi-arch container images to provide the build environment.
2023-01-13 09:31:56 -06:00

60 lines
1.9 KiB
Groovy

// vim: set sw=4 ts=4 sts=4 et :
pipeline {
agent none
stages {
stage('Build') {
parallel {
/*
stage('Build x86_64') {
agent {
kubernetes {
containerTemplate {
name 'build'
image 'git.pyrocufflink.net/containerimages/build/browserhud'
command 'cat'
ttyEnabled true
}
nodeSelector 'kubernetes.io/arch=amd64'
defaultContainer 'build'
}
}
steps {
sh '. ci/build.sh'
}
post {
success {
archiveArtifacts 'x86_64/mqttmarionette'
}
}
}
*/
stage('Build aarch64') {
agent {
kubernetes {
containerTemplate {
name 'build'
image 'git.pyrocufflink.net/containerimages/build/browserhud'
command 'cat'
ttyEnabled true
}
nodeSelector 'kubernetes.io/arch=arm64'
defaultContainer 'build'
}
}
steps {
sh '. ci/build.sh'
}
post {
success {
archiveArtifacts 'aarch64/mqttmarionette'
}
}
}
}
}
}
}