Conversation
|
coverage is here https://storage.googleapis.com/envoy-pr/17488/tooling/index.html |
2aaa24f to
d2e35bd
Compare
|
cc @htuch |
d2e35bd to
7ce7ab1
Compare
7ce7ab1 to
764623f
Compare
a31c7b7 to
3d8a9de
Compare
htuch
left a comment
There was a problem hiding this comment.
Looks really clean, just some minor comments/nits.
/wait
tools/distribution/distrotest.py
Outdated
There was a problem hiding this comment.
Did you consider modeling the configuration format as proto3 (with YAML frontend) to provide a schema/documentation?
There was a problem hiding this comment.
the idea crossed my mind, but tbh i didnt see the immediate benefit.
I guess though, as you say, the benefit is documentation and a schema to work with
there are 2 yaml configs
this one defines the build/exec environment for the different container types - ie deb/rpm - its more complex but unlikely to change much and is not public-facing/configurable, at least with current implementation of the checker.
the other yaml schema (which comes as part of the next pr) is configurable/public-facing, but is super simple - basically just
debian_buster:
image: debian:buster-slim
ext: buster.changesi would be happy following up to add protobuf schemas for these if you were ok with that
There was a problem hiding this comment.
the downside is i guess the dependency on protobuf
There was a problem hiding this comment.
Up to you, just thought it might have some win. My only strongly held opinion is that if we go with a schema, it should be protobuf, to reduce the proliferation of schema languages/tooling. Protobuf dependency isn't too bad I think, we have this in a fair bit of Python tooling already.
3d8a9de to
4dfbc4e
Compare
4dfbc4e to
b14f3ff
Compare
Signed-off-by: Ryan Northey <ryan@synca.io>
b14f3ff to
6ef56af
Compare
| `tarball` is the path to a tarball containing packages. | ||
| `keyfile` is the path to the public key used to sign the packages | ||
| `testfile` is the bash script to run inside the test containers. | ||
| `maintainer` is the expected maintainer/packager the packages were signed with. |
There was a problem hiding this comment.
i think its theoretically possible to derive the maintainer from the keyfile but probs i would prefer to follow up with this as it adds some complexity
htuch
left a comment
There was a problem hiding this comment.
LGTM, but I think you have some changes still in flight so can approve again later. I didn't review the unit tests in depth.
Signed-off-by: Ryan Northey <ryan@synca.io>
d9656e2 to
ae0e3bb
Compare
Signed-off-by: Ryan Northey <ryan@synca.io>
Signed-off-by: Ryan Northey ryan@synca.io
Commit Message: dist: Add distrotest lib
Additional Description:
This is a breakout from #17380 and #16899
It adds a a lib that for given arguments:
this doesnt include the
Checkerto run the tests in ci etctheres quite a bit of code in #17380 so i figured to break the lib/tests out first
this will also allow tweaking the cli args in the checker once this has landed
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]