You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2022/07/05 04:11:46 UTC

[couchdb-ci] branch erlang-25.0.2-test-pr-build-only updated (2af4290 -> e10cd13)

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a change to branch erlang-25.0.2-test-pr-build-only
in repository https://gitbox.apache.org/repos/asf/couchdb-ci.git


 discard 2af4290  Skip building multi-arch images for Erlang 25
     new e10cd13  Skip building multi-arch images for Erlang 25

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (2af4290)
            \
             N -- N -- N   refs/heads/erlang-25.0.2-test-pr-build-only (e10cd13)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:


[couchdb-ci] 01/01: Skip building multi-arch images for Erlang 25

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch erlang-25.0.2-test-pr-build-only
in repository https://gitbox.apache.org/repos/asf/couchdb-ci.git

commit e10cd13e01ea0be3f179c63ac1e4a38e70626811
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Sat Jul 2 23:44:43 2022 -0400

    Skip building multi-arch images for Erlang 25
    
    It segfaults the QEMU builder currently, so opt to at least
    linux/amd64 tests running.
    
    This doesn't affect current packages or releases as those are based on
    Erlang 23 anyway.
    
     Please enter the commit message for your changes. Lines starting
---
 build.sh | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index ccf6cf7..020675e 100755
--- a/build.sh
+++ b/build.sh
@@ -49,8 +49,17 @@ ERLANGALL_BASE="debian-bullseye"
 XPLAT_BASE="debian-bullseye"
 XPLAT_ARCHES="arm64v8 ppc64le"
 PASSED_BUILDARGS="$buildargs"
-BUILDX_PLATFORMS="linux/amd64,linux/arm64,linux/ppc64le"
 
+BUILDX_PLATFORMS="linux/amd64,linux/arm64,linux/ppc64le"
+ERLANGMAJORVERSION=`echo $ERLANGVERSION | cut -d. -f 1`
+if [[ ${ERLANGMAJORVERSION} -ge 25 ]]; then
+    echo "*************************  WARNING ***************************"
+    echo "Currently, as of 2022-07-02, Erlang 25.0.2 segfaults building"
+    echo "the linux/arm64 image on linux/amd64 in QEMU. Because"
+    echo "of that, build only the linux/amd64 image."
+    echo "**************************************************************"
+    BUILDX_PLATFORMS="linux/amd64"
+fi
 
 check-envs() {
   buildargs=$PASSED_BUILDARGS