Skip to content

Commit 6bbd27a

Browse files
authored
fix: upload gotrue binary to internal-artifacts as a gz file (#1340)
1 parent 63303c6 commit 6bbd27a

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

ansible/manifest-playbook.yml

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,10 @@
1818
- name: gotrue - download commit archive
1919
get_url:
2020
url: "https://github.com/supabase/gotrue/releases/download/v{{ gotrue_release }}/auth-v{{ gotrue_release }}-arm64.tar.gz"
21-
dest: /tmp/gotrue.tar.gz
21+
dest: /tmp/auth-v{{ gotrue_release }}-arm64.tar.gz
2222
checksum: "{{ gotrue_release_checksum }}"
2323
timeout: 60
2424

25-
- name: gotrue - create /tmp/gotrue
26-
file:
27-
path: /tmp/gotrue
28-
state: directory
29-
mode: 0775
30-
31-
- name: gotrue - unpack archive in /tmp/gotrue
32-
unarchive:
33-
remote_src: yes
34-
src: /tmp/gotrue.tar.gz
35-
dest: /tmp/gotrue
36-
37-
- name: gotrue - pack archive
38-
shell: |
39-
cd /tmp && tar -cJf gotrue-v{{ gotrue_release }}-arm64.tar.xz gotrue
40-
4125
- name: PostgREST - download ubuntu binary archive (arm)
4226
get_url:
4327
url: "https://github.com/PostgREST/postgrest/releases/download/v{{ postgrest_release }}/postgrest-v{{ postgrest_release }}-ubuntu-aarch64.tar.xz"
@@ -82,7 +66,7 @@
8266
aws s3 cp /tmp/{{ item.file }} s3://{{ internal_artifacts_bucket }}/upgrades/{{ item.service }}/{{ item.file }}
8367
with_items:
8468
- service: gotrue
85-
file: gotrue-v{{ gotrue_release }}-arm64.tar.xz
69+
file: auth-v{{ gotrue_release }}-arm64.tar.gz
8670
- service: postgrest
8771
file: postgrest-{{ postgrest_release }}-arm64.tar.xz
8872
- service: supabase-admin-api

0 commit comments

Comments
 (0)