Skip to content

Commit a8530a6

Browse files
committed
[bfops/aws]: update mirrors and attach-artifacts.yml
1 parent 0da7154 commit a8530a6

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/attach-artifacts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v4
1919

20-
- name: Download artifacts from private base URL
20+
- name: Download artifacts from AWS base URL
2121
env:
2222
RELEASE_TAG: ${{ github.event.inputs.release_tag }}
23-
BASE_URL: ${{ secrets.ARTIFACT_BASE_URL }}
23+
BASE_URL: ${{ vars.ARTIFACT_BASE_URL }}
2424
run: |
2525
set -euo pipefail
2626

crates/update/spacetime-install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function Install {
3232

3333
$AssetName = "spacetimedb-update-x86_64-pc-windows-msvc.exe"
3434
$DownloadUrl = "https://github.com/clockworklabs/SpacetimeDB/releases/latest/download/$AssetName"
35-
$MirrorBase = "https://spacetimedb-client-binaries.nyc3.digitaloceanspaces.com"
35+
$MirrorBase = "https://spacetimedb-client-binaries.s3.amazonaws.com"
3636
Write-Output "Downloading installer..."
3737

3838
function UpdatePathIfNotExists {

crates/update/spacetime-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ main() {
6565
# Define the latest SpacetimeDB download url
6666
local _asset_name="spacetimedb-update-$_host$_ext"
6767
local _url="$SPACETIME_DOWNLOAD_ROOT/$_asset_name"
68-
local _mirror_base="https://spacetimedb-client-binaries.nyc3.digitaloceanspaces.com"
68+
local _mirror_base="https://spacetimedb-client-binaries.s3.amazonaws.com"
6969
echo "Downloading installer..."
7070
local _ok=false
7171
if [ "$_downloader" = curl ]; then

crates/update/src/cli/install.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fn releases_url() -> String {
5959
.unwrap_or_else(|_| "https://api.github.com/repos/clockworklabs/SpacetimeDB/releases".to_owned())
6060
}
6161

62-
const MIRROR_BASE_URL: &str = "https://spacetimedb-client-binaries.nyc3.digitaloceanspaces.com";
62+
const MIRROR_BASE_URL: &str = "https://spacetimedb-client-binaries.s3.amazonaws.com";
6363

6464
/// Fetch the latest version tag from the mirror.
6565
///

0 commit comments

Comments
 (0)