# README
Syros deployctl
Deploy tool for Docker containers and data stores
Prerequisite
- Docker >= 17.05
- Docker Compose >= 1.14
- curl
- tar
- Java8 for flyway
Pipelines
- Container deploy and promotion from one env to another
- Rolling update of HA clusters
- Container configuration reload
- Container rollback
- PostgreSQL migrations
- Kafka topics deploy
- OpenTSDB metrics deploy
Integrations
- Jenkins artifacts download
- Flyway migrations
- JIRA ticket update
- JIRA deploy log upload
- SYROS releases update
- Slack deployment logs
Install
Latest stable version:
SYROS_VERSION=$(curl -s -o /dev/null -I -w "%{redirect_url}\n" https://github.com/stefanprodan/syros/releases/latest | grep -oP "[0-9]+(\.[0-9]+)+$")
curl -o /usr/local/bin/syros-deployctl -L https://github.com/stefanprodan/syros/releases/download/$SYROS_VERSION/syros-deployctl
chmod +x /usr/local/bin/syros-deployctl
syros-deployctl -h
Usage
$ syros-deployctl -h
NAME:
deployctl - SYROS deploy CLI
USAGE:
syros-deployctl [global options] command [command options] [arguments...]
VERSION:
1.0.0
AUTHOR:
Stefan Prodan
COMMANDS:
promote Promote containers from one environment to another
reload Reload containers configuration
rollback Rollback containers to previous version
migrate Migrate PostgreSQL, Kafka or OpenTSDB
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--config value, -c value Download URL for the config.tar.gz file [$DCTL_CONFIG_URL]
--help, -h show help
--version, -v print the version
promote
$ syros-deployctl promote -h
NAME:
syros-deployctl promote - Promote containers from one environment to another
USAGE:
syros-deployctl promote [command options] [arguments...]
OPTIONS:
--ticket value, -t value JIRA ticket ID, if specified the deploy log will be posted on the ticket
--environment value, -e value Target environment, multiple values accepted
--component value, -c value Docker service, multiple values accepted
--tag value If a tag is specified this exact docker image tag will be deployed
reload
$ syros-deployctl reload -h
NAME:
syros-deployctl reload - Reload containers configuration
USAGE:
syros-deployctl reload [command options] [arguments...]
OPTIONS:
--ticket value, -t value JIRA ticket ID, if specified the deploy log will be posted on the ticket
--environment value, -e value Target environment, multiple values accepted
--component value, -c value Docker service, multiple values accepted
rollback
$ syros-deployctl rollback -h
NAME:
syros-deployctl rollback - Rollback containers to previous version
USAGE:
syros-deployctl rollback [command options] [arguments...]
OPTIONS:
--ticket value, -t value JIRA ticket ID, if specified the rollback log will be posted on the ticket
--environment value, -e value Target environment, multiple values accepted
--component value, -c value Docker service, multiple values accepted
migrate
$ syros-deployctl migrate -h
NAME:
syros-deployctl migrate - Migrate PostgreSQL, Kafka or OpenTSDB
USAGE:
syros-deployctl migrate [command options] [arguments...]
OPTIONS:
--ticket value, -t value JIRA ticket ID, if specified the rollback log will be posted on the ticket
--environment value, -e value Target environment, multiple values accepted
--component value, -c value Component name
# Functions
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author