# packages not tested on specific architectures
case $architecture in
- i386)
- remove_packages $MAINSRC h3-pg pgfaceting pg-roaringbitmap "postgresql-.*-age" timescaledb
- ;;
ppc64el)
remove_packages $MAINSRC buildapp cffi cl-unicode pgloader sbcl plv8
;;
# packages not tested on certain dists
# postgresql-11 needs llvm-15 (disabled via pkg.postgresql.nollvm, but let's not set that globally here)
case $distribution in sid|trixie) remove_packages $MAINSRC postgresql-11 ;; esac
-# python-werkzeug needs DH 12 and python3-sphinx-issues
-case $distribution in
- buster|stretch|eoan|disco|bionic|xenial)
- remove_packages $MAINSRC python-werkzeug ;;
-esac
# vip-manager needs newer Go version to compile, but .debs are copied to older dists
case $distribution in
buster|groovy|focal)
remove_packages $MAINSRC vip-manager ;;
esac
-# pg-ldap-sync prometheus-sql-exporter need buster-backports which got removed
-case $distribution in buster) remove_packages $MAINSRC pg-ldap-sync prometheus-sql-exporter ;; esac
# zstd is too old on stretch, buster and bionic
-case $distribution in stretch|buster|bionic) PROFILES="pkg.postgresql.nozstd" ;; esac
+#case $distribution in stretch|buster|bionic) PROFILES="pkg.postgresql.nozstd" ;; esac
# run builddebcheck
BUILDDEBCHECK="dose-builddebcheck -v -f -e --deb-native-arch=$architecture ${PROFILES:+--deb-profiles=$PROFILES}"
# exclude packages not installable on some architectures
case $architecture in
- i386|s390x)
+ s390x)
MAINPKG=$(echo "$MAINPKG" | grep -v "pgfaceting") # pg-roaringbitmap missing on s390x
;;
esac
# ignore elephant-shed in bookworm and lunar (and older)
MAINPKG=$(echo "$MAINPKG" | grep -Ev "^elephant-shed")
-case $distribution in
- buster)
- MAINPKG=$(echo "$MAINPKG" | grep -Ev "^omnidb") # needs backports, but buster-backports got removed
- ;;
-esac
-
# bpo
if [ "$HAS_BACKPORTS" ]; then
- echo "### Running debcheck: main, packages needing backports"
- # pgdg-buildenv: depends on clang-6.0 in stretch (but we include amd64/i386 only in our repository, not ppc64el)
- # omnidb: Needs Django 2.2 on buster
- # e-s-tmate needs tmate 2.4 on buster
- pkg=$(fold $(echo "$MAINPKG" | grep -Ee 'pgdg-buildenv' -e 'resource-agents-paf' -e 'postgresql-.*-pllua' -e 'omnidb-common' -e 'omnidb-server'))
+ #pkg=$(fold $(echo "$MAINPKG" | grep -Ee 'pgdg-buildenv' ))
+ pkg=""
if [ "$pkg" ]; then
+ echo "### Running debcheck: main, packages needing backports"
( set -x; $DEBCHECK \
--bg $LISTSDIR/../backports/*_dists_${distribution}-backports_main_binary-${architecture}_Packages \
--fg $DISTSDIR/$DIST/main/binary-${architecture}/Packages \
echo
# exclude packages from further testing
- MAINPKG=$(echo "$MAINPKG" | grep -Ev -e 'pgdg-buildenv' -e 'resource-agents-paf' -e 'postgresql-.*-pllua' -e 'omnidb-common' -e 'omnidb-server')
+ #MAINPKG=$(echo "$MAINPKG" | grep -Ev -e 'pgdg-buildenv' )
fi
# main
- project:
name: prometheus-sql-exporter
git-url: https://salsa.debian.org/postgresql/prometheus-sql-exporter.git
- # buster: needs newer golang-github-lib-pq-dev (backport exists)
# bullseye, focal: needs golang-github-go-kit-log-dev
- dist-filter: '!(distribution in ["buster", "bullseye", "focal"])'
+ dist-filter: '!(distribution in ["bullseye", "focal"])'
backports: 'BACKPORTS=yes ' # golang-* backports on buster (needed for existing 0.4.0 packages in repo even when we don't build newer ones there)
jobs:
- git-packages
# Input:
# .dsc source package in current directory
# JOB_NAME=$pkg-binaries or PACKAGE=pkg
-# architecture=amd64/i386
+# architecture=amd64/arm64/...
# distribution=foo (caveat: sbuild -d foo-pgdg will be called)
# optionally: DEB_BUILD_OPTIONS
# optionally: PG_SUPPORTED_VERSIONS (defaults to pgdg)
break
done
-my_arch="$(dpkg --print-architecture)"
-case $my_arch in
- amd64) ARCHS="amd64 i386" ;;
- *) ARCHS="$my_arch" ;;
-esac
+arch="$(dpkg --print-architecture)"
for dist in $PG_SUPPORTED_DISTS; do
- for arch in $ARCHS; do
-
- # if arguments are given, execute as command in enviroment
+ # if arguments are given, execute as command in environment
# ./schroot-config.sh ./sbuild-update.sh
if [ "$*" ]; then
echo "### distribution=$dist architecture=$arch ###"
directory=/home/chroot/$dist-$arch
union-type=overlay
union-overlay-directory=/var/run
+
EOF
- [ $arch = i386 ] && echo "personality=linux32"
- echo
)"
echo "[$dist-$arch]"
- aliases="$dist-pgdg-$arch"
- [ $arch = $my_arch ] && aliases="$aliases,$dist"
- [ $dist = sid ] && [ $arch = $my_arch ] && aliases="$aliases,default"
+ aliases="$dist-pgdg-$arch,$dist"
+ [ $dist = sid ] && aliases="$aliases,default"
echo "aliases=$aliases"
echo "$body"
echo
echo "profile=sbuild"
echo "$body"
echo
- done
done
('all'),
('amd64'),
('arm64'),
- ('i386'),
- ('ppc64el');
+ ('ppc64el'),
+ ('s390x');
COMMIT;
PG_SUPPORTED_DISTS="sid trixie bookworm bullseye \
oracular noble jammy focal"
# repository dists: kept in repository config
-PG_REPOSITORY_DISTS="sid trixie bookworm bullseye buster \
-oracular noble mantic jammy focal"
+PG_REPOSITORY_DISTS="sid trixie bookworm bullseye \
+oracular noble jammy focal"
# archive dists: all distributions (used in apt.postgresql.org.sh)
PG_ARCHIVE_DISTS="sid trixie bookworm bullseye buster stretch jessie wheezy squeeze lenny etch \
oracular noble mantic lunar kinetic jammy impish hirsute groovy focal eoan disco cosmic bionic zesty xenial wily utopic saucy precise lucid"
HAS_BACKPORTS=""
case $1 in
# Debian
- sid) PGDG_TAG="" DISTRO="debian" RELEASE="unstable" ARCHS="amd64 arm64 i386 ppc64el s390x" ;;
+ sid) PGDG_TAG="" DISTRO="debian" RELEASE="unstable" ;;
trixie) PGDG_TAG="130" DISTRO="debian" RELEASE="13" ;;
bookworm) PGDG_TAG="120" DISTRO="debian" RELEASE="12" ;;
bullseye) PGDG_TAG="110" DISTRO="debian" RELEASE="11" HAS_BACKPORTS=1 ;;
Suite: sid-pgdg
Origin: apt.postgresql.org
Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64 arm64 i386 ppc64el s390x
+Architectures: source amd64 arm64 ppc64el s390x
Components: main 8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10 11 12 13 14 15 16 17 18
SignWith: ACCC4CF8
Log: sid-pgdg.log
Suite: sid-pgdg-testing
Origin: apt.postgresql.org
Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64 arm64 i386 ppc64el s390x
+Architectures: source amd64 arm64 ppc64el s390x
Components: main 8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10 11 12 13 14 15 16 17 18
SignWith: ACCC4CF8
Log: sid-pgdg-testing.log
Suite: sid-pgdg-snapshot
Origin: apt.postgresql.org
Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64 arm64 i386 ppc64el s390x
+Architectures: source amd64 arm64 ppc64el s390x
Components: main 8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10 11 12 13 14 15 16 17 18
SignWith: ACCC4CF8
Log: sid-pgdg-snapshot.log
NotAutomatic: yes
ButAutomaticUpgrades: yes
-Codename: buster-pgdg
-Suite: buster-pgdg
-Origin: apt.postgresql.org
-Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64 arm64 i386 ppc64el s390x
-Components: main 8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10 11 12 13 14 15 16 17 18
-SignWith: ACCC4CF8
-Log: buster-pgdg.log
-Uploaders: uploaders
-DebIndices: Packages Release . .gz .bz2
-UDebIndices: Packages . .gz .bz2
-DscIndices: Sources Release .gz .bz2
-Tracking: minimal includebuildinfos keepsources
-Contents: percomponent nocompatsymlink
-
-Codename: buster-pgdg-testing
-Suite: buster-pgdg-testing
-Origin: apt.postgresql.org
-Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64 arm64 i386 ppc64el s390x
-Components: main 8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10 11 12 13 14 15 16 17 18
-SignWith: ACCC4CF8
-Log: buster-pgdg-testing.log
-Uploaders: uploaders
-DebIndices: Packages Release . .gz .bz2
-UDebIndices: Packages . .gz .bz2
-DscIndices: Sources Release .gz .bz2
-Tracking: minimal includebuildinfos keepsources
-Contents: percomponent nocompatsymlink
-NotAutomatic: yes
-ButAutomaticUpgrades: yes
-
-Codename: buster-pgdg-snapshot
-Suite: buster-pgdg-snapshot
-Origin: apt.postgresql.org
-Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64 arm64 i386 ppc64el s390x
-Components: main 8.2 8.3 8.4 9.0 9.1 9.2 9.3 9.4 9.5 9.6 10 11 12 13 14 15 16 17 18
-SignWith: ACCC4CF8
-Log: buster-pgdg-snapshot.log
-Uploaders: uploaders
-DebIndices: Packages Release . .gz .bz2
-UDebIndices: Packages . .gz .bz2
-DscIndices: Sources Release .gz .bz2
-Tracking: minimal includebuildinfos keepsources
-Contents: percomponent nocompatsymlink
-NotAutomatic: yes
-ButAutomaticUpgrades: yes
-
Codename: oracular-pgdg
Suite: oracular-pgdg
Origin: apt.postgresql.org
NotAutomatic: yes
ButAutomaticUpgrades: yes
-Codename: mantic-pgdg
-Suite: mantic-pgdg
-Origin: apt.postgresql.org
-Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64
-Components: main 10 11 12 13 14 15 16 17 18
-SignWith: ACCC4CF8
-Log: mantic-pgdg.log
-Uploaders: uploaders
-DebIndices: Packages Release . .gz .bz2
-UDebIndices: Packages . .gz .bz2
-DscIndices: Sources Release .gz .bz2
-Tracking: minimal includebuildinfos keepsources
-Contents: percomponent nocompatsymlink
-
-Codename: mantic-pgdg-testing
-Suite: mantic-pgdg-testing
-Origin: apt.postgresql.org
-Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64
-Components: main 10 11 12 13 14 15 16 17 18
-SignWith: ACCC4CF8
-Log: mantic-pgdg-testing.log
-Uploaders: uploaders
-DebIndices: Packages Release . .gz .bz2
-UDebIndices: Packages . .gz .bz2
-DscIndices: Sources Release .gz .bz2
-Tracking: minimal includebuildinfos keepsources
-Contents: percomponent nocompatsymlink
-NotAutomatic: yes
-ButAutomaticUpgrades: yes
-
-Codename: mantic-pgdg-snapshot
-Suite: mantic-pgdg-snapshot
-Origin: apt.postgresql.org
-Label: PostgreSQL for Debian/Ubuntu repository
-Architectures: source amd64
-Components: main 10 11 12 13 14 15 16 17 18
-SignWith: ACCC4CF8
-Log: mantic-pgdg-snapshot.log
-Uploaders: uploaders
-DebIndices: Packages Release . .gz .bz2
-UDebIndices: Packages . .gz .bz2
-DscIndices: Sources Release .gz .bz2
-Tracking: minimal includebuildinfos keepsources
-Contents: percomponent nocompatsymlink
-NotAutomatic: yes
-ButAutomaticUpgrades: yes
-
Codename: jammy-pgdg
Suite: jammy-pgdg
Origin: apt.postgresql.org
trixie-pgdg>trixie-pgdg-testing
bookworm-pgdg>bookworm-pgdg-testing
bullseye-pgdg>bullseye-pgdg-testing
- buster-pgdg>buster-pgdg-testing
oracular-pgdg>oracular-pgdg-testing
noble-pgdg>noble-pgdg-testing
- mantic-pgdg>mantic-pgdg-testing
jammy-pgdg>jammy-pgdg-testing
focal-pgdg>focal-pgdg-testing
trixie-pgdg>trixie-pgdg-snapshot
bookworm-pgdg>bookworm-pgdg-snapshot
bullseye-pgdg>bullseye-pgdg-snapshot
- buster-pgdg>buster-pgdg-snapshot
oracular-pgdg>oracular-pgdg-snapshot
noble-pgdg>noble-pgdg-snapshot
- mantic-pgdg>mantic-pgdg-snapshot
jammy-pgdg>jammy-pgdg-snapshot
focal-pgdg>focal-pgdg-snapshot