Skip to content

Conversation

@targos
Copy link
Member

Use rclone to upload assets to Cloudflare as it is more reliable.

Refs: #3508

Use rclone to upload assets to Cloudflare as it is more reliable. Refs: nodejs#3508
@targos
Copy link
MemberAuthor

/cc @nodejs/build-infra @flakey5@ovflowd

This is what I did manually on the server:

  • Uninstall old version (used for testing yesterday) with apt remove rclone
  • Follow the rclone docs to install the latest version globally:
Fetch and unpack curl -O https://downloads.rclone.org/rclone-current-linux-amd64.zip unzip rclone-current-linux-amd64.zip cd rclone-*-linux-amd64 Copy binary file sudo cp rclone /usr/bin/ sudo chown root:root /usr/bin/rclone sudo chmod 755 /usr/bin/rclone Install manpage sudo mkdir -p /usr/local/share/man/man1 sudo cp rclone.1 /usr/local/share/man/man1/ sudo mandb 

Make sure that the config file (which includes credentials) exists for both the dist and staging users (in /home/$username/.config/rclone/rclone.conf).

@targostargos merged commit 8fc01e0 into nodejs:mainNov 1, 2024
@targostargos deleted the rclone branch November 1, 2024 08:06
@targos
Copy link
MemberAuthor

Deployed

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@targos@richardlau@flakey5