Skip to content

Commit 70e1383

Browse files
authored
fix: fix quay tests (#709)
* fix: fix quay tests * fix: make linter happy
1 parent 7033868 commit 70e1383

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

test/fixtures/centos-shas.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
export const CENTOS_SHAS = {
66
stream9:
7-
"sha256:60f831ea21128433798b74d2181375c5da2c04e3397a6e7ad3b9abf47159e550",
7+
"sha256:0cae7e53f997228f0afc523f1bad28f3347dd0216ea8e27977f7af33f626f912",
88
stream10:
99
"sha256:798fbe5c40fba2609fae716f5414af6654df21d2552927e85de6a11d20bbff7d",
1010
} as const;

test/system/package-managers/__snapshots__/rpm.spec.ts.snap

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ Object {
336336
"nodeId": "[email protected]",
337337
},
338338
Object {
339-
"nodeId": "[email protected]22.el9",
339+
"nodeId": "[email protected]23.el9",
340340
},
341341
Object {
342342
"nodeId": "[email protected]",
@@ -968,8 +968,8 @@ Object {
968968
},
969969
Object {
970970
"deps": Array [],
971-
"nodeId": "[email protected]22.el9",
972-
"pkgId": "[email protected]22.el9",
971+
"nodeId": "[email protected]23.el9",
972+
"pkgId": "[email protected]23.el9",
973973
},
974974
Object {
975975
"deps": Array [],
@@ -1995,11 +1995,11 @@ Object {
19951995
},
19961996
},
19971997
Object {
1998-
"id": "[email protected]22.el9",
1998+
"id": "[email protected]23.el9",
19991999
"info": Object {
20002000
"name": "python3-dnf-plugins-core",
2001-
"purl": "pkg:rpm/centos/[email protected]22.el9?distro=centos-9&upstream=dnf-plugins-core%404.3.0",
2002-
"version": "4.3.0-22.el9",
2001+
"purl": "pkg:rpm/centos/[email protected]23.el9?distro=centos-9&upstream=dnf-plugins-core%404.3.0",
2002+
"version": "4.3.0-23.el9",
20032003
},
20042004
},
20052005
Object {
@@ -2232,19 +2232,19 @@ Object {
22322232
"type": "depGraph",
22332233
},
22342234
Object {
2235-
"data": "sha256:961c50f6ebc8e5f5c3a167ac730e3f34609d170f551f62423f6bdb7ef2514e66",
2235+
"data": "sha256:1a699fb56cacf4a1bf09f8748fbc0bec75b60237fabd15d367375bc0c62a1574",
22362236
"type": "imageId",
22372237
},
22382238
Object {
22392239
"data": Array [
2240-
"sha256:c321a9d837c4e0c20fcd622b1d4962694a6a46b0c21b5da258d63aaaa880ab6c",
2240+
"sha256:388256329b02d57afd18ce187b85eae5b49ce8b24df7ec91f299fd45f926f9c9",
22412241
],
22422242
"type": "imageLayers",
22432243
},
22442244
Object {
22452245
"data": Object {
22462246
"io.buildah.version": "1.33.12",
2247-
"org.label-schema.build-date": "20250916",
2247+
"org.label-schema.build-date": "20250923",
22482248
"org.label-schema.license": "GPLv2",
22492249
"org.label-schema.name": "CentOS Stream 9 Base Image",
22502250
"org.label-schema.schema-version": "1.0",
@@ -2253,12 +2253,12 @@ Object {
22532253
"type": "imageLabels",
22542254
},
22552255
Object {
2256-
"data": "2025-09-16T01:00:02.451168844Z",
2256+
"data": "2025-09-23T01:06:35.806253152Z",
22572257
"type": "imageCreationTime",
22582258
},
22592259
Object {
22602260
"data": Array [
2261-
"sha256:3133d3a1c7a2da42aee7171a6ebfa8984679e3a25990c487a3b572f3f849d4ff",
2261+
"sha256:381a13485a932941201e961274f3d5270c1f74a1d912d45e64629103cf3a76c6",
22622262
],
22632263
"type": "rootFs",
22642264
},
@@ -2269,8 +2269,8 @@ Object {
22692269
Object {
22702270
"data": Object {
22712271
"names": Array [
2272-
"quay.io/centos/centos@sha256:60f831ea21128433798b74d2181375c5da2c04e3397a6e7ad3b9abf47159e550",
2273-
"quay.io/centos/centos@sha256:60f831ea21128433798b74d2181375c5da2c04e3397a6e7ad3b9abf47159e550",
2272+
"quay.io/centos/centos@sha256:0cae7e53f997228f0afc523f1bad28f3347dd0216ea8e27977f7af33f626f912",
2273+
"quay.io/centos/centos@sha256:0cae7e53f997228f0afc523f1bad28f3347dd0216ea8e27977f7af33f626f912",
22742274
],
22752275
},
22762276
"type": "imageNames",

update_centos_shas.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ cat > "$SHA_FILE" << EOF
3535
// Run \`npm run update-quay-tests\` to fetch the latest SHA digests
3636
3737
export const CENTOS_SHAS = {
38-
stream9: "$STREAM9_SHA",
39-
stream10: "$STREAM10_SHA",
38+
stream9:
39+
"$STREAM9_SHA",
40+
stream10:
41+
"$STREAM10_SHA",
4042
} as const;
4143
EOF
4244

0 commit comments

Comments
 (0)