suborbital / subo

The Suborbital CLI
Apache License 2.0
81 stars 24 forks source link

feat(cli): initial version of `subo push` using Bindle #178

Closed cohix closed 2 years ago

cohix commented 2 years ago

NOTE: this new command is only enabled for dev builds for now (build with make subo/dev)

This uses the go-bindle client to allow Suborbital projects to be pushed to a bindle server!

To test, clone bindle, run it with make build serve (requires Rust toolchain), and then in a Suborbital project, run subo build . and then subo push.

The first attempt will fail because Subo creates the required signature keys. Restart the bindle server after the first failure and then try subo push again, it will succeed!

The signing private key is stored in ~/.ssh/bindle_ed25519, and the public key is stored in Bindle's keyring.toml.