Open source, extensible and Docker-based Platform as a Service (PaaS).
Go Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
action action: log pipeline error/panic with log.Errorf Nov 30, 2017
api api: use PUT as http method for teamUpdate Apr 24, 2018
app app: handle race during default plan creation Apr 18, 2018
auth api,app,auth: refactor service creation funcs to also return error Apr 18, 2018
autoscale servicemanager: move mocks to mock package Apr 9, 2018
builder provision/kubernetes: refactor deploy-agent image deploy Apr 18, 2018
cmd vendor: update google/gops version, new features like trace and setgc Mar 27, 2018
config event,volume: extract common config code to a new config pkg Jul 14, 2017
db all: set maxPoolSize for mongodb connections in all tests Jan 31, 2018
docs docs,travis: fix some entries in api spec and add travis job to valid… Apr 24, 2018
errors errors: multierror returns original error on single error Nov 24, 2017
etc provision/kubernetes: use deploy-agent as sidecar for regular deploys Apr 9, 2018
event auth,event: properly identify team tokens in events Apr 16, 2018
exec all: use year of file creation in copyright notice Jan 31, 2017
fs all: use year of file creation in copyright notice Jan 31, 2017
git all: use year of file creation in copyright notice Jan 31, 2017
hc api,hc: allow enabling only some healthcheck checks Jan 9, 2018
healer healer,provision: rotate slices with resources for healing Jan 30, 2018
iaas all: set maxPoolSize for mongodb connections in all tests Jan 31, 2018
install all: set maxPoolSize for mongodb connections in all tests Jan 31, 2018
integration integration: fix service-info call Apr 18, 2018
io all: switch from go-mgo/mgo.v2 to globalsign/mgo Jan 17, 2018
log log: fix build error on windows due to wrong func signature Sep 4, 2017
migration all: switch from go-mgo/mgo.v2 to globalsign/mgo Jan 17, 2018
misc all: team tokens now allow any role and context combinations Apr 16, 2018
net provision/docker: adds a test for https healthcheck Mar 15, 2018
permission all: team tokens now allow any role and context combinations Apr 16, 2018
provision provision/kubernetes: force update PVC on createVolume Apr 24, 2018
queue api,queue: removes shutdown.All() Aug 1, 2017
quota all: use year of file creation in copyright notice Jan 31, 2017
redis redis: fix test validating error message with Go 1.10 Jan 31, 2018
registry registry: set credentials when removing images Mar 21, 2018
repository servicemanager: move mocks to mock package Apr 9, 2018
router servicemanager: move mocks to mock package Apr 9, 2018
safe all: refactor runtime.GOMAXPROCS calls Sep 21, 2017
scopedconfig all: set maxPoolSize for mongodb connections in all tests Jan 31, 2018
service api,service: persist plan name update on storage Apr 24, 2018
servicemanager all: team tokens now allow any role and context combinations Apr 16, 2018
set all: use year of file creation in copyright notice Jan 31, 2017
storage all: team tokens now allow any role and context combinations Apr 16, 2018
tsurutest all: refactor runtime.GOMAXPROCS calls Sep 21, 2017
types auth,event: properly identify team tokens in events Apr 16, 2018
validation validation: adds method to validate names Jul 17, 2017
vendor vendor: update google/gops version, new features like trace and setgc Mar 27, 2018
volume all: move MockTeamService to types/auth Mar 5, 2018
.dockerignore .dockerignore: ensure files in etc dir are not ignored Mar 23, 2018
.gitignore Removing .DS_Store Oct 10, 2017
.travis.yml docs,travis: fix some entries in api spec and add travis job to valid… Apr 24, 2018
AUTHORS authors, contributors: add Diego Araujo Dec 17, 2015
CONTRIBUTING.md add a contributing guideline Jan 6, 2016
CONTRIBUTORS contributors: adds Rael Max 2nd email Apr 6, 2018
Dockerfile Dockerfile: updates alpine version Oct 11, 2016
Dockerfile.dev Dockerfile.dev: adds ca-certificates Mar 17, 2018
Gopkg.lock docs: base swagger v2 api spec (#1993) Apr 5, 2018
Gopkg.toml vendor: update google/gops version, new features like trace and setgc Mar 27, 2018
LICENSE license: update year in copyright note Mar 2, 2015
Makefile docs,travis: fix some entries in api spec and add travis job to valid… Apr 24, 2018
README.md Fix spelling/grammar in README.md Oct 25, 2017
build-compose.sh dev: change builder-compose.sh to make go build incremental Aug 8, 2017
docker-compose.yml registry: create package with RemoveAppImages method Sep 20, 2017
goreleaser.yml goreleaser: enables CGO Jun 22, 2017
requirements.txt docs: base swagger v2 api spec (#1993) Apr 5, 2018

README.md

tsuru

Build Status Go Report Card

What is tsuru?

tsuru is an extensible and open source Platform as a Service (PaaS) that makes application deployments faster and easier. With tsuru, you don’t need to think about servers at all. As an application developer, you can:

  • Write apps in the programming language of your choice
  • Back apps with add-on resources such as SQL and NoSQL databases, including memcached, Redis, and many others
  • Manage apps using the tsuru command-line tool
  • Deploy apps using the Git version control system

Links:

Quick Start

With the purpose of testing tsuru and/or for development, you can use the installer to have tsuru up and running. The installer is an experimental feature.

From Binary

Getting tsuru-client

Download the latest release for your platform at: https://github.com/tsuru/tsuru-client/releases/

Example for release 1.1.1 and OS X.

$ curl -sSL https://github.com/tsuru/tsuru-client/releases/download/1.1.1/tsuru-1.1.1-darwin_amd64.tar.gz | tar xz

Call tsuru installer

$ tsuru install create

From Source

Getting tsuru-client

You need to have Go properly installed on your machine.

$ git clone github.com/tsuru/tsuru-client $GOPATH/src/github.com/tsuru/tsuru-client
$ cd $GOPATH/src/github.com/tsuru/tsuru-client
$ make install

Create an installer config

Create the tsuru installer config files with:

$ tsuru install config init

Replace the tsuru API image tag with the latest tag in install-compose.yml:

$ sed -i'' -e 's/api:v1/api:latest/g' install-compose.yml

Call tsuru installer

$ $GOPATH/bin/tsuru install create -c install-config.yml -e install-compose.yml

Testing

If everything's gone well you have the tsuru running in a VirtualBox VM. Call app-list to see tsuru working, this command needs to return one app called tsuru-dashboard.

$ tsuru app-list