The Spaceship CLI tool
Ship is a small CLI tool for working with the Spaceship platform.
Ship provides several commands, with some still in development. You can see the ones currently available by running ship
with no command or ship help
to get more detailed help output.
Currently implemented commands will be checked off below:
- ✅
login
- Logs ship into your Spaceship account. - ✅
logout
- Logs ship out of the currently logged-in Spaceship account. - ✅
configure-docker
- Sets up Docker authentication to the Magic Container Registry. - ✅
setup-delivery
- Sets up delivery of an app to your current Kubernetes cluster. - 🔳
create-k8s-app
- Set up a Deployment in Kubernetes for the current repo. (Note: This is planned to be a separate tool as well) - 🔳
install-agent
- Installs the Spaceship Agent into your current Kubernetes cluster. - 🔳
deliveries
- Gets a list of recent deliveries. - 🔳
builds
- Gets a list of recent builds. - 🔳
ship it
- Starts a delivery for the current repo.
Ship requires go 1.20 or higher to build.
- Fork the repo
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request here on GitHub