Files
lancedb/.github/workflows
Bruno Ramirez 72b46439bf ci: publish and verify the CLI shell installer (#5090)
#5082 added the CLI installer, but users still needed a repository
checkout to run the script. This PR publishes it at
`https://downloads.lancedb.com/cli/install.sh` whenever
`scripts/install.sh` changes on `main`. The installer continues to fetch
binaries and checksums from GitHub Releases.

This was accomplished with the following changes:

- Serialize publishes and check out current `main` so retrying an old
run picks up the current script.
- Use GitHub OIDC to upload the installer to S3, invalidate its
CloudFront path, and compare the public download byte for byte with the
checked-out script.
- Allow a manual run on `main` for the first publish and retries. The
first run requires the `CLI_INSTALLER_AWS_ROLE_ARN` and
`CLI_INSTALLER_DISTRIBUTION_ID` repository variables.

### Testing

The installer failure-case tests passed. With simulated AWS and HTTP
responses, the publish step accepted matching bytes, rejected a stale
download, and stopped before upload when the distribution ID was
missing.
2026-11-18 15:38:02 -08:00
..
2026-09-09 15:33:04 +08:00