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

Add E2E framework #28

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Add E2E framework #28

merged 1 commit into from
Aug 6, 2024

Conversation

ArangoGutierrez
Copy link
Collaborator

No description provided.

@ArangoGutierrez
Copy link
Collaborator Author

❯ make -f test/e2e/Makefile e2e-test
cd /Users/eduardoa/src/github/nvidia/k8s-nim-operator/test/e2e && go test -v . -args \
                -kubeconfig=/Users/eduardoa/.kube/config \
                -image.repo=nvcr.io/nvidia/k8s-nim-operator \
                -image.tag=v0.1.0 \
                -image.pull-policy=IfNotPresent \
                -log-artifacts=/Users/eduardoa/src/github/nvidia/k8s-nim-operator/e2e_logs \
                -helm-chart=/Users/eduardoa/src/github/nvidia/k8s-nim-operator/deployments/helm/k8s-nim-operator \
                -helm-log-file=/Users/eduardoa/src/github/nvidia/k8s-nim-operator/e2e_logs/helm.log \
                -ginkgo.focus="\[nvidia\]" \
                -test.timeout=1h \
                -ginkgo.v
=== RUN   TestE2E
Running Suite: nvidia k8s-nim-operator e2e suite - /Users/eduardoa/src/github/nvidia/k8s-nim-operator/test/e2e
==============================================================================================================
Random Seed: 1722856018 - will randomize all specs

Will run 1 of 1 specs
------------------------------
[nvidia] NIM Operator When deploying k8s-nim-operator and the NIM Operator is deployed it should create *.apps.nvidia.com CRD's
/Users/eduardoa/src/github/nvidia/k8s-nim-operator/test/e2e/nim-operator_test.go:142
  STEP: Creating a kubernetes client @ 08/05/24 13:06:58.896
  STEP: Building a namespace with basename k8s-nim-operator @ 08/05/24 13:06:58.935
  STEP: Creating a Helm client @ 08/05/24 13:06:59.019
  STEP: Installing k8s-nim-operator Helm chart @ 08/05/24 13:06:59.038
  STEP: [Cleanup]       Deleting testing namespace "k8s-nim-operator-3203". @ 08/05/24 13:07:11.912
• [13.021 seconds]
------------------------------

Ran 1 of 1 Specs in 13.021 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped
--- PASS: TestE2E (13.02s)
PASS
ok      github.com/NVIDIA/k8s-nim-operator/test/e2e     13.748s

@ArangoGutierrez ArangoGutierrez self-assigned this Aug 6, 2024
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
Copy link
Collaborator

@shivamerla shivamerla left a comment

Choose a reason for hiding this comment

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

lgtm

@ArangoGutierrez ArangoGutierrez merged commit 72d3161 into NVIDIA:main Aug 6, 2024
5 checks passed
@ArangoGutierrez ArangoGutierrez deleted the e2e-framework branch August 6, 2024 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants