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

Implement API call to upload and store patches being tested in kernelci storage #839

Open
7 tasks
nuclearcat opened this issue Oct 16, 2024 · 0 comments
Open
7 tasks

Comments

@nuclearcat
Copy link
Member

To test patches in KernelCI Maestro we need to make such patch stored long term in a secure, public storage provided by KernelCI infrastructure.
Keeping patch accessible important to review possible regressions by third parties and to be able to retest it in the future.
We need to develop API calls that will do basic verification (including possible security checks) and store the patch in the KernelCI storage.
We need to keep also checksum as well in case we might reuse already stored patch.

Requirements

  • Authentication / Authorization, not all users should be able to store patches
  • API endpoint to receive patch
  • Verify patch
  • Generate checksum
  • Verify checksum if already stored
  • Store patch information in database (creation date, checksum, patch name, creator)
  • Store patch in KernelCI storage and return URL
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

No branches or pull requests

1 participant