Skip to content

Commit

Permalink
chore: bump PostgREST to devel release (#977)
Browse files Browse the repository at this point in the history
* chore: bump PostgREST to devel release

* chore: sanitize PostgREST download URL

* chore: bump version

* chore: use supabase-public-artifacts-bucket
  • Loading branch information
dragarcia committed May 22, 2024
1 parent 429d89a commit 64260de
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
3 changes: 2 additions & 1 deletion ansible/manifest-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
- name: PostgREST - download ubuntu binary archive (arm)
get_url:
url: "https://github.com/PostgREST/postgrest/releases/download/v{{ postgrest_release }}/postgrest-v{{ postgrest_release }}-ubuntu-aarch64.tar.xz"
url: "https://supabase-public-artifacts-bucket.s3.amazonaws.com/postgrest/postgrest-v{{ postgrest_release }}-ubuntu-aarch64.tar.xz"
# url: "https://github.com/PostgREST/postgrest/releases/download/{{ postgrest_release }}/postgrest-{{ postgrest_release }}-ubuntu-aarch64.tar.xz"
dest: /tmp/postgrest-{{ postgrest_release }}-arm64.tar.xz
checksum: "{{ postgrest_arm_release_checksum }}"
timeout: 60
Expand Down
6 changes: 4 additions & 2 deletions ansible/tasks/setup-postgrest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@
- name: PostgREST - download ubuntu binary archive (arm)
get_url:
url: "https://github.com/PostgREST/postgrest/releases/download/v{{ postgrest_release }}/postgrest-v{{ postgrest_release }}-ubuntu-aarch64.tar.xz"
url: "https://supabase-public-artifacts-bucket.s3.amazonaws.com/postgrest/postgrest-v{{ postgrest_release }}-ubuntu-aarch64.tar.xz"
# url: "https://github.com/PostgREST/postgrest/releases/download/v{{ postgrest_release }}/postgrest-v{{ postgrest_release }}-ubuntu-aarch64.tar.xz"
dest: /tmp/postgrest.tar.xz
checksum: "{{ postgrest_arm_release_checksum }}"
timeout: 60
when: platform == "arm64"

- name: PostgREST - download ubuntu binary archive (x86)
get_url:
url: "https://github.com/PostgREST/postgrest/releases/download/v{{ postgrest_release }}/postgrest-v{{ postgrest_release }}-linux-static-x64.tar.xz"
url: "https://supabase-public-artifacts-bucket.s3.amazonaws.com/postgrest/postgrest-v{{ postgrest_release }}-linux-static-x64.tar.xz"
# url: "https://github.com/PostgREST/postgrest/releases/download/v{{ postgrest_release }}/postgrest-v{{ postgrest_release }}-linux-static-x64.tar.xz"
dest: /tmp/postgrest.tar.xz
checksum: "{{ postgrest_x86_release_checksum }}"
timeout: 60
Expand Down
6 changes: 3 additions & 3 deletions ansible/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ pgbouncer_release: "1.19.0"
pgbouncer_release_checksum: sha256:af0b05e97d0e1fd9ad45fe00ea6d2a934c63075f67f7e2ccef2ca59e3d8ce682

# to get these use `wget https://github.com/PostgREST/postgrest/releases/download/v12.0.2/postgrest-v12.0.2-ubuntu-aarch64.tar.xz -q -O- | sha1sum`
postgrest_release: "12.0.2"
postgrest_arm_release_checksum: sha1:a08eaa2af548d44b4c8ea61b0223fb7019f5c768
postgrest_x86_release_checksum: sha1:40f65ded06b9de6567fbe2cd7a317196e22dd595
postgrest_release: "12.0.2-listeners-alpha"
postgrest_arm_release_checksum: sha1:a61633a4118eaefd5351ad236744fd84fbb7886e
postgrest_x86_release_checksum: sha1:d57eecdf732b7fd2a38889b35f1ed484a719d003

gotrue_release: 2.151.0
gotrue_release_checksum: sha1:5a43a9879499d85714ba34356f62f5e8063b549d
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.1.53"
postgres-version = "15.1.1.54"

0 comments on commit 64260de

Please sign in to comment.