Skip to content
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

(Enhancement) Ginkgo test framework for k8tls #18

Merged
merged 9 commits into from
Aug 29, 2023
Merged

(Enhancement) Ginkgo test framework for k8tls #18

merged 9 commits into from
Aug 29, 2023

Conversation

PrimalPimmy
Copy link
Member

Added test framework using ginkgo, current has two cases but as more features are added, more tests can be put here.

Signed-off-by: PrimalPimmy <[email protected]>
Signed-off-by: PrimalPimmy <[email protected]>
@PrimalPimmy PrimalPimmy marked this pull request as draft August 15, 2023 17:28
Signed-off-by: PrimalPimmy <[email protected]>

put scripts inside workflows-2

Signed-off-by: PrimalPimmy <[email protected]>

testing with kind cluster

Signed-off-by: PrimalPimmy <[email protected]>

Updated tmp path

Signed-off-by: PrimalPimmy <[email protected]>

setup-go to v4

Signed-off-by: PrimalPimmy <[email protected]>

fixed tmp paths

Signed-off-by: PrimalPimmy <[email protected]>

test improvements

Signed-off-by: PrimalPimmy <[email protected]>

checking CI

Signed-off-by: PrimalPimmy <[email protected]>

checking CI-2

Signed-off-by: PrimalPimmy <[email protected]>

checking CI-3

Signed-off-by: PrimalPimmy <[email protected]>

checking if /tmp can be read

Signed-off-by: PrimalPimmy <[email protected]>

test

Signed-off-by: PrimalPimmy <[email protected]>

test

Signed-off-by: PrimalPimmy <[email protected]>

test-3

Signed-off-by: PrimalPimmy <[email protected]>

Possible success

Signed-off-by: PrimalPimmy <[email protected]>

Possible success-2

Signed-off-by: PrimalPimmy <[email protected]>

Possible success-2

Signed-off-by: PrimalPimmy <[email protected]>

checking docker

Signed-off-by: PrimalPimmy <[email protected]>

checking docker

Signed-off-by: PrimalPimmy <[email protected]>

Kind cluster stuff

Signed-off-by: PrimalPimmy <[email protected]>

Kind cluster stuff

Signed-off-by: PrimalPimmy <[email protected]>

test

Signed-off-by: PrimalPimmy <[email protected]>

back to k3s

Signed-off-by: PrimalPimmy <[email protected]>

back to k3s

Signed-off-by: PrimalPimmy <[email protected]>

back to k3s-3

Signed-off-by: PrimalPimmy <[email protected]>

runtime containerd

Signed-off-by: PrimalPimmy <[email protected]>
@PrimalPimmy PrimalPimmy marked this pull request as ready for review August 16, 2023 21:56
Copy link
Contributor

@nyrahul nyrahul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly good to me. Please check the comments. Thanks

tests/kubetls-test.go Outdated Show resolved Hide resolved
.github/workflows/scripts/install_k3s.sh Show resolved Hide resolved
.github/workflows/ci-test-ginkgo.yml Outdated Show resolved Hide resolved
.github/workflows/scripts/install_k3s.sh Outdated Show resolved Hide resolved
tests/k8tls-test.go Outdated Show resolved Hide resolved
tests/k8tls-test.go Show resolved Hide resolved
Signed-off-by: PrimalPimmy <[email protected]>

using k3s action

Signed-off-by: PrimalPimmy <[email protected]>

reverting

Signed-off-by: PrimalPimmy <[email protected]>

reverting

Signed-off-by: PrimalPimmy <[email protected]>

Matching address

Signed-off-by: PrimalPimmy <[email protected]>

Updated install script

Signed-off-by: PrimalPimmy <[email protected]>

Updated install script

Signed-off-by: PrimalPimmy <[email protected]>

Updated install script

Signed-off-by: PrimalPimmy <[email protected]>
Signed-off-by: PrimalPimmy <[email protected]>
Signed-off-by: PrimalPimmy <[email protected]>
Signed-off-by: PrimalPimmy <[email protected]>
Signed-off-by: PrimalPimmy <[email protected]>
@nyrahul nyrahul merged commit 2abaed3 into kubearmor:main Aug 29, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants