You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by dj...@apache.org on 2026/10/15 13:20:58 UTC
(cloudberry) branch main updated (3a586f12c2c -> 235a6296597)
This is an automated email from the ASF dual-hosted git repository.
tuhaihe pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
from 3a586f12c2c Remove redundant CheckTablespaceDirectory calls
new 6b751cd89d1 Packaging: add the DEB package files for Ubuntu 26.04
new 235a6296597 CI: add Ubuntu 26.04 to the DEB build and test matrix
The 2 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:
.github/workflows/build-deb-cloudberry.yml | 6 +++---
.../build/packaging/deb/{ubuntu24.04 => ubuntu26.04}/changelog | 2 +-
devops/build/packaging/deb/{ubuntu24.04 => ubuntu26.04}/compat | 0
.../build/packaging/deb/{ubuntu24.04 => ubuntu26.04}/control | 10 +++++-----
.../build/packaging/deb/{ubuntu24.04 => ubuntu26.04}/install | 0
.../build/packaging/deb/{ubuntu24.04 => ubuntu26.04}/postinst | 0
devops/build/packaging/deb/{ubuntu22.04 => ubuntu26.04}/rules | 0
.../packaging/deb/{ubuntu24.04 => ubuntu26.04}/source/format | 0
.../deb/{ubuntu24.04 => ubuntu26.04}/source/local-options | 0
9 files changed, 9 insertions(+), 9 deletions(-)
copy devops/build/packaging/deb/{ubuntu24.04 => ubuntu26.04}/changelog (61%)
copy devops/build/packaging/deb/{ubuntu24.04 => ubuntu26.04}/compat (100%)
copy devops/build/packaging/deb/{ubuntu24.04 => ubuntu26.04}/control (97%)
copy devops/build/packaging/deb/{ubuntu24.04 => ubuntu26.04}/install (100%)
copy devops/build/packaging/deb/{ubuntu24.04 => ubuntu26.04}/postinst (100%)
copy devops/build/packaging/deb/{ubuntu22.04 => ubuntu26.04}/rules (100%)
mode change 100755 => 100644
copy devops/build/packaging/deb/{ubuntu24.04 => ubuntu26.04}/source/format (100%)
copy devops/build/packaging/deb/{ubuntu24.04 => ubuntu26.04}/source/local-options (100%)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org
(cloudberry) 01/02: Packaging: add the DEB package files for Ubuntu 26.04
Posted by dj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tuhaihe pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 6b751cd89d1e654391faaa98c514633e79bbc8fa
Author: Dianjin Wang <wa...@gmail.com>
AuthorDate: Thu Oct 8 18:06:46 2026 +0800
Packaging: add the DEB package files for Ubuntu 26.04
Add devops/build/packaging/deb/ubuntu26.04, copied from ubuntu24.04.
The package names in control change with each Ubuntu release, so
adjust these for 26.04 (resolute):
- gcc-13 and g++-13 become gcc-15 and g++-15, the compiler of the
26.04 build image.
- libcgroup2 becomes libcgroup3, in Build-Depends and Depends.
- libxml2 becomes libxml2-16 in Depends. The libxml2 package no longer
has an installable version.
The changelog distribution is now resolute.
Verified on Ubuntu 26.04 with the published build and test images: the
DEB builds, "apt-get install" of it succeeds in the test image, no
shared library of the installed files is unresolved, and a cluster
started with gpinitsystem from the installed package works.
Assisted-by: Claude Code
---
devops/build/packaging/deb/ubuntu26.04/changelog | 6 ++
devops/build/packaging/deb/ubuntu26.04/compat | 2 +
devops/build/packaging/deb/ubuntu26.04/control | 109 +++++++++++++++++++++
devops/build/packaging/deb/ubuntu26.04/install | 2 +
devops/build/packaging/deb/ubuntu26.04/postinst | 13 +++
devops/build/packaging/deb/ubuntu26.04/rules | 64 ++++++++++++
.../build/packaging/deb/ubuntu26.04/source/format | 2 +
.../packaging/deb/ubuntu26.04/source/local-options | 3 +
8 files changed, 201 insertions(+)
diff --git a/devops/build/packaging/deb/ubuntu26.04/changelog b/devops/build/packaging/deb/ubuntu26.04/changelog
new file mode 100644
index 00000000000..2c4eeed2af3
--- /dev/null
+++ b/devops/build/packaging/deb/ubuntu26.04/changelog
@@ -0,0 +1,6 @@
+apache-cloudberry-db-incubating (2.0.0) resolute; urgency=medium
+
+ * Initial release.
+
+ -- Cloudberry Team <de...@cloudberry.apache.org> Wed, 26 Mar 2025 11:10:44 +0000
+
diff --git a/devops/build/packaging/deb/ubuntu26.04/compat b/devops/build/packaging/deb/ubuntu26.04/compat
new file mode 100644
index 00000000000..48c962ffa2b
--- /dev/null
+++ b/devops/build/packaging/deb/ubuntu26.04/compat
@@ -0,0 +1,2 @@
+9
+
diff --git a/devops/build/packaging/deb/ubuntu26.04/control b/devops/build/packaging/deb/ubuntu26.04/control
new file mode 100644
index 00000000000..176356e2e4a
--- /dev/null
+++ b/devops/build/packaging/deb/ubuntu26.04/control
@@ -0,0 +1,109 @@
+Source: apache-cloudberry-db-incubating
+Maintainer: Apache Cloudberry (Incubating) <de...@cloudberry.apache.org>
+Section: database
+Build-Depends: debhelper (>= 9),
+ bison,
+ ca-certificates-java,
+ ca-certificates,
+ cmake,
+ curl,
+ cgroup-tools,
+ flex,
+ gcc-15,
+ g++-15,
+ git,
+ krb5-multidev,
+ libapr1-dev,
+ libbz2-dev,
+ libcurl4-gnutls-dev,
+ libevent-dev,
+ libkrb5-dev,
+ libldap-dev,
+ libperl-dev,
+ libreadline-dev,
+ libssl-dev,
+ libxml2-dev,
+ libyaml-dev,
+ libzstd-dev,
+ libaprutil1-dev,
+ libpam0g-dev,
+ libpam0g,
+ libcgroup3,
+ libyaml-0-2,
+ libldap2,
+ libssl3t64,
+ libxerces-c-dev,
+ libxerces-c3.2t64,
+ ninja-build,
+ quilt,
+ unzip,
+ wget,
+ zlib1g-dev,
+ libuv1-dev
+
+Package: apache-cloudberry-db-incubating
+Provides: apache-cloudberry-db
+Architecture: any
+Depends: curl,
+ cgroup-tools,
+ debianutils,
+ hostname,
+ iputils-ping,
+ iproute2,
+ keyutils,
+ krb5-multidev,
+ less,
+ libapr1t64,
+ libbz2-1.0,
+ libcurl4t64,
+ libcurl3t64-gnutls,
+ libevent-2.1-7t64,
+ libreadline8t64,
+ libxml2-16,
+ libyaml-0-2,
+ libldap2,
+ libzstd1,
+ libcgroup3,
+ libssl3t64,
+ libpam0g,
+ libprotobuf32t64,
+ libpsl5t64,
+ libuv1t64,
+ liburing2,
+ libxerces-c3.2t64,
+ locales,
+ lsof,
+ lz4,
+ net-tools,
+ openssh-client,
+ openssh-server,
+ openssl,
+ python3,
+ rsync,
+ wget,
+ xz-utils,
+ zlib1g
+Description: Apache Cloudberry (incubating) is an advanced, open-source, massively
+ parallel processing (MPP) data warehouse developed from PostgreSQL and
+ Greenplum. It is designed for high-performance analytics on
+ large-scale data sets, offering powerful analytical capabilities and
+ enhanced security features.
+ Key Features:
+ - Massively parallel processing for optimized performance
+ - Advanced analytics for complex data processing
+ - Integration with ETL and BI tools
+ - Compatibility with multiple data sources and formats
+ - Enhanced security features
+ Apache Cloudberry supports both batch processing and real-time data
+ warehousing, making it a versatile solution for modern data
+ environments.
+ Apache Cloudberry (incubating) is an effort undergoing incubation at
+ the Apache Software Foundation (ASF), sponsored by the Apache
+ Incubator PMC.
+ Incubation is required of all newly accepted projects until a further
+ review indicates that the infrastructure, communications, and decision
+ making process have stabilized in a manner consistent with other
+ successful ASF projects.
+ While incubation status is not necessarily a reflection of the
+ completeness or stability of the code, it does indicate that the
+ project has yet to be fully endorsed by the ASF.
diff --git a/devops/build/packaging/deb/ubuntu26.04/install b/devops/build/packaging/deb/ubuntu26.04/install
new file mode 100644
index 00000000000..e3d847a3c99
--- /dev/null
+++ b/devops/build/packaging/deb/ubuntu26.04/install
@@ -0,0 +1,2 @@
+debian/build/* /usr/cloudberry-db
+
diff --git a/devops/build/packaging/deb/ubuntu26.04/postinst b/devops/build/packaging/deb/ubuntu26.04/postinst
new file mode 100644
index 00000000000..708e3ed29b7
--- /dev/null
+++ b/devops/build/packaging/deb/ubuntu26.04/postinst
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+
+GPADMIN=gpadmin
+GPHOME=/usr/cloudberry-db
+
+if [ "$1" = configure ]; then
+
+ ln -sf ${GPHOME} /usr/local/cloudberry-db
+
+fi
+
diff --git a/devops/build/packaging/deb/ubuntu26.04/rules b/devops/build/packaging/deb/ubuntu26.04/rules
new file mode 100644
index 00000000000..463486cf03f
--- /dev/null
+++ b/devops/build/packaging/deb/ubuntu26.04/rules
@@ -0,0 +1,64 @@
+#!/usr/bin/make -f
+
+DH_VERBOSE = 1
+DPKG_EXPORT_BUILDFLAGS = 1
+
+CBDB_BIN_PATH := /usr/local/cloudberry-db
+DEBIAN_DESTINATION := $(shell pwd)/debian/build
+
+# assumes that CWD is root of cbdb source
+CBDB_PKG_VERSION := $(CBDB_PKG_VERSION)
+PACKAGE_CBDB := $(shell cat debian/control | egrep "^Package: " | cut -d " " -f 2)
+PATH := ${DEBIAN_DESTINATION}/bin:${PATH}
+
+.PHONY: gpinstall
+
+include /usr/share/dpkg/default.mk
+
+%:
+ dh $@ --parallel
+
+gpinstall:
+ # If the build staging directory is empty, copy from the pre-installed location.
+ # In CI, BUILD_DESTINATION already points here so it will be populated.
+ # For local manual packaging, copy from the installed Cloudberry path.
+ @mkdir -p ${DEBIAN_DESTINATION}
+ @if [ -z "$$(ls -A ${DEBIAN_DESTINATION} 2>/dev/null)" ]; then \
+ echo "Copying pre-built binaries from ${CBDB_BIN_PATH} to ${DEBIAN_DESTINATION}..."; \
+ cp -a ${CBDB_BIN_PATH}/* ${DEBIAN_DESTINATION}/; \
+ else \
+ echo "Build staging directory already populated, skipping copy."; \
+ fi
+ # Copy Apache compliance files into the build staging directory
+ cp -a LICENSE NOTICE DISCLAIMER ${DEBIAN_DESTINATION}/
+ cp -a licenses ${DEBIAN_DESTINATION}/
+ # Create debian/copyright for Debian policy compliance
+ mkdir -p $(shell pwd)/debian
+ cat LICENSE NOTICE > $(shell pwd)/debian/copyright
+
+override_dh_auto_install: gpinstall
+ # the staging directory for creating a debian is NOT the right GPHOME.
+ # change GPHOME to point to the post-install target install directory.
+ sed -i "s#GPHOME=.*#GPHOME=${CBDB_BIN_PATH}#g" ${DEBIAN_DESTINATION}/cloudberry-env.sh
+
+override_dh_auto_build:
+ echo "Skipping build"
+
+override_dh_auto_clean:
+ echo "Skipping clean"
+
+override_dh_auto_configure:
+ echo "Skipping configure"
+
+override_dh_auto_test:
+ echo "Skipping auto test"
+
+override_dh_gencontrol:
+ echo "using version ${CBDB_PKG_VERSION} for binary Cloudberry"
+ dh_gencontrol -- -v${CBDB_PKG_VERSION} -p${PACKAGE_CBDB}
+
+override_dh_shlibdeps:
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/$(DEB_HOST_MULTIARCH)/libfakeroot:${DEBIAN_DESTINATION}/lib dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
+
+clean_dev_local:
+ rm -rf ${DEBIAN_DESTINATION}
diff --git a/devops/build/packaging/deb/ubuntu26.04/source/format b/devops/build/packaging/deb/ubuntu26.04/source/format
new file mode 100644
index 00000000000..435dd71905d
--- /dev/null
+++ b/devops/build/packaging/deb/ubuntu26.04/source/format
@@ -0,0 +1,2 @@
+3.0 (native)
+
diff --git a/devops/build/packaging/deb/ubuntu26.04/source/local-options b/devops/build/packaging/deb/ubuntu26.04/source/local-options
new file mode 100644
index 00000000000..adf39a30992
--- /dev/null
+++ b/devops/build/packaging/deb/ubuntu26.04/source/local-options
@@ -0,0 +1,3 @@
+#abort-on-upstream-changes
+#unapply-patches
+
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org
(cloudberry) 02/02: CI: add Ubuntu 26.04 to the DEB build and test matrix
Posted by dj...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
tuhaihe pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 235a6296597e346dcda54d6141782e7032fbd78d
Author: Dianjin Wang <wa...@gmail.com>
AuthorDate: Thu Oct 8 18:06:46 2026 +0800
CI: add Ubuntu 26.04 to the DEB build and test matrix
Run the DEB build, the DEB install test and the DEB test suites on
Ubuntu 26.04, using the cbdb-build-ubuntu26.04 and cbdb-test-ubuntu26.04
images.
Add 26.04 to the three places that list the Ubuntu versions: the build
matrix, the install test matrix, and the default of the test matrix
that is generated for the "all" case of workflow_dispatch.
The 26.04 jobs need the Ubuntu 26.04 fixes for PAX, contrib/xml2 and
the gpMgmt scripts, so they fail until those are merged.
Assisted-by: Claude Code
---
.github/workflows/build-deb-cloudberry.yml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/build-deb-cloudberry.yml b/.github/workflows/build-deb-cloudberry.yml
index e4232cd4a04..77be9fb7744 100644
--- a/.github/workflows/build-deb-cloudberry.yml
+++ b/.github/workflows/build-deb-cloudberry.yml
@@ -289,7 +289,7 @@ jobs:
# Determine ubuntu versions
UBUNTU_INPUT="${{ github.event.inputs.ubuntu_version }}"
if [[ "$UBUNTU_INPUT" == "all" || -z "$UBUNTU_INPUT" ]]; then
- UBUNTU_VERSIONS_JSON='["22.04","24.04"]'
+ UBUNTU_VERSIONS_JSON='["22.04","24.04","26.04"]'
else
UBUNTU_VERSIONS_JSON=$(echo "$UBUNTU_INPUT" | jq -R 'split(",") | map(gsub("\\s+";"")) | map(select(length > 0)) | unique')
fi
@@ -378,7 +378,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- ubuntu_version: ['22.04', '24.04']
+ ubuntu_version: ['22.04', '24.04', '26.04']
container:
image: apache/incubator-cloudberry:cbdb-build-ubuntu${{ matrix.ubuntu_version }}-latest
@@ -706,7 +706,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- ubuntu_version: ['22.04', '24.04']
+ ubuntu_version: ['22.04', '24.04', '26.04']
container:
image: apache/incubator-cloudberry:cbdb-test-ubuntu${{ matrix.ubuntu_version }}-latest
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org