Skip to content

chore: bump admin API and admin-mgr #710

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 2, 2023
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
1 change: 1 addition & 0 deletions ansible/files/adminapi.sudoers.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Cmnd_Alias PGBOUNCER = /bin/systemctl start pgbouncer.service, /bin/systemctl st
%adminapi ALL= NOPASSWD: /usr/bin/systemctl daemon-reload
%adminapi ALL= NOPASSWD: /usr/bin/systemctl reload postgresql.service
%adminapi ALL= NOPASSWD: /usr/bin/systemctl restart postgresql.service
%adminapi ALL= NOPASSWD: /usr/bin/systemctl show -p NRestarts postgresql.service
%adminapi ALL= NOPASSWD: /usr/bin/systemctl restart adminapi.service
%adminapi ALL= NOPASSWD: /bin/systemctl daemon-reload
%adminapi ALL= NOPASSWD: /bin/systemctl restart services.slice
Expand Down
4 changes: 2 additions & 2 deletions ansible/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ postgres_exporter_release_checksum:
arm64: sha256:d869c16791481dc8475487ad84ae4371a63f9b399898ca1c666eead5cccf7182
amd64: sha256:ff541bd3ee19c0ae003d71424a75edfcc8695e828dd20d5b4555ce433c89d60b

adminapi_release: 0.46.0
adminmgr_release: 0.5.0
adminapi_release: 0.48.0
adminmgr_release: 0.9.0

# Postgres Extensions
postgis_release: "3.3.2"
Expand Down
2 changes: 1 addition & 1 deletion common.vars.pkr.hcl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
postgres-version = "15.1.0.107"
postgres-version = "15.1.0.108"
4 changes: 2 additions & 2 deletions docker/all-in-one/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ ARG pgbouncer_release=1.18.0
ARG postgrest_release=10.1.2
ARG gotrue_release=2.47.0
ARG kong_release=2.8.1
ARG adminapi_release=0.46.0
ARG adminmgr_release=0.5.0
ARG adminapi_release=0.48.0
ARG adminmgr_release=0.9.0
ARG vector_release=0.22.3
ARG postgres_exporter_release=0.9.0

Expand Down
1 change: 1 addition & 0 deletions docker/all-in-one/etc/sudoers.d/adminapi
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Cmnd_Alias PGBOUNCER = /usr/bin/supervisorctl start pgbouncer, /usr/bin/supervis
%adminapi ALL= NOPASSWD: /usr/bin/supervisorctl reread
%adminapi ALL= NOPASSWD: /usr/bin/supervisorctl update
%adminapi ALL= NOPASSWD: /usr/bin/supervisorctl restart postgresql
%adminapi ALL= NOPASSWD: /usr/bin/supervisorctl status postgresql
%adminapi ALL= NOPASSWD: /usr/bin/supervisorctl restart adminapi
%adminapi ALL= NOPASSWD: /usr/bin/supervisorctl restart services\:*
%adminapi ALL= NOPASSWD: /usr/sbin/nft -f /etc/nftables/supabase_managed.conf
Expand Down
2 changes: 1 addition & 1 deletion ebssurrogate/scripts/surrogate-bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ function clean_system {

# Setup wal-g logs
mkdir /mnt/var/log/wal-g
touch /mnt/var/log/wal-g/{backup-push.log,backup-fetch.log,wal-push.log,wal-fetch.log}
touch /mnt/var/log/wal-g/{backup-push.log,backup-fetch.log,wal-push.log,wal-fetch.log,pitr.log}

if [ -f /usr/bin/chown ]; then
chroot /mnt /usr/bin/chown -R postgres:postgres /var/log/wal-g
Expand Down
2 changes: 1 addition & 1 deletion scripts/91-log_cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ chown postgres:postgres /var/log/postgresql

mkdir /var/log/wal-g
cd /var/log/wal-g
touch backup-push.log backup-fetch.log wal-push.log wal-fetch.log
touch backup-push.log backup-fetch.log wal-push.log wal-fetch.log pitr.log
chown -R postgres:postgres /var/log/wal-g
chmod -R 0300 /var/log/wal-g