Skip to content
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.

Verify runtime directory hash as part of CI #602

Open
CodeSandwich opened this issue Jul 24, 2020 · 0 comments
Open

Verify runtime directory hash as part of CI #602

CodeSandwich opened this issue Jul 24, 2020 · 0 comments
Labels
project-health Refactoring, clean up or quality of life

Comments

@CodeSandwich
Copy link
Contributor

There's no mechanism preventing us from modifying the runtime without bumping its version.

In the GCS along the runtime file there should be a file following the same naming convention, but with a hash of the runtime and core directories. The CI should check if the current runtime version has its hash file in the GCS and if yes, it should assure that it matches the state of the code base. The CI should generate and upload the hash file when it uploads the corresponding runtime WASM file.

Open questions:

  • How to hash 2 directories in a reproducible and portable way? Maybe git provides tooling fitting these criteria as a part of its plumbing.
@CodeSandwich CodeSandwich added the project-health Refactoring, clean up or quality of life label Jul 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
project-health Refactoring, clean up or quality of life
Projects
None yet
Development

No branches or pull requests

1 participant