You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2024/09/27 10:06:57 UTC

(couchdb-docker) branch feat/nouveau created (now 4137f7a)

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

jan pushed a change to branch feat/nouveau
in repository https://gitbox.apache.org/repos/asf/couchdb-docker.git


      at 4137f7a  feat: add -nouveau branch to buildx subcommand only

This branch includes the following new commits:

     new 4137f7a  feat: add -nouveau branch to buildx subcommand only

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.



(couchdb-docker) 01/01: feat: add -nouveau branch to buildx subcommand only

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

jan pushed a commit to branch feat/nouveau
in repository https://gitbox.apache.org/repos/asf/couchdb-docker.git

commit 4137f7aeaa12dbccb50abce94e46aea0fd4bb503
Author: Jan Lehnardt <ja...@apache.org>
AuthorDate: Fri Sep 27 12:06:45 2024 +0200

    feat: add -nouveau branch to buildx subcommand only
---
 build.sh | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index 0c1df9a..5b0bb00 100755
--- a/build.sh
+++ b/build.sh
@@ -180,7 +180,6 @@ buildx() {
   fi
   docker buildx rm apache-couchdb >/dev/null 2>&1 || true
 
-
   echo "Creating the buildx environment..."
   docker buildx create --name apache-couchdb --driver docker-container --use
   docker buildx use apache-couchdb
@@ -189,6 +188,18 @@ buildx() {
   echo "Starting buildx build at $(date)..."
   docker buildx build --platform ${BUILDX_PLATFORMS} --tag apache/couchdb:$tag_as --push $1
   echo ""
+
+  # build nouveau
+  docker buildx rm apache-couchdb-nouveau >/dev/null 2>&1 || true
+
+  echo "Creating the buildx nouveau environment..."
+  docker buildx create --name apache-couchdb-nouveau --driver docker-container --use
+  docker buildx use apache-couchdb-nouveau
+  docker buildx inspect --bootstrap
+
+  echo "Starting buildx nouveau build at $(date)..."
+  docker buildx build --platform ${BUILDX_PLATFORMS} --tag apache/couchdb-nouveau:$tag_as --push $1-nouveau
+  echo ""
 }
 
 usage() {