You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests sometimes pass despite introducing breaking changes
The main reason was having introduced a gyp lib that needed sudo permissions breaking the cml service inside the CML aws image managed by our terraform provider
should use external repo & send-check to
avoid spamming CML with comments
avoid too many token permissions
We need:
Integration tests that take the whole picture
testbot should do the trick however the CML image is picking from master
No, what I say is that despite that we are testing everything when we launch a cloud runner it is going to use "live" cml not "dev", hence we are not going to notice those issues and testing with cloud runners is unsecure
Create a minimal directory structure to provision these ephemeral repositories. It can be composable with overlays so we keep a single code base for all the different CI/CD syntax styles. See also DavidGOrtega/fashion_mnist for an example of whole picture integration tests.
Consider replacing checkbot.yml with acceptance tests that run on every pull request and don't include cloud functionality tests, which can be moved to the iterative/terraform-provider-iterative repository.
Not necessarily blocked by #645 unless we plan to send GitHub checks between repositories. In fact, I would prefer to avoid that approach and resort to our jest tests instead to verify that the triggered actions have altered the target repository status in the expected way.
Activity
0x2b3bfa0 commentedon May 19, 2021
0x2b3bfa0 commentedon May 19, 2021
Do you mean that the checkbot test image is being built from the latest changes in the branch that triggered the workflow?
DavidGOrtega commentedon May 19, 2021
No, what I say is that despite that we are testing everything when we launch a cloud runner it is going to use "live" cml not "dev", hence we are not going to notice those issues and testing with cloud runners is unsecure
0x2b3bfa0 commentedon May 20, 2021
[-]Integration tests have not stopped us to release breaking changes[/-][+]fix/upgrade integration tests[/+]0x2b3bfa0 commentedon Aug 22, 2021
Suggested action points
Use custom setup and teardown functions to create and destroy ephemeral test repositories on GitHub, GitLab and Bitbucket where we can run each test in a clean slate and without getting extra notifications. Most of these services can be executed inside GitHub Actions as service containers; see the
gitlab.ymlworkflow and our internal on-premise Bitbucket server roles from https://github.com/iterative/viewer/issues/1051.Create a minimal directory structure to provision these ephemeral repositories. It can be composable with overlays so we keep a single code base for all the different CI/CD syntax styles. See also DavidGOrtega/fashion_mnist for an example of whole picture integration tests.
Consider replacing
checkbot.ymlwith acceptance tests that run on every pull request and don't include cloud functionality tests, which can be moved to the iterative/terraform-provider-iterative repository.Already solved issues
0x2b3bfa0 commentedon Aug 22, 2021
Not necessarily blocked by #645 unless we plan to send GitHub checks between repositories. In fact, I would prefer to avoid that approach and resort to our
jesttests instead to verify that the triggered actions have altered the target repository status in the expected way.