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

Consider a 'check' subcommand #7

Open
chevdor opened this issue Jun 22, 2021 · 2 comments
Open

Consider a 'check' subcommand #7

chevdor opened this issue Jun 22, 2021 · 2 comments

Comments

@chevdor
Copy link
Owner

chevdor commented Jun 22, 2021

This remains to be spec'ed but the main idea is to allow used to check a given "srtool result" coming in the form of a json file.

The json file needs to contains all the parameters for the user to reproduce the same build without having to care much about the flags and options.

At the end of the build, the output is similar to a regular build, with, in addition, a comparison of the hashes.

@chevdor
Copy link
Owner Author

chevdor commented Jul 14, 2021

Here is the list of info required for a run and a check:

run

  • image
  • tag-version: fully specified tag, 1.53.0 is not enough, we need the full 1.53.0-0.9.15 to ensure we pick the right image and not blindly the last `1.53.0
  • runtime_dir
  • (package) (having the runtime_dir), we should not need the package

check

  • proposal hash
  • blake2_256
  • image digest

@chevdor
Copy link
Owner Author

chevdor commented Jul 15, 2021

See #13

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