Skip to content

Commit 195c170

Browse files
authored
Merge branch 'develop' into sam/2-stage-ami-nix
2 parents fe2c90c + 6d6dbd3 commit 195c170

File tree

11 files changed

+19
-8
lines changed

11 files changed

+19
-8
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
* @supabase/backend
22
migrations/ @supabase/cli @supabase/backend
3-
docker/orioledb @supabase/postgres
3+
docker/orioledb @supabase/postgres @supabase/backend
44
common.vars.pkr.hcl @supabase/postgres @supabase/backend

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ FROM ccache as libsodium
557557
ARG libsodium_release
558558
ARG libsodium_release_checksum
559559
ADD --checksum=${libsodium_release_checksum} \
560-
"https://download.libsodium.org/libsodium/releases/libsodium-${libsodium_release}.tar.gz" \
560+
"https://supabase-public-artifacts-bucket.s3.amazonaws.com/libsodium/libsodium-${libsodium_release}.tar.gz" \
561561
/tmp/libsodium.tar.gz
562562
RUN tar -xvf /tmp/libsodium.tar.gz -C /tmp && \
563563
rm -rf /tmp/libsodium.tar.gz

ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@ EOF
306306
echo "11. Copying custom configurations"
307307
mkdir -p "$MOUNT_POINT/conf"
308308
cp -R /etc/postgresql-custom/* "$MOUNT_POINT/conf/"
309+
# removing supautils config as to allow the latest one provided by the latest image to be used
310+
rm -f "$MOUNT_POINT/conf/supautils.conf" || true
309311

310312
# removing wal-g config as to allow it to be explicitly enabled on the new instance
311313
rm -f "$MOUNT_POINT/conf/wal-g.conf"

ansible/tasks/finalize-ami.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
shell:
6868
cmd: |
6969
cp /usr/lib/systemd/system/logrotate.timer /etc/systemd/system/logrotate.timer
70-
sed -i -e 's;daily;*:0/10;' /etc/systemd/system/logrotate.timer
70+
sed -i -e 's;daily;*:0/5;' /etc/systemd/system/logrotate.timer
7171
systemctl reenable logrotate.timer
7272
become: yes
7373

ansible/tasks/postgres-extensions/18-pgsodium.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
- name: libsodium - download libsodium
99
get_url:
10-
url: "https://download.libsodium.org/libsodium/releases/libsodium-{{ libsodium_release }}.tar.gz"
10+
url: "https://supabase-public-artifacts-bucket.s3.amazonaws.com/libsodium/libsodium-{{ libsodium_release }}.tar.gz"
1111
dest: /tmp/libsodium-{{ libsodium_release }}.tar.gz
1212
checksum: "{{ libsodium_release_checksum }}"
1313
timeout: 60

ansible/vars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ postgres_exporter_release_checksum:
4646
arm64: sha256:29ba62d538b92d39952afe12ee2e1f4401250d678ff4b354ff2752f4321c87a0
4747
amd64: sha256:cb89fc5bf4485fb554e0d640d9684fae143a4b2d5fa443009bd29c59f9129e84
4848

49-
adminapi_release: 0.63.3
49+
adminapi_release: 0.63.5
5050
adminmgr_release: 0.19.0
5151

5252
# Postgres Extensions

common.vars.pkr.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
postgres-version = "15.1.1.41"
1+
postgres-version = "15.1.1.42"

docker/all-in-one/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ ARG postgres_version=15.1.1.24
33
ARG pgbouncer_release=1.18.0
44
ARG postgrest_release=10.1.2
55
ARG gotrue_release=2.130.0
6-
ARG adminapi_release=0.63.2
6+
ARG adminapi_release=0.63.5
77
ARG adminmgr_release=0.19.0
88
ARG vector_release=0.22.3
99
ARG postgres_exporter_release=0.15.0
@@ -276,6 +276,7 @@ RUN mkdir -p /var/log/wal-g \
276276
&& chown adminapi:adminapi /etc/wal-g/config.json \
277277
&& echo '{"WALG_S3_PREFIX": "s3://foo/bar/"}' > /etc/wal-g/config.json
278278
RUN chown -R adminapi:adminapi /etc/adminapi
279+
RUN sed -i "s;#include = '/etc/postgresql-custom/generated-optimizations.conf';include = '/etc/postgresql-custom/generated-optimizations.conf';" /etc/postgresql/postgresql.conf
279280

280281
# Add healthcheck and entrypoint scripts
281282
COPY docker/all-in-one/healthcheck.sh /usr/local/bin/

docker/orioledb/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ FROM ccache as libsodium
512512
ARG libsodium_release
513513
ARG libsodium_release_checksum
514514
ADD --checksum=${libsodium_release_checksum} \
515-
"https://download.libsodium.org/libsodium/releases/libsodium-${libsodium_release}.tar.gz" \
515+
"https://supabase-public-artifacts-bucket.s3.amazonaws.com/libsodium/libsodium-${libsodium_release}.tar.gz" \
516516
/tmp/libsodium.tar.gz
517517
RUN tar -xvf /tmp/libsodium.tar.gz -C /tmp && \
518518
rm -rf /tmp/libsodium.tar.gz

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
# want to have an arbitrary order, since it might matter. being
5454
# explicit is better.
5555
(import ./nix/overlays/cargo-pgrx-0-11-3.nix)
56+
# (import ./nix/overlays/postgis.nix)
5657
#(import ./nix/overlays/gdal-small.nix)
5758

5859
];

0 commit comments

Comments
 (0)