Skip to content

Commit a683017

Browse files
committed
fix(ci): drop detached cosign outputs from releases
1 parent ad3a5aa commit a683017

2 files changed

Lines changed: 1 addition & 14 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,6 @@ jobs:
281281
cosign sign-blob --yes \
282282
--bundle "${f}.sigstore.json" \
283283
--use-signing-config \
284-
--output-signature "${f}.sig" \
285-
--output-certificate "${f}.pem" \
286284
"${f}"
287285
288286
cosign verify-blob \
@@ -296,8 +294,6 @@ jobs:
296294
cosign sign-blob --yes \
297295
--bundle SHA256SUMS.sigstore.json \
298296
--use-signing-config \
299-
--output-signature SHA256SUMS.sig \
300-
--output-certificate SHA256SUMS.pem \
301297
SHA256SUMS
302298
303299
cosign verify-blob \
@@ -365,8 +361,6 @@ jobs:
365361
cosign sign-blob --yes \
366362
--bundle /tmp/releases.json.sigstore.json \
367363
--use-signing-config \
368-
--output-signature /tmp/releases.json.sig \
369-
--output-certificate /tmp/releases.json.pem \
370364
/tmp/releases.json
371365
372366
cosign verify-blob \
@@ -383,10 +377,6 @@ jobs:
383377
aws s3 cp /tmp/releases.json.sigstore.json "s3://${BUCKET}/${PROJECT}/releases.json.sigstore.json" \
384378
--endpoint-url "${R2_ENDPOINT}" \
385379
--content-type "application/json"
386-
aws s3 cp /tmp/releases.json.sig "s3://${BUCKET}/${PROJECT}/releases.json.sig" \
387-
--endpoint-url "${R2_ENDPOINT}"
388-
aws s3 cp /tmp/releases.json.pem "s3://${BUCKET}/${PROJECT}/releases.json.pem" \
389-
--endpoint-url "${R2_ENDPOINT}"
390380
391381
- name: Purge release metadata from CDN cache
392382
if: vars.CF_ZONE_ID != ''
@@ -419,5 +409,3 @@ jobs:
419409
dist/*.jar
420410
dist/SHA256SUMS
421411
dist/*.sigstore.json
422-
dist/*.sig
423-
dist/*.pem

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ Canonical release asset naming:
136136
- `chroma-local-java-panama-<version>.jar`
137137
- `SHA256SUMS`
138138
- `*.sigstore.json` for each release asset and `SHA256SUMS`
139-
- `*.sig` + `*.pem` for each release asset and `SHA256SUMS` (for users verifying with Cosign v2)
140139

141140
Architecture note: native archive `<arch>` is derived from the GitHub runner architecture. In the current hosted matrix for this repository, Linux/Windows builds are `amd64` and macOS builds are `arm64`. Runner mappings can change over time.
142141

@@ -194,7 +193,7 @@ cosign verify-blob \
194193
SHA256SUMS
195194
```
196195

197-
Cosign v3 bundles (`*.sigstore.json`) are the primary verification material and the only inputs used by the release workflow's own verification step. Detached `*.sig` and `*.pem` files are also published for users verifying with Cosign v2.
196+
Cosign v3 bundles (`*.sigstore.json`) are the published verification material and the only inputs used by the release workflow's own verification step. Older releases may still include detached `*.sig` and `*.pem` files from the previous signing flow.
198197

199198
Breaking change in `v0.3.1`: shared library filenames changed from `chroma_go_shim` to `chroma_shim`.
200199

0 commit comments

Comments
 (0)