Skip to content

Commit 79e45ea

Browse files
docs: use unified chart registry
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
1 parent 2e3eea9 commit 79e45ea

7 files changed

Lines changed: 23 additions & 8 deletions

File tree

.github/actions/repo-automation/test/release-policy.test.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,21 @@ test("chart defaults bind root and NRI images to the release appVersion", () =>
7272
/\$imageTag := default \(default \$\.Chart\.AppVersion \$rootImage\.tag\) \$nriImage\.tag/);
7373
});
7474

75+
test("user-facing Helm commands use the sole published OCI chart target", () => {
76+
for (const name of [
77+
"README.md",
78+
"docs/README.md",
79+
"docs/quickstart.md",
80+
"docs/examples.md",
81+
"docs/integrations/fake-gpu-operator.md",
82+
"docs/demo/with-fgo/README.md",
83+
]) {
84+
const source = readText(name);
85+
assert.match(source, /oci:\/\/ghcr\.io\/nvidia\/charts\/nvml-mock/, `${name}: unified chart target missing`);
86+
assert.doesNotMatch(source, /oci:\/\/ghcr\.io\/nvidia\/k8s-test-infra\/chart/, `${name}: retired chart target`);
87+
}
88+
});
89+
7590
test("activated release workflow owns main pushes and preserves a read-only manual plan", () => {
7691
const source = readText(".github/workflows/release.yml");
7792
const workflow = YAML.parse(source);

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ docker pull ghcr.io/nvidia/nvml-mock:latest
2121
kind load docker-image ghcr.io/nvidia/nvml-mock:latest --name gpu-test
2222

2323
# 3. Install
24-
helm install nvml-mock oci://ghcr.io/nvidia/k8s-test-infra/chart/nvml-mock
24+
helm install nvml-mock oci://ghcr.io/nvidia/charts/nvml-mock
2525
```
2626

2727
After install, deploy a consumer to test:

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Linux system -- no hardware required.
3131
kind create cluster --name test
3232
docker pull ghcr.io/nvidia/nvml-mock:latest
3333
kind load docker-image ghcr.io/nvidia/nvml-mock:latest --name test
34-
helm install nvml-mock oci://ghcr.io/nvidia/k8s-test-infra/chart/nvml-mock
34+
helm install nvml-mock oci://ghcr.io/nvidia/charts/nvml-mock
3535
```
3636

3737
See [Helm Chart README](../deployments/nvml-mock/helm/nvml-mock/README.md) for

docs/demo/with-fgo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ kind load docker-image nvml-mock:demo --name nvml-mock-fgo-demo
3232
## Step 3 -- Install nvml-mock
3333

3434
```bash
35-
helm install nvml-mock oci://ghcr.io/nvidia/k8s-test-infra/chart/nvml-mock \
35+
helm install nvml-mock oci://ghcr.io/nvidia/charts/nvml-mock \
3636
--set integrations.fakeGpuOperator.enabled=true \
3737
--set gpu.profile=h100 \
3838
--set gpu.count=8 \

docs/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ nm -D pkg/gpu/mocknvml/libnvidia-ml.so | grep nvml | head -20
401401
Deploy nvml-mock with profile ConfigMaps for fake-gpu-operator discovery:
402402

403403
```bash
404-
helm install nvml-mock oci://ghcr.io/nvidia/k8s-test-infra/chart/nvml-mock \
404+
helm install nvml-mock oci://ghcr.io/nvidia/charts/nvml-mock \
405405
--set integrations.fakeGpuOperator.enabled=true \
406406
--set gpu.profile=h100
407407

docs/integrations/fake-gpu-operator.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Together, they enable **mixed clusters** where a small set of real nodes run nvm
7070
Enable the FGO integration flag when installing the Helm chart. This creates GPU profile ConfigMaps that FGO can discover and use for its topology.
7171

7272
```bash
73-
helm install nvml-mock oci://ghcr.io/nvidia/k8s-test-infra/chart/nvml-mock \
73+
helm install nvml-mock oci://ghcr.io/nvidia/charts/nvml-mock \
7474
--set integrations.fakeGpuOperator.enabled=true
7575
```
7676

@@ -154,7 +154,7 @@ integrations:
154154
Install with the override:
155155
156156
```bash
157-
helm install nvml-mock oci://ghcr.io/nvidia/k8s-test-infra/chart/nvml-mock \
157+
helm install nvml-mock oci://ghcr.io/nvidia/charts/nvml-mock \
158158
-f values.yaml
159159
```
160160

@@ -178,7 +178,7 @@ fakeGpuOperator:
178178
If the value is missing or `false`, upgrade the release with the flag enabled:
179179

180180
```bash
181-
helm upgrade nvml-mock oci://ghcr.io/nvidia/k8s-test-infra/chart/nvml-mock \
181+
helm upgrade nvml-mock oci://ghcr.io/nvidia/charts/nvml-mock \
182182
--set integrations.fakeGpuOperator.enabled=true
183183
```
184184

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Deploy on a Kind cluster using the published container image:
126126
kind create cluster --name nvml-mock-test
127127
docker pull ghcr.io/nvidia/nvml-mock:latest
128128
kind load docker-image ghcr.io/nvidia/nvml-mock:latest --name nvml-mock-test
129-
helm install nvml-mock oci://ghcr.io/nvidia/k8s-test-infra/chart/nvml-mock --wait --timeout 120s
129+
helm install nvml-mock oci://ghcr.io/nvidia/charts/nvml-mock --wait --timeout 120s
130130
```
131131

132132
See the [Helm Chart README](../deployments/nvml-mock/helm/nvml-mock/README.md)

0 commit comments

Comments
 (0)