ploigos / ploigos-containers

Container image definitions for the Ploigos project.
GNU General Public License v3.0
6 stars 14 forks source link

lock rekor cli to version that works with psr v0.19.0 #77

Closed itewk closed 3 years ago

itewk commented 3 years ago

purpose

currently installking rekor from main branch which causes problems as its quick reving and the entry format seems to be changing and breaking the PSR.

testing

e63fe717c810657c270edfb964aef10969e7f210 (works)

this was the latest commit i could find (though i didn't look hard) that works with psr v0.19.0

v0.2.0 (NO WORK)

v0.2.0 of rekor cli doesnt work with v0.19.0 PSR get following error:

  RAN: /usr/bin/rekor upload --rekor_server https://rekor.apps.tssc.rht-set.com/ --entry /home/jenkins/agent/workspace/hing_reference-quarkus-mvn_PR-23/step-runner-working/generate-evidence/entry.json

  STDOUT:
panic: interface conversion: interface {} is *strfmt.URI, not strfmt.URI

goroutine 1 [running]:
github.com/sigstore/rekor/pkg/generated/client/entries.(*CreateLogEntryCreated).readResponse(0xc0000ba240, 0xd0ad78, 0xc000122480, 0xcfd100, 0xc51e68, 0xd0efa8, 0xc0002ee1e0, 0x0, 0x0)
    /home/luke/go/src/github.com/lukehinds/rekor/pkg/generated/client/entries/create_log_entry_responses.go:121 +0x328
github.com/sigstore/rekor/pkg/generated/client/entries.(*CreateLogEntryReader).ReadResponse(0xc000458ae0, 0xd0ad78, 0xc000122480, 0xcfd100, 0xc51e68, 0x1, 0x0, 0x0, 0x0)
    /home/luke/go/src/github.com/lukehinds/rekor/pkg/generated/client/entries/create_log_entry_responses.go:45 +0x410
github.com/go-openapi/runtime/client.(*Runtime).Submit(0xc00045b110... (1446 more, please see e.stdout)