-
Notifications
You must be signed in to change notification settings - Fork 344
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
fix(CI): Change latest release CI to containerd runtime #1632
Conversation
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.
Please verify on your own repo if this works or not. The final push will not happen but atleast the tests can be verified
Check better ways, than time.Sleep to fix async issues
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.
Let's carefully add the Eventually statement.
We only need the Eventually statement when AppArmor related policy is being applied, not in audit/visibility related tests.
Can we think of a way to refactor this such that it's a function argument true/false.
Also I have added eventually to blockposture to test something, it won't be there in the final PR |
I think we can add if we want to all test suites, that can be a different PR too. |
1386ee2
to
7520c58
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.
Overall LGTM. Some nitpicks and reundundant code comments
- Some rendundant time.Sleep needs to be removed ( I have not commented on all of them )
- Let's move all K8sExecInPod to AssertCommand
- Some specific comments are inline, do check them out
Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> Added another file Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> Changes to tags Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> operator tag change Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> tag fixed Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> Used sed to replace version in config Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> Tag fix Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> chore(test): add sleep to reduce flakiness apparmor profile take some time to generate. The gingkgo tests try to check the enforcement almost immediately after applying a policy which results in increased flakiness due to the time it takes to activate policies. Signed-off-by: Barun Acharya <barun1024@gmail.com> chore(fix) First iteration to add eventually in the CI Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> Eventually in block posture added Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> Ginkgo verbose for debugging Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> Fixes Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> Fixes-2 Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> net-raw fix Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> AssertCommand Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> AssertCommand Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> Improved eventual testing Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> Minor fixes Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> Minor fixes-2 Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> minor fix Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> another minor fix Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> minor fix Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com> minor fix Signed-off-by: PrimalPimmy <Prashant20.pm@gmail.com>
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.
LGTM 👌🏽 Nice Work
May the force be with us and we do not need to fix tests again 🙏🏽 👼🏽
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.
LGTM! 🚀
Purpose of PR?:
Fixes #1627 , hopefully
We are changing the runtime of our CI release workflow from docker to containerd.
Does this PR introduce a breaking change?
No
If the changes in this PR are manually verified, list down the scenarios covered::
Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Checklist:
<type>(<scope>): <subject>