Skip to content

Conversation

@javirln
Copy link
Member

@javirln javirln commented Jun 5, 2024

This patch modifies the behavior of the push command on dagger so the signing --key and --passphraseare optional and the--workflow-name`, required.

Example using the keyless feature:

$ dagger call -m . init --token env:CHAINLOOP_TOKEN --workflow-name dagger-wf add-file-evidence --path ./README.md push
┌───────────────────┬──────────────────────────────────────┐
│ Initialized At    │ 05 Jun 24 13:08 UTC                  │
├───────────────────┼──────────────────────────────────────┤
│ Attestation ID    │ 82cf6e71-d212-4d58-b77c-adfd28d77ea2 │
│ Name              │ dagger-wf                            │
│ Team              │ founding                             │
│ Project           │ core                                 │
│ Contract Revision │ 5                                    │
└───────────────────┴──────────────────────────────────────┘
┌────────────────────────────────────────────────────────────────────────────────────┐
│ Materials                                                                          │
├──────────┬─────────────────────────────────────────────────────────────────────────┤
│ Name     │ material-1717592900535867012                                            │
│ Type     │ ARTIFACT                                                                │
│ Set      │ Yes                                                                     │
│ Required │ No                                                                      │
│ Value    │ README.md                                                               │
│ Digest   │ sha256:12b8c7fb6faac3ee6e81f78f9efa3d0367f595f52c8751908d997e87d0ea5ecd │
└──────────┴─────────────────────────────────────────────────────────────────────────┘
┌───────────────────────────────────┐
│ Runner context                    │
├─────────────────────────┬─────────┤
│ CHAINLOOP_DAGGER_CLIENT │ v0.90.1 │
└─────────────────────────┴─────────┘
Attestation Digest: sha256:7e0cf7999d8610cb69fcb66efeb6c2070f3ab21e698e40916d2693e500f392c7

Closes #893

Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
@javirln javirln requested review from jiparis and migmartri June 5, 2024 13:12
@javirln javirln self-assigned this Jun 5, 2024
@javirln javirln merged commit 122e8a4 into chainloop-dev:main Jun 5, 2024
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.

Make --workflow-name required and remove --key flag on dagger module

2 participants