Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .github/workflows/release-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,19 @@ jobs:
fi
fi

- name: Install CLI from GitHub Release
run: ./install.sh
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENSHELL_VERSION: ${{ steps.release.outputs.tag }}
- name: Install CLI from published install script
run: |
set -euo pipefail
export OPENSHELL_VERSION="${{ steps.release.outputs.tag }}"
export OPENSHELL_INSTALL_DIR="${{ runner.temp }}/openshell-bin"
curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | sh
echo "$OPENSHELL_INSTALL_DIR" >> "$GITHUB_PATH"

- name: Verify CLI installation
run: openshell --version
run: |
set -euo pipefail
command -v openshell
openshell --version

- name: Resolve gateway host
run: |
Expand Down
29 changes: 1 addition & 28 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -364,37 +364,10 @@ jobs:

### Quick install

Requires the [GitHub CLI (`gh`)](https://cli.github.com) to be installed and authenticated.

```bash
sh -c 'ARCH=$(uname -m); OS=$(uname -s); \
case "${OS}-${ARCH}" in \
Linux-x86_64) ASSET="openshell-x86_64-unknown-linux-musl.tar.gz" ;; \
Linux-aarch64) ASSET="openshell-aarch64-unknown-linux-musl.tar.gz" ;; \
Darwin-arm64) ASSET="openshell-aarch64-apple-darwin.tar.gz" ;; \
*) echo "Unsupported platform: ${OS}-${ARCH}" >&2; exit 1 ;; \
esac; \
gh release download ${{ env.RELEASE_TAG }} --repo NVIDIA/OpenShell --pattern "${ASSET}" -O - \
| tar xz \
&& sudo install -m 755 openshell /usr/local/bin/openshell'
```

### Docker images

```bash
docker pull ghcr.io/nvidia/openshell/gateway:${{ needs.compute-versions.outputs.semver }}
docker pull ghcr.io/nvidia/openshell/cluster:${{ needs.compute-versions.outputs.semver }}
curl -LsSf https://raw.githubusercontent.com/NVIDIA/OpenShell/main/install.sh | OPENSHELL_VERSION=${{ env.RELEASE_TAG }} sh
```

### Assets

| File | Platform |
|------|----------|
| `openshell-x86_64-unknown-linux-musl.tar.gz` | Linux x86_64 |
| `openshell-aarch64-unknown-linux-musl.tar.gz` | Linux aarch64 / ARM64 |
| `openshell-aarch64-apple-darwin.tar.gz` | macOS Apple Silicon |
| `openshell-*.whl` | Python wheels |
| `openshell-checksums-sha256.txt` | SHA256 checksums for all archives |
files: |
release/openshell-x86_64-unknown-linux-musl.tar.gz
release/openshell-aarch64-unknown-linux-musl.tar.gz
Expand Down
Loading