Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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}"
Expand Down
2 changes: 1 addition & 1 deletion dev/release/verify-rc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion doc/source/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

Supported versions:

- Debian GNU/Linux bookworm
- Debian GNU/Linux trixie
- Ubuntu 22.04 LTS

Enable the PostgreSQL APT repository:
Expand Down
4 changes: 2 additions & 2 deletions package/arrow-flight-sql-postgresql-package-task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package/postgresql-15-pgdg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

ARG FROM=debian:bookworm
ARG FROM=debian:trixie
FROM ${FROM}

RUN \
Expand Down
2 changes: 1 addition & 1 deletion package/postgresql-16-pgdg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

ARG FROM=debian:bookworm
ARG FROM=debian:trixie
FROM ${FROM}

RUN \
Expand Down
2 changes: 1 addition & 1 deletion package/postgresql-17-pgdg/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

ARG FROM=debian:bookworm
ARG FROM=debian:trixie
FROM ${FROM}

RUN \
Expand Down
Loading