Skip to content

Commit 7cb9f09

Browse files
igorpecovnikclaude
andcommitted
Fix cache comparison path
Align the check job to mirror from /cache/artifacts to match the build job source of truth path. Both now compare the same directory structure. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 6b8814e commit 7cb9f09

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/infrastructure-update-redirector-config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
elif [[ "$platform" == "cache" ]]; then
7676
# Mirror cache root directory directly
7777
pushd destination >/dev/null
78-
lftp -e "mirror --parallel=64; quit" "${source_of_truth}/${platform}"
78+
lftp -e "mirror --parallel=64; quit" "${source_of_truth}/${platform}/artifacts"
7979
popd >/dev/null
8080
else
8181
# Mirror dists directly into ./destination
@@ -458,8 +458,8 @@ jobs:
458458
SERVER_ID=$(echo "${{ matrix.node }}" | cut -d"," -f2)
459459
echo "SERVER_ID=${SERVER_ID}" >> $GITHUB_ENV
460460
mkdir -p compare; cd compare
461-
if curl --output /dev/null --silent --head --fail "https://${SERVER_URL}/cache/"; then
462-
timeout 5m lftp -e "mirror --parallel=16; exit" https://${SERVER_URL}/cache/ || exit_status=$?
461+
if curl --output /dev/null --silent --head --fail "https://${SERVER_URL}/cache/artifacts"; then
462+
timeout 5m lftp -e "mirror --parallel=16; exit" https://${SERVER_URL}/cache/artifacts || exit_status=$?
463463
fi
464464
cd ..
465465
OUT=$(diff -rq compare cache || true)

0 commit comments

Comments
 (0)