Skip to content

Commit e0912a5

Browse files
committed
fix: attempt to reduce variance in build times
1 parent 8f5226c commit e0912a5

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ postgres_major:
1010

1111
# Full version strings for each major version
1212
postgres_release:
13-
postgresorioledb-17: "17.6.0.064-orioledb-x-10"
14-
postgres17: "17.6.1.107-x-10"
15-
postgres15: "15.14.1.107-x-10"
13+
postgresorioledb-17: "17.6.0.064-orioledb-x-11"
14+
postgres17: "17.6.1.107-x-11"
15+
postgres15: "15.14.1.107-x-11"
1616

1717
# Non Postgres Extensions
1818
pgbouncer_release: 1.25.1

ebssurrogate/scripts/surrogate-bootstrap-nix.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,15 @@ function create_fstab {
243243
function setup_chroot_environment {
244244
UBUNTU_VERSION=$(lsb_release -cs) # 'noble' for Ubuntu 24.04
245245

246+
# sometimes debootstrap will get stuck on a download for a long time
247+
# the default read timeout in wget is 900s, which can cause a ~15min increase in build time
248+
# this forces the process to fail-fast and retry
249+
cat <<EOF > ~/.wgetrc
250+
read_timeout = 15
251+
timeout = 15
252+
tries = 5
253+
EOF
254+
246255
# Bootstrap Ubuntu into /mnt
247256
debootstrap --arch ${ARCH} --variant=minbase "$UBUNTU_VERSION" /mnt
248257

0 commit comments

Comments
 (0)