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

add resource update tests, force-new on sign, use OCI validators #17

Merged
merged 3 commits into from
Apr 26, 2023

Conversation

imjasonh
Copy link
Member

@imjasonh imjasonh commented Apr 26, 2023

  • add force-new semantics to sign so you can update the image of a cosign_sign resource
  • test that resources can be updated and still work (by creating a new thing)
  • have tests use the in-process test registry
  • use validators from tf-oci
  • test using Go 1.20
  • rename {attest,sign}_resource{_test}.go -> resource_{attest,sign}{_test}.go to match convention

Signed-off-by: Jason Hall <jason@chainguard.dev>
@imjasonh imjasonh requested a review from mattmoor April 26, 2023 20:34
@imjasonh imjasonh merged commit 4954f4b into chainguard-dev:main Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants