sigstore / rekor

Software Supply Chain Transparency Log
https://sigstore.dev
Apache License 2.0
904 stars 164 forks source link

Run CREATE statement in backfill script #2109

Closed cmurphy closed 6 months ago

cmurphy commented 7 months ago

For the case where we want to start populating a new MySQL instance but the Rekor server storage provider is not actually switched to MySQL yet, ensure the table is created before trying to copy the data.

Summary

Release Note

Documentation

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 48.95%. Comparing base (488eb97) to head (48f7b69). Report is 105 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2109 +/- ## =========================================== - Coverage 66.46% 48.95% -17.51% =========================================== Files 92 80 -12 Lines 9258 6639 -2619 =========================================== - Hits 6153 3250 -2903 - Misses 2359 2985 +626 + Partials 746 404 -342 ``` | [Flag](https://app.codecov.io/gh/sigstore/rekor/pull/2109/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sigstore) | Coverage Δ | | |---|---|---| | [e2etests](https://app.codecov.io/gh/sigstore/rekor/pull/2109/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sigstore) | `?` | | | [unittests](https://app.codecov.io/gh/sigstore/rekor/pull/2109/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sigstore) | `48.95% <ø> (+1.26%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sigstore#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.