chore: sync NemoClaw installer pinning behavior (#19)

Co-authored-by: Mark Mckeen <markmckeen@Marks-Mac-mini.local>
This commit is contained in:
mmckeen-nv
2026-06-03 00:07:01 -06:00
committed by GitHub
co-authored by Mark Mckeen
parent fafcf6e245
commit c57ecb1131
2 changed files with 9 additions and 1 deletions
+4
View File
@@ -59,6 +59,10 @@ assert.match(versionedInstallSource, /NEMOCLAW_INSTALL_REF="\$\{NEMOCLAW_INSTALL
assert.match(versionedInstallSource, /NEMOCLAW_SOURCE_URL="\$\{NEMOCLAW_SOURCE_URL:-https:\/\/github\.com\/NVIDIA\/NemoClaw\.git\}"/, 'versioned installer must use the NemoClaw source repository URL')
assert.match(versionedInstallSource, /https:\/\/raw\.githubusercontent\.com\/NVIDIA\/OpenShell\/main\/install\.sh/, 'versioned installer must use the OpenShell installer URL')
assert.match(versionedInstallSource, /git -C "\$source_dir" fetch[\s\S]*"\$NEMOCLAW_INSTALL_REF"/, 'versioned installer must fetch NemoClaw from the selected git ref')
assert.match(versionedInstallSource, /Requested NemoClaw install ref/, 'versioned installer must fail clearly when the selected NemoClaw ref is unavailable')
assert.match(versionedInstallSource, /Check NEMOCLAW_INSTALL_REF\/NEMOCLAW_INSTALL_TAG/, 'missing NemoClaw ref errors must tell operators which pinning variables to check')
assert.match(versionedInstallSource, /set this on bash or export it first/, 'versioned installer help must explain curl-pipe ref pinning')
assert.match(versionedInstallSource, /curl -fsSL https:\/\/www\.nvidia\.com\/nemoclaw\.sh \| NEMOCLAW_INSTALL_TAG=v0\.0\.56 bash/, 'versioned installer help must include the safe curl-pipe pinning placement')
assert.match(versionedInstallSource, /OPENSHELL_VERSION="\$OPENSHELL_VERSION" sh/, 'versioned installer must pass the selected OpenShell version to upstream install.sh')
assert.match(versionedInstallSource, /NEMOCLAW_ACCEPT_THIRD_PARTY_SOFTWARE="\$NEMOCLAW_ACCEPT_THIRD_PARTY_SOFTWARE"/, 'versioned installer must support non-interactive third-party acceptance')
assert.match(versionedInstallSource, /NEMOCLAW_NON_INTERACTIVE="\$NEMOCLAW_NON_INTERACTIVE"/, 'versioned installer must run NemoClaw non-interactively by default')