Skip to content

reverbdotcom/sbx

Repository files navigation

Vet Release

sbx

Orchestra CLI tool: sbx up

Install / Upgrade

Requires GITHUB_TOKEN to be set in the environment.

golang

export GOPRIVATE=github.com/reverbdotcom && go install github.com/reverbdotcom/sbx@main

brew

brew tap reverbdotcom/homebrew-reverb
brew update
brew install sbx

bash

VERSION=v1.4.7 \
    curl \
        -s\
        -L \
        -o "/tmp/sbx-darwin-arm64.tar.gz" \
        "https://github.com/reverbdotcom/sbx/releases/download/${VERSION}/sbx-darwin-arm64.tar.gz" \
    && tar -xzf /tmp/sbx-darwin-arm64.tar.gz -C /tmp \
    && sudo mv /tmp/sbx /usr/local/bin/sbx

Release

Release is done for bash and brew installations. We support only darwin-arm64 ( macos m1 ) for now. To cut a new release, publish a new tag following semver.

Development

sbx.go is the main entry point for the CLI tool. Every command should be a go package. Commands are configured in commands/commands.go.

make <command>.run will build and run the command. This runs live.

Test

make test

Test with another repo

Run, in any orchestra enabled repo.

export GOPRIVATE=github.com/reverbdotcom && go install github.com/reverbdotcom/sbx@your-test-branch

sbx now points to your branch version.