Skip to content

Commit

Permalink
update smoketest to use cli (#488)
Browse files Browse the repository at this point in the history
Signed-off-by: Brian DeHamer <[email protected]>
  • Loading branch information
bdehamer authored Oct 16, 2023
1 parent ef444b5 commit 7e20d8a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 128 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ jobs:
run: npm ci
- name: Build
run: npm run build
- name: Run TUF client with Sigstore TUF repo
- name: Download target from Sigstore TUF repo
run: |
npx ts-node ./scripts/tufClientFetchTarget.ts ./scripts/sigstore-tuf-repo-config.json
- name: Run TUF client with TUF Demo repo
npx tuf download-target --metadata-base-url https://sigstore-tuf-root.storage.googleapis.com --unsafe-root-download --target-name trusted_root.json
npx tuf download-target --metadata-base-url https://sigstore-tuf-root.storage.googleapis.com --unsafe-root-download --target-name registry.npmjs.org/keys.json
- name: Download target from TUF Demo repo
run: |
npx ts-node ./scripts/tufClientFetchTarget.ts ./scripts/tuf-demo-tuf-repo-config.json
npx tuf download-target --metadata-base-url https://jku.github.io/tuf-demo/metadata --target-base-url https://jku.github.io/tuf-demo/targets --unsafe-root-download --target-name rdimitrov/artifact-example.md
6 changes: 0 additions & 6 deletions scripts/mock-tuf-config.json

This file was deleted.

6 changes: 0 additions & 6 deletions scripts/sigstore-tuf-repo-config.json

This file was deleted.

6 changes: 0 additions & 6 deletions scripts/tuf-demo-tuf-repo-config.json

This file was deleted.

106 changes: 0 additions & 106 deletions scripts/tufClientFetchTarget.ts

This file was deleted.

0 comments on commit 7e20d8a

Please sign in to comment.