Skip to content

Commit 6f79ad5

Browse files
committed
Update tuf conformance
1 parent e688c91 commit 6f79ad5

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ jobs:
5858
environment: staging
5959
skip-signing: true
6060
if: ${{ matrix.os }} == "ubuntu-latest"
61+
- name: Run the TUF conformance tests
62+
uses: theupdateframework/tuf-conformance@649423d80c91dd5f803b7bbe691d9e2b304b1384
63+
with:
64+
entrypoint: ${{ github.workspace }}/bin/tuf-conformance-entrypoint
65+
if: ${{ matrix.os }} == "ubuntu-latest"
6166
- name: Upload coverage reports to Codecov
6267
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
6368
if: ${{ matrix.ruby }} == ${{ fromJson(needs.ruby-versions.outputs.latest) }} && ${{ matrix.os }} == "ubuntu-latest" && always()

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ end
130130
GitRepo.define_task(:tuf_conformance).tap do |task|
131131
task.path = "test/tuf-conformance"
132132
task.url = "https://github.com/theupdateframework/tuf-conformance.git"
133-
task.commit = "refs/pull/99/head"
133+
task.commit = "649423d80c91dd5f803b7bbe691d9e2b304b1384"
134134
end
135135

136136
namespace :tuf_conformance do

lib/sigstore/tuf/updater.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def load_targets(role, parent_role)
168168
@trusted_set.update_delegated_targets(data, role, parent_role).tap do
169169
logger.debug { "Loaded targets for #{role} from local metadata" }
170170
end
171-
rescue Errno::ENOENT, Error::MetaVersionHigher, Error::MetaVersionLower => e
171+
rescue Errno::ENOENT, Error::MetaVersionHigher, Error::MetaVersionLower, Error::TooFewSignatures => e
172172
logger.debug { "No local targets for #{role}, fetching: #{e.class} #{e.message}" }
173173

174174
snapshot = @trusted_set.snapshot

0 commit comments

Comments
 (0)