Skip to content

Commit 82f88ce

Browse files
authored
fix(ci): update CloudFront test key pair ID after rotation (#3335)
The test CloudFront signing key was rotated on 2026-04-25, deleting the old K3814DK2QUJ71H key. Update the hardcoded key pair ID to the new K1MTLUUQ6YN2UZ to fix 403 errors on signed URLs in CI.
1 parent b974c3b commit 82f88ce

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/_e2e_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
6666
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
6767
S3_REGION_NAME: "us-east-1"
68-
CLOUDFRONT_KEY_PAIR_ID: "K3814DK2QUJ71H"
68+
CLOUDFRONT_KEY_PAIR_ID: "K1MTLUUQ6YN2UZ"
6969
CLOUDFRONT_PRIVATE_KEY: ${{ secrets.CLOUDFRONT_PRIVATE_KEY }}
7070
run: docker compose up -d --wait --wait-timeout 20
7171
- name: Install poetry

.github/workflows/_unit-tests-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ jobs:
5858
CACHED_ASSETS_STORAGE_ROOT: /tmp/cached-assets
5959
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
6060
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
61-
CLOUDFRONT_KEY_PAIR_ID: "K3814DK2QUJ71H"
61+
CLOUDFRONT_KEY_PAIR_ID: "K1MTLUUQ6YN2UZ"
6262
CLOUDFRONT_PRIVATE_KEY: ${{ secrets.CLOUDFRONT_PRIVATE_KEY }}
6363
run: poetry run python -m pytest -s -m "not real_dataset and not integration"

libs/libcommon/tests/test_integration_s3_cloudfront.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from .constants import CI_HUB_ENDPOINT
1616

1717
BUCKET = "hf-datasets-server-statics-test"
18-
CLOUDFRONT_KEY_PAIR_ID = "K3814DK2QUJ71H"
18+
CLOUDFRONT_KEY_PAIR_ID = "K1MTLUUQ6YN2UZ"
1919

2020

2121
def test_real_cloudfront(monkeypatch: pytest.MonkeyPatch) -> None:

0 commit comments

Comments
 (0)