You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/08/23 06:06:33 UTC

[buildstream] 01/01: .github/wheel-helpers/fetch-latest-buildbox-release.sh: Fix download link

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch tristan/build-wheels-new-tarball-name
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 85a8953940ee8a03d85b0277457583b67acd1656
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Thu Aug 18 14:32:44 2022 +0900

    .github/wheel-helpers/fetch-latest-buildbox-release.sh: Fix download link
    
    Since renaming the binary tarballs to be more descriptive upstream,
    we need to fix the download link where we download the binary tarballs.
    
    See: https://gitlab.com/BuildGrid/buildbox/buildbox-integration/-/merge_requests/5
---
 .github/wheel-helpers/fetch-latest-buildbox-release.sh | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.github/wheel-helpers/fetch-latest-buildbox-release.sh b/.github/wheel-helpers/fetch-latest-buildbox-release.sh
index 64fe9d808..fef119163 100755
--- a/.github/wheel-helpers/fetch-latest-buildbox-release.sh
+++ b/.github/wheel-helpers/fetch-latest-buildbox-release.sh
@@ -6,10 +6,15 @@
 
 set -eux
 
-curl -L -O https://gitlab.com/buildgrid/buildbox/buildbox-integration/-/releases/permalink/latest/downloads/binaries.tgz
+#
+# For now we only support building wheels for linux x86_64 linked against glibc
+#
+tarball="buildbox-x86_64-linux-gnu.tgz"
+
+curl -L -O "https://gitlab.com/buildgrid/buildbox/buildbox-integration/-/releases/permalink/latest/downloads/${tarball}"
 
 mkdir -p src/buildstream/subprojects/buildbox
-tar --extract --file ./binaries.tgz --directory src/buildstream/subprojects/buildbox
+tar --extract --file "./${tarball}" --directory src/buildstream/subprojects/buildbox
 
 cd src/buildstream/subprojects/buildbox
 rm buildbox-run