diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index d658f5a..6e3d54c 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -76,11 +76,11 @@ jobs: fail-fast: false matrix: target: - - "debian-bookworm-amd64-postgresql-15-pgdg" + - "debian-trixie-amd64-postgresql-15-pgdg" - "ubuntu-jammy-amd64-postgresql-15-pgdg" - - "debian-bookworm-amd64-postgresql-16-pgdg" + - "debian-trixie-amd64-postgresql-16-pgdg" - "ubuntu-jammy-amd64-postgresql-16-pgdg" - - "debian-bookworm-amd64-postgresql-17-pgdg" + - "debian-trixie-amd64-postgresql-17-pgdg" - "ubuntu-noble-amd64-postgresql-17-pgdg" steps: - uses: actions/checkout@v7 @@ -96,17 +96,17 @@ jobs: echo "BASE_NAME=${BASE_NAME}" >> $GITHUB_ENV echo "ARROW_SOURCE=$(pwd)/arrow" >> $GITHUB_ENV full_target=${{ matrix.target }} - # debian-bookworm-amd64-postgresql-15-pgdg -> + # debian-trixie-amd64-postgresql-15-pgdg -> # postgresql-15-pgdg PACKAGE=postgresql-${full_target#*-postgresql-} echo "PACKAGE=${PACKAGE}" >> $GITHUB_ENV - # debian-bookworm-amd64-postgresql-15-pgdg -> + # debian-trixie-amd64-postgresql-15-pgdg -> # 15 -> POSTGRESQL_VERSION=${full_target#*-postgresql-} POSTGRESQL_VERSION=${POSTGRESQL_VERSION%-pgdg} echo "POSTGRESQL_VERSION=${POSTGRESQL_VERSION}" >> $GITHUB_ENV - # debian-bookworm-amd64-postgresql-15-pgdg -> - # debian-bookworm-amd64 + # debian-trixie-amd64-postgresql-15-pgdg -> + # debian-trixie-amd64 PACKAGE_TARGET=${full_target%-postgresql-*} echo "APT_TARGETS=${PACKAGE_TARGET}" >> $GITHUB_ENV echo "YUM_TARGETS=${PACKAGE_TARGET}" >> $GITHUB_ENV @@ -127,10 +127,10 @@ jobs: echo "ARCHITECTURE=${ARCHITECTURE}" >> $GITHUB_ENV case ${PACKAGE_TARGET} in - debian-bookworm-*) + debian-trixie-*) DOCKER_IMAGE_BUILD=yes DOCKER_TAG_PREFIX="ghcr.io/${GITHUB_REPOSITORY}:" - DOCKER_TAG_SUFFIX="-bookworm-${POSTGRESQL_VERSION}" + DOCKER_TAG_SUFFIX="-trixie-${POSTGRESQL_VERSION}" DOCKER_TAGS="${DOCKER_VERSION}" if [ "${GITHUB_REF_TYPE}" = "tag" ]; then DOCKER_TAGS="${DOCKER_TAG_PREFIX}${GITHUB_REF_NAME}${DOCKER_TAG_SUFFIX}" diff --git a/dev/release/verify-rc.sh b/dev/release/verify-rc.sh index 3bdd6d4..994ba44 100755 --- a/dev/release/verify-rc.sh +++ b/dev/release/verify-rc.sh @@ -253,7 +253,7 @@ test_apt() { verify_type=staging-${verify_type} fi for postgresql_vesrion in 15 16; do - for target in "debian:bookworm" \ + for target in "debian:trixie" \ "ubuntu:jammy"; do show_info "Verifying ${target} with PostgreSQL ${postgresql_version}..." if ! docker run \ diff --git a/doc/source/install.md b/doc/source/install.md index 9ded63c..79aaa11 100644 --- a/doc/source/install.md +++ b/doc/source/install.md @@ -23,7 +23,7 @@ Supported versions: -- Debian GNU/Linux bookworm +- Debian GNU/Linux trixie - Ubuntu 22.04 LTS Enable the PostgreSQL APT repository: diff --git a/package/arrow-flight-sql-postgresql-package-task.rb b/package/arrow-flight-sql-postgresql-package-task.rb index 099942c..86ed735 100644 --- a/package/arrow-flight-sql-postgresql-package-task.rb +++ b/package/arrow-flight-sql-postgresql-package-task.rb @@ -71,8 +71,8 @@ def build_archive def apt_targets_default [ - "debian-bookworm-amd64", - # "debian-bookworm-arm64", + "debian-trixie-amd64", + # "debian-trixie-arm64", "ubuntu-jammy-amd64", # "ubuntu-jammy-arm64", "ubuntu-noble-amd64", diff --git a/package/postgresql-15-pgdg/Dockerfile b/package/postgresql-15-pgdg/Dockerfile index 29c31be..4941efa 100644 --- a/package/postgresql-15-pgdg/Dockerfile +++ b/package/postgresql-15-pgdg/Dockerfile @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. -FROM postgres:15-bookworm +FROM postgres:15-trixie COPY package/docker/postgresql-15-pgdg-apache-arrow-flight-sql_*_amd64.deb ./ RUN \ diff --git a/package/postgresql-15-pgdg/apt/debian-bookworm-amd64/Dockerfile b/package/postgresql-15-pgdg/apt/debian-trixie-amd64/Dockerfile similarity index 98% rename from package/postgresql-15-pgdg/apt/debian-bookworm-amd64/Dockerfile rename to package/postgresql-15-pgdg/apt/debian-trixie-amd64/Dockerfile index 475f6ec..f4b976f 100644 --- a/package/postgresql-15-pgdg/apt/debian-bookworm-amd64/Dockerfile +++ b/package/postgresql-15-pgdg/apt/debian-trixie-amd64/Dockerfile @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. -ARG FROM=debian:bookworm +ARG FROM=debian:trixie FROM ${FROM} RUN \ diff --git a/package/postgresql-16-pgdg/Dockerfile b/package/postgresql-16-pgdg/Dockerfile index bc621ee..63f8319 100644 --- a/package/postgresql-16-pgdg/Dockerfile +++ b/package/postgresql-16-pgdg/Dockerfile @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. -FROM postgres:16-bookworm +FROM postgres:16-trixie COPY package/docker/postgresql-16-pgdg-apache-arrow-flight-sql_*_amd64.deb ./ RUN \ diff --git a/package/postgresql-16-pgdg/apt/debian-bookworm-amd64/Dockerfile b/package/postgresql-16-pgdg/apt/debian-trixie-amd64/Dockerfile similarity index 98% rename from package/postgresql-16-pgdg/apt/debian-bookworm-amd64/Dockerfile rename to package/postgresql-16-pgdg/apt/debian-trixie-amd64/Dockerfile index 4a6c25f..adb2046 100644 --- a/package/postgresql-16-pgdg/apt/debian-bookworm-amd64/Dockerfile +++ b/package/postgresql-16-pgdg/apt/debian-trixie-amd64/Dockerfile @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. -ARG FROM=debian:bookworm +ARG FROM=debian:trixie FROM ${FROM} RUN \ diff --git a/package/postgresql-17-pgdg/Dockerfile b/package/postgresql-17-pgdg/Dockerfile index ab706be..5419b77 100644 --- a/package/postgresql-17-pgdg/Dockerfile +++ b/package/postgresql-17-pgdg/Dockerfile @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. -FROM postgres:17-bookworm +FROM postgres:17-trixie COPY package/docker/postgresql-17-pgdg-apache-arrow-flight-sql_*_amd64.deb ./ RUN \ diff --git a/package/postgresql-17-pgdg/apt/debian-bookworm-amd64/Dockerfile b/package/postgresql-17-pgdg/apt/debian-trixie-amd64/Dockerfile similarity index 98% rename from package/postgresql-17-pgdg/apt/debian-bookworm-amd64/Dockerfile rename to package/postgresql-17-pgdg/apt/debian-trixie-amd64/Dockerfile index 5a41e05..2b7b846 100644 --- a/package/postgresql-17-pgdg/apt/debian-bookworm-amd64/Dockerfile +++ b/package/postgresql-17-pgdg/apt/debian-trixie-amd64/Dockerfile @@ -15,7 +15,7 @@ # specific language governing permissions and limitations # under the License. -ARG FROM=debian:bookworm +ARG FROM=debian:trixie FROM ${FROM} RUN \