[CP 1326] chore: exclude .claude, tests/pytests, and knowledge folders from mar…#519
Open
ci-penbot-01 wants to merge 1 commit intoROCm:mainfrom
Conversation
…… (#1326) * chore: exclude .claude, tests/pytests, and knowledge folders from markdown linting Add .claude, tests/pytests, and knowledge directories to markdownlint ignore patterns to prevent linting of test artifacts and AI-generated documentation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * docs: remove extra blank line in developer-guide.md Clean up formatting by removing an unnecessary blank line in the developer guide. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * chore: add OCI, gocheck, and teardown to spellcheck wordlist Add technical terms to wordlist to resolve spellcheck failures in developer-guide.md. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> (cherry picked from commit 2fc32d2b31a16c76efa5f5727c5b211eabf1a831)
Contributor
Author
AI-Assisted Cherry-PickSource PR: #1326 The cherry-pick operation encountered merge conflicts which were resolved automatically using AI assistance. Files with conflicts (resolved by AI):
Original conflict in .markdownlint-cli2.jsonc<<<<<<< HEAD
"**/.git/**"
=======
"**/.git/**",
"**/ci-internal/**",
"**/docs/cicd/**",
"**/tests/e2e/**",
"**/helm-charts-k8s/README.md",
"**/internal-example/**",
"**/.claude/**",
"**/tests/pytests/**",
"**/knowledge/**"
>>>>>>> 2fc32d2b... chore: exclude .claude, tests/pytests, and knowledge folders from mar… (#1326)Original conflict in docs/contributing/developer-guide.md<<<<<<< HEAD
=======
## GPU Operator E2E Tests
The `tests/k8s-e2e/` directory contains an e2e test suite that installs the GPU Operator via Helm and verifies metrics and health. Tests run against a live Kubernetes cluster.
### Prerequisites
- A running Kubernetes cluster with at least one AMD GPU node
- `kubectl` configured (`~/.kube/config` or a custom kubeconfig)
- Docker (to build the test runner image)
### Test runner image
```bash
docker build -t gpu-op-k8s-e2e:latest -f tests/k8s-e2e/Dockerfile.e2e tests/k8s-e2e/Running testsFull install + verify + teardownPass the helm chart as a local directory path (the docker run --rm \
-v /path/to/kubeconfig:/kubeconfig:ro \
-v /path/to/gpu-operator/helm-charts-k8s:/helm-charts:ro \
gpu-op-k8s-e2e:latest \
-kubeconfig /kubeconfig \
-operatorchart /helm-charts \
-operatortag v1.5.0 \
-test.timeout 60mVerify only (pre-deployed cluster)docker run --rm -v /path/to/kubeconfig:/kubeconfig:ro \
gpu-op-k8s-e2e:latest \
-kubeconfig /kubeconfig -existing \
-check.f 'TestOp010|TestOp020|TestOp030|TestOp040|TestOp050|TestOp060|TestOp065|TestOp070' \
-test.timeout 30mUsing make# Full install+verify+teardown
make -C tests/k8s-e2e all KUBECONFIG=/path/to/kubeconfig OPERATOR_TAG=v1.5.0
# Verify only (pre-deployed)
make -C tests/k8s-e2e verify KUBECONFIG=/path/to/kubeconfigCommon flags
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cp of pensando/gpu-operator#1326
Source PR Description (pensando/gpu-operator#1326):
…kdown linting
Add .claude, tests/pytests, and knowledge directories to markdownlint ignore patterns to prevent linting of test artifacts and AI-generated documentation.
Cherrypick triggered by: ACP-Automation