Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/check-haproxy-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ jobs:
# Daily CVE scan of the currently pinned HAProxy. Independent of whether
# upstream has a new release. Catches CVEs disclosed against the version
# already shipped to Ray Serve users.
- name: Restore pinned sources for scanning
run: git checkout --detach "$GITHUB_SHA"

- name: Build current pinned HAProxy for scanning
run: |
docker run --rm \
Expand Down
8 changes: 6 additions & 2 deletions ci/build/build-haproxy-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,12 @@ echo "==> OpenSSL $(${DEPS_DIR}/bin/openssl version)"
LUA_SRC="$BUILD_DIR/lua-${LUA_VERSION}"

echo "==> Building Lua ${LUA_VERSION}"
curl -fsSL -o "$BUILD_DIR/lua.tar.gz" \
"https://www.lua.org/ftp/lua-${LUA_VERSION}.tar.gz"
if ! curl -fsSL --retry 3 --connect-timeout 15 --max-time 120 \
-o "$BUILD_DIR/lua.tar.gz" "https://www.lua.org/ftp/lua-${LUA_VERSION}.tar.gz"; then
curl -fsSL --retry 3 --connect-timeout 15 --max-time 120 \
-o "$BUILD_DIR/lua.tar.gz" \
"https://ftp.osuosl.org/pub/blfs/conglomeration/lua/lua-${LUA_VERSION}.tar.gz"
fi
verify_checksum "$BUILD_DIR/lua.tar.gz" "$LUA_SHA256" "Lua"
tar -xzf "$BUILD_DIR/lua.tar.gz" -C "$BUILD_DIR"

Expand Down