Skip to content

Conversation

javirln
Copy link
Member

@javirln javirln commented Apr 7, 2025

This patch adds to the Chainloop attestation the generated Chainloop CLIs.

It will create four items to the attestation with:

  • Name: chainloop-{{ os }}-{{ arch }}
  • Value: chainloop

Example:

❯ /bin/zsh /Users/javirln/Library/Application\ Support/JetBrains/GoLand2024.3/scratches/scratch_36.sh
INF uploading chainloop - sha256:6712d2696e9eae1351e94af5a8a1ad5f10b9491dc23f50c92b82b9873fecb70d
INF material added to attestation
┌──────────┬─────────────────────────────────────────────────────────────────────────┐
│ Name     │ chainloop-linux-amd64                                                   │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Type     │ ARTIFACT                                                                │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Required │ No                                                                      │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Value    │ chainloop                                                               │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Digest   │ sha256:6712d2696e9eae1351e94af5a8a1ad5f10b9491dc23f50c92b82b9873fecb70d │
└──────────┴─────────────────────────────────────────────────────────────────────────┘
Processing entry: dist/cli_linux_arm64/chainloop
INF uploading chainloop - sha256:9e2c2e0805163759bb3f5dc62b1af8483b19ec27b7ebf21683fa9f6c9d032d7d
INF material added to attestation
┌──────────┬─────────────────────────────────────────────────────────────────────────┐
│ Name     │ chainloop-linux-arm64                                                   │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Type     │ ARTIFACT                                                                │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Required │ No                                                                      │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Value    │ chainloop                                                               │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Digest   │ sha256:9e2c2e0805163759bb3f5dc62b1af8483b19ec27b7ebf21683fa9f6c9d032d7d │
└──────────┴─────────────────────────────────────────────────────────────────────────┘
Processing entry: dist/cli_darwin_arm64/chainloop
INF uploading chainloop - sha256:1aca5de1caebcc19cdf5aafd3aa2af865575e3e9b0ffc64a1df9cc31f14d09cb
INF material added to attestation
┌──────────┬─────────────────────────────────────────────────────────────────────────┐
│ Name     │ chainloop-darwin-arm64                                                  │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Type     │ ARTIFACT                                                                │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Required │ No                                                                      │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Value    │ chainloop                                                               │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Digest   │ sha256:1aca5de1caebcc19cdf5aafd3aa2af865575e3e9b0ffc64a1df9cc31f14d09cb │
└──────────┴─────────────────────────────────────────────────────────────────────────┘
Processing entry: dist/cli_darwin_amd64_v1/chainloop
INF uploading chainloop - sha256:1262f4149260de256a5b1b0d12f549f756fcf6bd77c642c264c1b1624264d91c
INF material added to attestation
┌──────────┬─────────────────────────────────────────────────────────────────────────┐
│ Name     │ chainloop-darwin-amd64                                                  │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Type     │ ARTIFACT                                                                │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Required │ No                                                                      │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Value    │ chainloop                                                               │
├──────────┼─────────────────────────────────────────────────────────────────────────┤
│ Digest   │ sha256:1262f4149260de256a5b1b0d12f549f756fcf6bd77c642c264c1b1624264d91c │
└──────────┴─────────────────────────────────────────────────────────────────────────┘

Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
@javirln javirln requested review from migmartri and jiparis April 7, 2025 08:59
@javirln javirln self-assigned this Apr 7, 2025
@javirln javirln merged commit 5a2547c into chainloop-dev:main Apr 7, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants