-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build the aarch64-linux gem #56
Open
fcatuhe
wants to merge
3
commits into
fractaledmind:main
Choose a base branch
from
fcatuhe:aarch64-linux
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fcatuhe
force-pushed
the
aarch64-linux
branch
from
December 20, 2024 22:06
01bff58
to
e8be808
Compare
Quick question: have you tested that the build works on that platform? |
The litestream arm64 build, yes. Below is the service running on Hetzner CAX11 (aarch64-linux platform). But I was not able to test the aarch64-linux packaged version of the gem. I'm not aware that I can test that without it being pushed to rubygems, but if you have guidance, I'm happy to do it. root@litestream-test:~# wget https://github.com/benbjohnson/litestream/releases/download/v0.3.13/litestream-v0.3.13-linux-arm64.deb
--2024-12-21 11:31:15-- https://github.com/benbjohnson/litestream/releases/download/v0.3.13/litestream-v0.3.13-linux-arm64.deb
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/301830590/6d4f7b82-3be6-4ac4-a1c1-ad8bb16a0530?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241221%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241221T113116Z&X-Amz-Expires=300&X-Amz-Signature=6f0042f8bfa762188a585f7ed1d31c30ba8154ca64bb5701dc22839e3ebdc787&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dlitestream-v0.3.13-linux-arm64.deb&response-content-type=application%2Foctet-stream [following]
--2024-12-21 11:31:16-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/301830590/6d4f7b82-3be6-4ac4-a1c1-ad8bb16a0530?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20241221%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241221T113116Z&X-Amz-Expires=300&X-Amz-Signature=6f0042f8bfa762188a585f7ed1d31c30ba8154ca64bb5701dc22839e3ebdc787&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dlitestream-v0.3.13-linux-arm64.deb&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.109.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9069204 (8.6M) [application/octet-stream]
Saving to: ‘litestream-v0.3.13-linux-arm64.deb’
litestream-v0.3.13-linux-arm64.deb 100%[===================================================================================================================>] 8.65M --.-KB/s in 0.04s
2024-12-21 11:31:16 (215 MB/s) - ‘litestream-v0.3.13-linux-arm64.deb’ saved [9069204/9069204]
root@litestream-test:~# ls
litestream-v0.3.13-linux-arm64.deb
root@litestream-test:~# sudo dpkg -i litestream-v0.3.13-linux-arm64.deb
Selecting previously unselected package litestream.
(Reading database ... 49226 files and directories currently installed.)
Preparing to unpack litestream-v0.3.13-linux-arm64.deb ...
Unpacking litestream (0.3.13) ...
Setting up litestream (0.3.13) ...
root@litestream-test:~# litestream version
v0.3.13
root@litestream-test:~# sudo systemctl enable litestream
Created symlink /etc/systemd/system/multi-user.target.wants/litestream.service → /usr/lib/systemd/system/litestream.service.
root@litestream-test:~# sudo systemctl start litestream
root@litestream-test:~# sudo journalctl -u litestream -f
Dec 21 11:32:02 litestream-test systemd[1]: Started litestream.service - Litestream.
Dec 21 11:32:02 litestream-test litestream[1237]: time=2024-12-21T11:32:02.749Z level=INFO msg=litestream version=v0.3.13
Dec 21 11:32:02 litestream-test litestream[1237]: time=2024-12-21T11:32:02.749Z level=ERROR msg="no databases specified in configuration" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Build the aarch64-linux gem from litestream arm64-linux binaries.
Closes #55
This is also needed to run litestream-ruby in Hetzner Ampere® shared vCPU (CAX series).