Skip to content

Commit

Permalink
try to use qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
gisogrimm committed Jul 6, 2024
1 parent 3e23c56 commit fc39a16
Showing 1 changed file with 44 additions and 20 deletions.
64 changes: 44 additions & 20 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pipeline {
}
steps {tascar_build_steps("jammy && x86_64 && tascardev")}
}
stage( "focal && x86_64 && tascardev") {
stage( "focal && x86_64 && tascardev") {
agent {
docker {
image "hoertech/docker-buildenv:tascar_x86_64-linux-gcc-9"
Expand All @@ -53,7 +53,7 @@ pipeline {
}
steps {tascar_build_steps("focal && x86_64 && tascardev")}
}
stage( "bionic && x86_64 && tascardev") {
stage( "bionic && x86_64 && tascardev") {
agent {
docker {
image "hoertech/docker-buildenv:tascar_x86_64-linux-gcc-7"
Expand All @@ -64,45 +64,69 @@ pipeline {
}
steps {tascar_build_steps("bionic && x86_64 && tascardev")}
}
stage( "bionic && armv7 && tascardev") {
agent {label "bionic && armv7 && tascardev"}
stage( "bionic && armv7 && tascardev") {
agent {
docker {
image "hoertech/docker-buildenv:tascar_armv7-linux-gcc-7"
label "docker_qemu"
alwaysPull true
args "-v /home/u:/home/u --hostname docker"
}
}
//agent {label "bionic && armv7 && tascardev"}
steps {tascar_build_steps("bionic && armv7 && tascardev")}
}
stage( "bullseye && armv7 && tascardev") {
agent {label "bullseye && armv7 && tascardev"}
agent {
docker {
image "hoertech/docker-buildenv:tascar_armv7-linux-gcc-10"
label "docker_qemu"
alwaysPull true
args "-v /home/u:/home/u --hostname docker"
}
}
//agent {label "bullseye && armv7 && tascardev"}
steps {tascar_build_steps("bullseye && armv7 && tascardev")}
}
stage( "bullseye && aarch64 && tascardev") {
agent {label "bullseye && aarch64 && tascardev"}
agent {
docker {
image "hoertech/docker-buildenv:tascar_aarch64-linux-gcc-10"
label "docker_qemu"
alwaysPull true
args "-v /home/u:/home/u --hostname docker"
}
}
//agent {label "bullseye && aarch64 && tascardev"}
steps {tascar_build_steps("bullseye && aarch64 && tascardev")}
}
}
}
stage("artifacts") {
agent {label "aptly"}
// do not publish packages for any branches except these
when { anyOf { branch 'master'; branch 'development' } }
steps {
}
}
stage("artifacts") {
agent {label "aptly"}
// do not publish packages for any branches except these
when { anyOf { branch 'master'; branch 'development' } }
steps {
// receive all deb packages from tascarpro build
unstash "x86_64_jammy"
unstash "x86_64_focal"
unstash "x86_64_bionic"
unstash "armv7_bullseye"
unstash "aarch64_bullseye"
unstash "armv7_bionic"

// Copies the new debs to the stash of existing debs,
sh "make -f htchstorage.mk storage"

build job: "/Packaging/hoertech-aptly/$BRANCH_NAME", quietPeriod: 300, wait: false
}
}
}
}
}
post {
failure {
mail to: '[email protected]',
subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
body: "Something is wrong with ${env.BUILD_URL} ($GIT_URL)"
mail to: '[email protected]',
subject: "Failed Pipeline: ${currentBuild.fullDisplayName}",
body: "Something is wrong with ${env.BUILD_URL} ($GIT_URL)"
}
}
}

0 comments on commit fc39a16

Please sign in to comment.