diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-02 18:03:45 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-02 18:03:45 +0100 |
commit | a3afff0a41c62c9c20015cba5685d2073c46ab18 (patch) | |
tree | 2fe0b406249107f7c766d68ee1620f5fbdc14d56 /Jenkinsfile | |
parent | 3da1a284dc2620cf3c4a1e962cb53e415444ab2d (diff) | |
download | vyos-build-a3afff0a41c62c9c20015cba5685d2073c46ab18.tar.gz vyos-build-a3afff0a41c62c9c20015cba5685d2073c46ab18.zip |
Jenkins: temporary disable ARM builds as they do not complete
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 102 |
1 files changed, 51 insertions, 51 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 0d5cd65c..c9828852 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -86,61 +86,61 @@ node('Docker') { stage('Build Docker container') { parallel ( 'x86-64': { - script { - dir('docker') { - sh """ - mkdir -p x86-64 - cp Dockerfile x86-64/Dockerfile - cp entrypoint.sh x86-64/entrypoint.sh - - docker build -t ${env.DOCKER_IMAGE} x86-64 - """ - if ( ! isCustomBuild()) { - withDockerRegistry([credentialsId: "DockerHub"]) { - sh "docker push ${env.DOCKER_IMAGE}" - } - - } - } - } - }, - 'armhf': { - script { - dir('docker') { - sh """ - cp Dockerfile armhf/Dockerfile - cp entrypoint.sh armhf/entrypoint.sh - sed -i 's#^FROM.*#FROM multiarch/debian-debootstrap:armhf-buster-slim#' armhf/Dockerfile - docker build -t ${env.DOCKER_IMAGE_ARM} armhf - """ - if ( ! isCustomBuild()) { - withDockerRegistry([credentialsId: "DockerHub"]) { - sh "docker push ${env.DOCKER_IMAGE_ARM}" - } + script { + dir('docker') { + sh """ + mkdir -p x86-64 + cp Dockerfile x86-64/Dockerfile + cp entrypoint.sh x86-64/entrypoint.sh + + docker build -t ${env.DOCKER_IMAGE} x86-64 + """ + if ( ! isCustomBuild()) { + withDockerRegistry([credentialsId: "DockerHub"]) { + sh "docker push ${env.DOCKER_IMAGE}" } + } } + } }, - 'arm64': { - script { - dir('docker') { - sh """ - cp Dockerfile arm64/Dockerfile - cp entrypoint.sh arm64/entrypoint.sh - sed -i 's#^FROM.*#FROM multiarch/debian-debootstrap:arm64-buster-slim#' arm64/Dockerfile - docker build -t ${env.DOCKER_IMAGE_ARM64} arm64 - - """ - - if ( ! isCustomBuild()) { - withDockerRegistry([credentialsId: "DockerHub"]) { - sh "docker push ${env.DOCKER_IMAGE_ARM64}" - - } - } - } - } - } +// 'armhf': { +// script { +// dir('docker') { +// sh """ +// cp Dockerfile armhf/Dockerfile +// cp entrypoint.sh armhf/entrypoint.sh +// sed -i 's#^FROM.*#FROM multiarch/debian-debootstrap:armhf-buster-slim#' armhf/Dockerfile +// docker build -t ${env.DOCKER_IMAGE_ARM} armhf +// """ +// if ( ! isCustomBuild()) { +// withDockerRegistry([credentialsId: "DockerHub"]) { +// sh "docker push ${env.DOCKER_IMAGE_ARM}" +// } +// } +// } +// } +// }, +// 'arm64': { +// script { +// dir('docker') { +// sh """ +// cp Dockerfile arm64/Dockerfile +// cp entrypoint.sh arm64/entrypoint.sh +// sed -i 's#^FROM.*#FROM multiarch/debian-debootstrap:arm64-buster-slim#' arm64/Dockerfile +// docker build -t ${env.DOCKER_IMAGE_ARM64} arm64 +// +// """ +// +// if ( ! isCustomBuild()) { +// withDockerRegistry([credentialsId: "DockerHub"]) { +// sh "docker push ${env.DOCKER_IMAGE_ARM64}" +// +// } +// } +// } +// } +// } ) } } |