[jenkins-jobs] Disable arm64 build for UI due to build failure
This commit is contained in:
parent
524987227f
commit
c8950a8a86
@ -28,7 +28,7 @@ pipelineJob('release/release-deploy-container-images') {
|
||||
stringParam('STREAMS_TO_BUILD_COUNT', '2', 'How many most recent streams should be built')
|
||||
stringParam('TAGS_PER_STREAM_COUNT', '1', 'How any most recent tags per stream should be built')
|
||||
stringParam('MULTIPLATFORM_PLATFORMS', 'linux/amd64,linux/arm64', 'Which platforms to build images for')
|
||||
booleanParam('SKIP_UI', false, 'Should UI image be skipped?')
|
||||
booleanParam('SKIP_UI', true, 'Should UI image be skipped (skipped by default due to build failure on CI)?')
|
||||
}
|
||||
|
||||
definition {
|
||||
|
@ -187,11 +187,17 @@ node('Slave') {
|
||||
echo "Building images for tag $tag"
|
||||
stage(tag.toString()) {
|
||||
dir(IMAGES_DIR) {
|
||||
// Disable IPv6 as Node.js has problems downloading dependencies using it
|
||||
sh """
|
||||
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
||||
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
|
||||
"""
|
||||
sh """
|
||||
git checkout v$tag
|
||||
git fetch origin $IMAGES_BRANCH:$IMAGES_BRANCH
|
||||
git checkout $IMAGES_BRANCH build-all-multiplatform.sh build-debezium-multiplatform.sh build-mongo-multiplatform.sh build-postgres-multiplatform.sh
|
||||
RELEASE_TAG=$tag ./build-debezium-multiplatform.sh $stream $MULTIPLATFORM_PLATFORMS
|
||||
echo '========== Building UI only for linux/amd64, arm64 not working =========='
|
||||
DEBEZIUM_UI_PLATFORM=linux/amd64 RELEASE_TAG=$tag ./build-debezium-multiplatform.sh $stream $MULTIPLATFORM_PLATFORMS
|
||||
git reset --hard
|
||||
"""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user