-
Notifications
You must be signed in to change notification settings - Fork 66
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
[skunkworks] Auditing contract testing #1589
Conversation
97efc28
to
71890fd
Compare
71890fd
to
80613e3
Compare
80613e3
to
36d5fd2
Compare
36d5fd2
to
d3df81c
Compare
439dd3a
to
0629999
Compare
0629999
to
6112b30
Compare
6112b30
to
58a3d37
Compare
58a3d37
to
a45a263
Compare
a08fa0f
to
ca364fd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The setup of the env, using Kind and the operator itself to prepare things for the test doesn't make me happy. Don't you think that using the Atlas client directly is a better idea? Like this, the contract test would have zero dependencies to be run.
This way we are dogfooding, we depend on us. I did a try without the operator and it got quite complex. Note we need not only provide a project, or a project and a deployment, but arbitrary setups, which the operator can do just by passing it a YAML input file. I think my old attempt is there closed somewhere. |
bef3485
to
0bf1a2e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a great direction, a couple of comments and concerns 👍
Signed-off-by: jose.vazquez <jose.vazquez@mongodb.com>
Signed-off-by: jose.vazquez <jose.vazquez@mongodb.com>
0bf1a2e
to
2f214d8
Compare
@s-urbaniak I believe I applied all your feedback. |
Signed-off-by: jose.vazquez <jose.vazquez@mongodb.com>
2f214d8
to
d94928b
Compare
Related to CLOUDP-242997 |
These is the sample "foundations" PR of a new feature. It does NOT add anything that cannot be merged ASAP. Will hold it as it is a PoC.
It includes:
internal/translayer/auditing
.test/contract/auditing
.Infrastructure that had to be added as a one off, if this approach is followed, next PRs like will not need it:
.github/workflows/contract-tests.yml
&.github/workflows/cloud-tests.yml
Makefile
.internal/translater/client.go
.test/helper/launcher
.test/helper/control/enable.go
.Engineering Proposal: Translation Layer
Also related to CLOUDP-242997
All Submissions: