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

Refactor the github action, test with tuf root. #263

Merged
merged 25 commits into from
Aug 4, 2022

Conversation

vaikas
Copy link
Contributor

@vaikas vaikas commented Aug 3, 2022

Summary

  • Clean up and unify secret reconcile code.
  • Add Rekor public key so we can have the 'oob' way of getting it. Will update rekor to have fileca (just like Fulcio) in a future PR so that we can use that.
  • Modify e2e tests to use new tuf root
  • Fix the e2e tests flow to work with 1.23, 1.24. But testing with 2[34] also introduced some oidc wonkiness with the k8s cluster because the oidc issuer on the kind cluster behaves differently, so had to work around that.
  • Refactor the e2e tests because now we need to shuffle secrets between namespaces. This will be the basis for the new install-scaffold.
  • Add new make targets for the above.
  • Update README to reflect new reality.
  • Address leftover comments from Add a tuf server as well as repo management for tuf. #262 except one (how to handle tuf server restart), but created issue: Question: What would we expect whenever the server restarts ? It is okay to recreate the repository again and again. #265 for it.

Release Note

Documentation

@vaikas vaikas force-pushed the tuf-for-realsies branch from cd4595a to 9b30853 Compare August 3, 2022 22:09
@vaikas vaikas changed the title [WIP] Tuf for real. Refactor the github action, test with tuf root. Aug 4, 2022
kubectl -n rekor-system get secrets rekor-pub-key -oyaml | sed 's/namespace: .*/namespace: tuf-system/' | kubectl apply -f -

# Make sure the tuf jobs complete
kubectl wait --timeout 2m -n tuf-system --for=condition=Complete jobs --all
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion/question: Shouldn't the timeout be 4m ?

Copy link
Contributor Author

@vaikas vaikas Aug 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one seemed to consistently be quick, but for consistency, I'll change it in a followup PR.

@vaikas vaikas enabled auto-merge (squash) August 4, 2022 14:48
@vaikas vaikas merged commit 4512ee2 into sigstore:main Aug 4, 2022
@vaikas vaikas deleted the tuf-for-realsies branch August 4, 2022 15:19
@vaikas vaikas restored the tuf-for-realsies branch August 4, 2022 15:19
@vaikas vaikas deleted the tuf-for-realsies branch August 4, 2022 15:19
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.

4 participants