Skip to content
/ sup Public
forked from pressly/sup

Super simple deployment tool - just Unix - think of it like 'make' for a network of servers

License

Notifications You must be signed in to change notification settings

cleonte/sup

This branch is 125 commits behind pressly/sup:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

70f5c5e · Dec 15, 2015
Dec 14, 2015
Dec 15, 2015
Aug 19, 2015
Dec 14, 2015
Nov 26, 2015
May 7, 2015
Dec 14, 2015
Dec 14, 2015
Dec 15, 2015
Aug 19, 2015
Dec 15, 2015
Dec 15, 2015
Dec 15, 2015
Dec 15, 2015
Dec 1, 2015
Dec 15, 2015

Repository files navigation

Stack Up

Stack Up is a simple deployment tool that performs given set of commands on multiple hosts in parallel. It reads Supfile, a YAML configuration file, which defines networks (groups of hosts), commands and targets.

Demo

Demo using the following Supfile:

Sup

Installation

$ go get -u github.com/pressly/sup/cmd/sup

Usage

$ sup [-f Supfile] [--only <regexp>] <network> <target/command> [...]
command/option description
<network> Group of hosts, eg. production that consists of 1-N hosts.
<command> Name set of bash commands to be run remotely, eg build that triggers docker build -t my/image ..
<target> An alias to run multiple <commands>, eg deploy that triggers pull, build and run commands.
-f Supfile Custom deployment config file (YAML) for sup, see example Supfile.
--only <regexp> Filter <target> hosts by regexp string, eg --only host1.

Examples:

$ sup prod deploy
$ sup --only api1 dev tail-logs
$ sup -f Supfile.db stg restart

Development

fork it..

$ make deps
$ make build

License

Licensed under the MIT License.

About

Super simple deployment tool - just Unix - think of it like 'make' for a network of servers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 95.2%
  • Makefile 3.5%
  • Shell 1.3%