Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs][RELEASE.md] Script creating slsa-verifier test data #2537

Open
ianlewis opened this issue Aug 4, 2023 · 0 comments
Open

[docs][RELEASE.md] Script creating slsa-verifier test data #2537

ianlewis opened this issue Aug 4, 2023 · 0 comments
Labels
type:documentation Improvements or additions to documentation

Comments

@ianlewis
Copy link
Member

ianlewis commented Aug 4, 2023

Getting the generated test data for new releases can be scripted to download it from the GHA runs and copy them into the right place in the slsa-verifier repo.

For example get latest run for v14 and download the artifacts

RUN_ID=$(gh run list -R slsa-framework/example-package -b v14 -w .github/workflows/verifier-e2e.all.workflow_dispatch.main.all.slsa3.yml --json databaseId | jq '.[] .databaseId' | head -n1)
gh run download -R slsa-framework/example-package "${RUN_ID}"

Right now the steps for adding the files is very manual and takes a lot of time.

@ianlewis ianlewis added the type:documentation Improvements or additions to documentation label Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant