Open source, extensible and Docker-based Platform as a Service (PaaS).
Clone or download
Permalink
Failed to load latest commit information.
action action: log pipeline error/panic with log.Errorf Nov 30, 2017
api all: release version 1.7.0-rc1 Nov 6, 2018
app app: ignore duplicated router entries Oct 25, 2018
auth all: fix goimports formatting with latests goimports Oct 16, 2018
autoscale all: enable shadowing lint check and fix shadow and formatting Oct 16, 2018
builder kubernetes: add rebuild option Oct 25, 2018
cmd cmd: avoid panic in confirm if no stdin is available Oct 18, 2018
config event,volume: extract common config code to a new config pkg Jul 14, 2017
db all: fix goimports formatting with latests goimports Oct 16, 2018
docs all: release version 1.7.0-rc1 Nov 6, 2018
errors coverage improvements on errors package Oct 21, 2018
etc dev: add docker ip alias as a router to compose Oct 11, 2018
event all: move permission types to types/permission Sep 12, 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
hack provision/kubernetes: use a per pool namespace approach (#2055) May 25, 2018
hc api,hc: allow enabling only some healthcheck checks Jan 9, 2018
healer all: move permission types to types/permission Sep 12, 2018
iaas all: fix goimports formatting with latests goimports Oct 16, 2018
install all: fix goimports formatting with latests goimports Oct 16, 2018
integration Fix typo Oct 31, 2018
io api,io: use context instead of deprecated closenotify Oct 16, 2018
log log: fix build error on windows due to wrong func signature Sep 4, 2017
migration migration: fix variable shadowing in test Nov 1, 2018
misc misc: add example rbac config for tsuru Nov 7, 2018
net all: fix warnings reported by new linter Aug 17, 2018
permission all: move permission types to types/permission Sep 12, 2018
provision provision/kubernetes: update existing services and add names to ports Nov 13, 2018
queue api,queue: removes shutdown.All() Aug 1, 2017
quota quota,storage: single mongodb quota storage implementation May 23, 2018
redis redis: fix test validating error message with Go 1.10 Jan 31, 2018
registry all: increase all dial timeouts to 15 seconds Aug 6, 2018
repository all: move permission types to types/permission Sep 12, 2018
router router/galeb*: add test to ensure we wait goroutines in add routes Oct 18, 2018
safe all: refactor runtime.GOMAXPROCS calls Sep 21, 2017
scopedconfig all: set maxPoolSize for mongodb connections in all tests Jan 31, 2018
service all: move permission types to types/permission Sep 12, 2018
servicemanager service,servicemanager: create mocks for service broker Aug 24, 2018
set all: use year of file creation in copyright notice Jan 31, 2017
storage all: fix goimports formatting with latests goimports Oct 16, 2018
tsurutest all: refactor runtime.GOMAXPROCS calls Sep 21, 2017
types app,platform: app locking platform version Sep 12, 2018
validation event/webhook: improve validation error msg Sep 11, 2018
vendor vendor: update cloudstack library to use forked version temporarily Aug 27, 2018
volume api,volume: remove name validation from volume update Sep 11, 2018
.dockerignore .dockerignore: ensure files in etc dir are not ignored Mar 23, 2018
.gitignore gitignore: adds vscode dir Aug 17, 2018
.golangci.yml golangci: re-enable megacheck and structcheck Nov 5, 2018
.travis.yml travis: bump go version for release Oct 16, 2018
AUTHORS authors, contributors: add Diego Araujo Dec 17, 2015
CONTRIBUTING.md add a contributing guideline Jan 6, 2016
CONTRIBUTORS Update CONTRIBUTORS Nov 5, 2018
Dockerfile Dockerfile: updates alpine version Oct 11, 2016
Dockerfile.build compose: adds local Dockerfile for build May 2, 2018
Dockerfile.dev Dockerfile.dev: adds ca-certificates Mar 17, 2018
Gopkg.lock vendor: remove forked version from xanzy/go-cloudstack Aug 27, 2018
Gopkg.toml vendor: remove forked version from xanzy/go-cloudstack Aug 27, 2018
LICENSE license: update year in copyright note Mar 2, 2015
Makefile all: enable shadowing lint check and fix shadow and formatting Oct 16, 2018
README.md readme formatting mod Oct 18, 2018
build-compose.sh build-compose.sh: get GOPATH with `go env` Nov 9, 2018
docker-compose.yml registry: create package with RemoveAppImages method Sep 20, 2017
goreleaser.yml goreleaser: enables CGO Jun 22, 2017
requirements.txt docs: Initial release notes for 1.6.0 and some new doc entries. May 23, 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