Skip to content

Commit

Permalink
fix: avoid libsodium.org to address build flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
darora committed Apr 17, 2024
1 parent 5c45b16 commit 6df88b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ FROM ccache as libsodium
ARG libsodium_release
ARG libsodium_release_checksum
ADD --checksum=${libsodium_release_checksum} \
"https://download.libsodium.org/libsodium/releases/libsodium-${libsodium_release}.tar.gz" \
"https://supabase-public-artifacts-bucket.s3.amazonaws.com/libsodium/libsodium-${libsodium_release}.tar.gz" \
/tmp/libsodium.tar.gz
RUN tar -xvf /tmp/libsodium.tar.gz -C /tmp && \
rm -rf /tmp/libsodium.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion ansible/tasks/postgres-extensions/18-pgsodium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

- name: libsodium - download libsodium
get_url:
url: "https://download.libsodium.org/libsodium/releases/libsodium-{{ libsodium_release }}.tar.gz"
url: "https://supabase-public-artifacts-bucket.s3.amazonaws.com/libsodium/libsodium-{{ libsodium_release }}.tar.gz"
dest: /tmp/libsodium-{{ libsodium_release }}.tar.gz
checksum: "{{ libsodium_release_checksum }}"
timeout: 60
Expand Down
2 changes: 1 addition & 1 deletion docker/orioledb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ FROM ccache as libsodium
ARG libsodium_release
ARG libsodium_release_checksum
ADD --checksum=${libsodium_release_checksum} \
"https://download.libsodium.org/libsodium/releases/libsodium-${libsodium_release}.tar.gz" \
"https://supabase-public-artifacts-bucket.s3.amazonaws.com/libsodium/libsodium-${libsodium_release}.tar.gz" \
/tmp/libsodium.tar.gz
RUN tar -xvf /tmp/libsodium.tar.gz -C /tmp && \
rm -rf /tmp/libsodium.tar.gz
Expand Down

0 comments on commit 6df88b4

Please sign in to comment.