-
Notifications
You must be signed in to change notification settings - Fork 369
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
Pre-installation testing framework #6278
Pre-installation testing framework #6278
Conversation
74306fd
to
ccd4743
Compare
pkg/antctl/raw/check/cluster/test_checkcontrolplaneavailability.go
Outdated
Show resolved
Hide resolved
pkg/antctl/raw/check/cluster/test_checkcontrolplaneavailability.go
Outdated
Show resolved
Hide resolved
ccd4743
to
9f76013
Compare
Signed-off-by: Kanha gupta <[email protected]>
9f76013
to
51316a3
Compare
Hey mentors, I have pushed the changes :) |
Signed-off-by: Kanha gupta <[email protected]>
Hey mentors, I have pushed changes.
|
pkg/antctl/raw/check/cluster/test_checkcontrolplaneavailability.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Kanha gupta <[email protected]>
# Conflicts: # .github/workflows/kind.yml # pkg/antctl/raw/check/installation/command.go
Signed-off-by: Kanha gupta <[email protected]>
b123bed
to
1cf55f9
Compare
Hey mentors, Taking the PR #6291 as a reference, I have improved the readability of Pre-installation tests. Since none of the current tests involves getting skipped in any condition, Skipped tests are not calculated right now. |
pkg/antctl/raw/check/cluster/test_checkcontrolplaneavailability.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Kanha gupta <[email protected]>
Signed-off-by: Kanha gupta <[email protected]>
Hey mentors, I have pushed the latest review changes |
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.
only a few minor comments left for me
pkg/antctl/raw/check/cluster/test_checkcontrolplaneavailability.go
Outdated
Show resolved
Hide resolved
Hey mentors, I have made changes :) |
Signed-off-by: Kanha gupta <[email protected]>
888d39b
to
66f0fe0
Compare
pkg/antctl/raw/check/cluster/test_checkcontrolplaneavailability.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Kanha gupta <[email protected]>
# Conflicts: # pkg/antctl/raw/check/installation/command.go
5cb0435
to
1e51878
Compare
Hey mentors, changes have been made :) |
Signed-off-by: Kanha gupta <[email protected]>
1e51878
to
7651313
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.
LGTM
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.
a few nits
Changes are pushed :) |
Signed-off-by: Kanha gupta <[email protected]>
850bb48
to
548a115
Compare
/skip-all |
@kanha-gupta The CI job is failing for your new command:
I think you are missing a required security capability for your container: securityContext:
capabilities:
add:
- SYS_MODULE |
Signed-off-by: Kanha gupta <[email protected]>
45da300
to
0f1d7e1
Compare
Signed-off-by: Kanha gupta <[email protected]>
Thanks. Implemented this and the tests are successful now. is there any comprehensive docs/guide available which states the restrictions of github workflows and other CI/CD workflows ? |
This issue had nothing to do with CI/CD. This capability is always required to load kernel modules. The online documentation for Github workflows is pretty comprehensive if you need to lookup something. |
/skip-all |
Ref #6153
This PR enables the testing of cluster state before Antrea is installed so that Antrea can be installed seamlessly and hence referred to as Pre-installation tests.
command to conduct the test is
antctl check cluster
This PR includes :