Skip to content
Draft
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
2 changes: 1 addition & 1 deletion ansible/files/postgrest-optimizations.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description=Postgrest optimizations
[Service]
Type=oneshot
# we don't want failures from this command to cause PG startup to fail
ExecStart=/bin/bash -c "/opt/supabase-admin-api optimize postgrest --destination-config-file-path /etc/postgrest/generated.conf ; exit 0"
ExecStart=/bin/bash -c "/opt/supabase-admin-api optimize postgrest --destination-config-file-path /etc/postgrest/generated.conf --destination-env-file-path /etc/postgrest/generated.env; exit 0"
User=postgrest

[Install]
Expand Down
1 change: 1 addition & 0 deletions ansible/files/postgrest.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ StartLimitBurst=0

[Service]
Type=simple
EnvironmentFile=-/etc/postgrest/generated.env
# We allow the base config (sent from the worker) to override the generated config
ExecStartPre=/etc/postgrest/merge.sh /etc/postgrest/generated.conf /etc/postgrest/base.conf
ExecStart=/opt/postgrest /etc/postgrest/merged.conf
Expand Down
6 changes: 3 additions & 3 deletions ansible/postgres_release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
postgres_release:
postgresorioledb-17: "17.11.0.011-orioledb"
postgres17: "17.11.0.011"
postgres15: "15.19.0.011"
postgresorioledb-17: "17.11.0.012-orioledb-test-1"
postgres17: "17.11.0.012-test-1"
postgres15: "15.19.0.012-test-1"
1 change: 1 addition & 0 deletions ansible/tasks/setup-postgrest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
loop:
- base.conf
- generated.conf
- generated.env
loop_control:
loop_var: 'empty_item'

Expand Down
6 changes: 3 additions & 3 deletions ansible/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ supabase_admin_agent_splay: 30s
# Checksums can be verified or updated by running: #
# nix run .#update-ansible-artifacts #
###############################################################################################################
adminapi_release: 0.124.0
adminapi_release: 0.124.2
adminapi_artifacts:
amd64:
url: "https://supabase-public-artifacts-bucket.s3.amazonaws.com/supabase-admin-api/v{{ adminapi_release }}/supabase-admin-api_{{ adminapi_release }}_linux_amd64.tar.gz"
checksum: sha256:b63212ad15acc99c5f8cab0f80da1229ace14a8391252be7ffc53ce877da2976
checksum: sha256:5d2f1caa69425345acc6b4781f492742e95cc348acee567a5a786fdb9a42f328
arm64:
url: "https://supabase-public-artifacts-bucket.s3.amazonaws.com/supabase-admin-api/v{{ adminapi_release }}/supabase-admin-api_{{ adminapi_release }}_linux_arm64.tar.gz"
checksum: sha256:5e9d0e2585968dc10e573e7b72252c38004994640906c9c2e6929c17af8cf923
checksum: sha256:c8762f6f12af6dd407157f410412f1894c2aabb3194881d64c224d9f193a2ed1
adminmgr_release: 0.49.1
adminmgr_artifacts:
amd64:
Expand Down
Loading