Skip to content

Commit

Permalink
Merge pull request #8039 from ThomasWaldmann/fetch-binaries-master
Browse files Browse the repository at this point in the history
add script for fetching borg binaries from VMs, fixes #7989
  • Loading branch information
ThomasWaldmann committed Jan 10, 2024
2 parents 73a4168 + cb62981 commit 64fee10
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions scripts/fetch-binaries
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

mkdir -p dist/

check_and_copy () {
echo "--- EXE $2 -----------------------------------------------"
vagrant ssh $1 -c "/vagrant/borg/borg.exe -V"
vagrant scp $1:/vagrant/borg/borg.exe dist/$2
echo "--- DIR $2 -----------------------------------------------"
vagrant ssh $1 -c "/vagrant/borg/borg-dir/borg.exe -V"
vagrant scp $1:/vagrant/borg/borg.tgz dist/$2.tgz
echo ""
}

check_and_copy buster64 borg-linux-glibc228
check_and_copy bullseye64 borg-linux-glibc231
check_and_copy bookworm64 borg-linux-glibc236

check_and_copy freebsd64 borg-freebsd

check_and_copy darwin64 borg-macos

0 comments on commit 64fee10

Please sign in to comment.