Rocket
Automated deployment as fast and easy as possible. rocket
is the D
in CI/CD: It allows to easily deploy software across a large range of providers from any CI/CD pipeline.
Installation
Using go (nightly)
$ go get -u github.com/astrocorp42/rocket
Latest
curl -sSf https://raw.githubusercontent.com/astrocorp42/rocket/master/install.sh | sh
Binary releases
https://github.com/astrocorp42/rocket/releases/latest
Docker image
astrocorp/rocket
Usage
Go to your project's root directory then
$ rocket init # create a configuration .rocket.toml file with default configuration
# edit the file with the desired configuration
$ cat .rocket.toml
description = "This is a configuration file for rocket: Automated deployment as fast and easy as possible. See https://github.com/astrocorp42/rocket"
[github_releases]
assets = [
"dist/*.zip",
"dist/rocket_*_sha512sums.txt"
]
$ rocket # to deploy
See https://github.com/astrocorp42/rocket/blob/master/.rocket.toml for an example using both the github_releases
and the docker
providers.
Help
$ rocket help
Automated deployment as fast and easy as possible. rocket is the D in CI/CD. See https://github.com/astrocorp42/rocket
Usage:
rocket [flags]
rocket [command]
Available Commands:
help Help about any command
init Init rocket by creating a .rocket.toml configuration file
version Display the version and build information
Flags:
-c, --config string Use the specified configuration file (and set it's directory as the working directory
-d, --debug Display debug information
-h, --help help for rocket
Use "rocket [command] --help" for more information about a command.
Documentation
See https://astrocorp.net/rocket
Available providers
Provider | Status | Documentation |
---|---|---|
AWS S3 s3 |
|
- |
Custom script script |
|
docs |
Docker docker |
|
docs |
Google Firebase firebase |
|
- |
Google Cloud Storage gcs |
|
- |
GitHub releases github_releases |
|
docs |
Heroku heroku |
|
docs |
Netlify netlify |
|
- |
NPM npm |
|
- |
SCP scp |
|
- |
SFTP sftp |
|
- |
SSH ssh |
|
- |