• Stars
    star
    489
  • Rank 89,990 (Top 2 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 11 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Faster deploy tool using tarballs and serf

Mamiya - Faster deploy tool using tarballs and serf

Build Status

What's mamiya?

Mamiya allows you to deploy without ssh -- using tarballs, some storages (S3, etc), and Serf. Build application package on CI or somewhere, then distribute earlier (before you say "Deploy!"). You can switch to a new application quickly, when you're saying "deploy."

Mamiya uses similar directory structure with Capistrano 'deploy_to' -- you can try this easy.

Quick Start

See ./docs/quick_start.md.

Example configuration

example directory contains configuration files that work out-of-the-box. Try Mamiya in your local machine: foreman start

Problems in existing deploy tool

Existing major deploy tools (capistrano, mina, ...) use SSH to operate servers. But connecting to lot of servers via SSH makes deployment slow.

Mamiya solves such problem by using Serf and tarball on one storage (Amazon S3).

Also, I'm planning to allow to distribute files before the deploy command. I guess this can skip or shorten file transferring phase in deploy.

In the production

  • Cookpad was using Mamiya in production of cookpad.com. (until it migrates to full-containerized environment)

Misc.

Upgrade Notes

See docs/upgrading.md.

Contributing

  1. Fork it ( http://github.com/sorah/mamiya/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

More Repositories

1

envchain

Environment variables meet macOS Keychain and gnome-keyring <3
C
1,116
star
2

subsystemctl

Utility to run systemd in WSL2 with a Linux namespace
Rust
323
star
3

acmesmith

An effective ACME v2 client: Manage keys on the cloud (e.g. S3)
Ruby
120
star
4

clarion

WebAuthn (U2F) helper for CLI operations (e.g. SSH Log in)
Ruby
79
star
5

itamae-secrets

Encrypted Data Bag for Itamae
Ruby
74
star
6

nginx_omniauth_adapter

Use omniauth for nginx auth_request
Ruby
68
star
7

niconico

wrapper of Mechanize, optimized for nicovideo.
Ruby
57
star
8

revision_plate

Rack application and middleware that serves endpoint returns application's REVISION.
Ruby
45
star
9

hocho

Hocho: Run Itamae easily with host inventory
Ruby
36
star
10

villein

Control serf agents from Ruby
Ruby
32
star
11

unite-ghq

Vim Script
31
star
12

days

Simple blog system built up with Sinatra
Ruby
30
star
13

config

config
Ruby
28
star
14

codily

Codificate your Fastly configuration in Ruby DSL
Ruby
27
star
15

infra_operator

what replaces specinfra (it's a goal...)
Ruby
26
star
16

etcvault

proxy for etcd, adding transparent encryption
Go
23
star
17

gentoo-build

shell scripts that builds systemd based gentoo box for x86_64 platform
Shell
23
star
18

himari

OIDC IdP for Small Team through Omniauth
Ruby
20
star
19

etcenv

Dump etcd keys into dotenv file or docker env file
Ruby
18
star
20

himeko

AWS IAM access key self service & management console federated login based on IAM user
Ruby
16
star
21

ec2nm

A DNS server serves your AWS EC2 instances' IP addresses by Name tag
Go
14
star
22

s3_proxy

simple rack app, proxies to Amazon S3
Ruby
11
star
23

needroleshere

Yet Another AWS IAM Roles Anywhere helper
Rust
11
star
24

jockey

alternative for https://github.com/play/play
JavaScript
10
star
25

corpshort

internal shortlink service
Ruby
10
star
26

hubot-zabbix

CoffeeScript
10
star
27

udon_tairiku

Clone of ra-men tairiku, designed for iPhone. UNMAINTAINED.
Objective-C
9
star
28

presen.vim

presentation software for Vim. Use markdown for presentation-file.
Vim Script
9
star
29

packer-builder-amazon-scratch

Go
9
star
30

skype-irc-bridge

Python
8
star
31

lambda-dns-axfr

Lambda function to perform DNS zone transfer to Route 53 Hosted Zone
Python
7
star
32

akane

your timeline logger.
Ruby
7
star
33

etcweb

Ruby
7
star
34

tagtodo

touch NFC tag to launch url. for Android device comes with NFC.
Scala
7
star
35

sorah-overlay

sorah's gentoo overlay
Shell
7
star
36

arch.sorah.jp

Arch Linux PKGBUILDs
Shell
6
star
37

tinatra

Ruby powered DSL, which designed for making twitter bots.
Ruby
6
star
38

lingr_for_android.js

Lingr for Android
JavaScript
6
star
39

cdd-vim

Very useful zsh script `cdd` for vim. zsh version: http://svn.coderepos.org/share/lang/zsh/cdd/cdd
6
star
40

binpkgbot

Robot to build gentoo binpkg cleanly, continuously, automatically, with a support of flag variant.
Ruby
6
star
41

listenize

可聴化 (kachôka, make listenable to <something>)
JavaScript
5
star
42

jenkinsfile-slack

Groovy
5
star
43

termtter-doc

Termtter document complete project
5
star
44

sorah-rec-utils

Collection of junk scripts for TV recorder.
Ruby
4
star
45

sandbox

Ruby
4
star
46

puma-jungle

Yet Another puma-jungle init.d script
Shell
4
star
47

prof

Profile of sorah.
4
star
48

snmp2mkr

Let monitor your SNMP devices with mackerel.io
Ruby
4
star
49

heroku-netbox

Python
4
star
50

sorah.jp

HTML
4
star
51

rubykaigi2017-nw

Ruby
4
star
52

apigatewayv2_rack

Rack app on AWS Lambda via API Gateway V2, function URL, and ALB
Ruby
4
star
53

ruboty-fastly

Ruby
3
star
54

vault2kube

manage Vault lease on Kubernetes secrets and keep it fresh
Rust
3
star
55

ruboty-irc

Ruby
3
star
56

aws4_signer

Simple signer module implements AWS4 signature
Ruby
3
star
57

ruby-old

This is not official mirror.
Ruby
3
star
58

s3-collect

File uploader direct to S3 from browser for collecting large files | Form URL with lifetime | built on CDK + API Gateway V2 & with aws-sdk-js and React
TypeScript
3
star
59

unite-bundler

Vim Script
3
star
60

sorah-topcoder

sora_h's answer code for topcoder
C++
3
star
61

infra-public

Public portion of sorah/infra
Ruby
3
star
62

h2

Ruby
3
star
63

coliseum

Ruby
3
star
64

cnw

Common codificated files for conference Wi-Fi networks
Ruby
3
star
65

movapic_uploader

Easy to upload picture to http://movapic.com/ in Android.
Java
3
star
66

bmwifiInfo

Show battery status, signal level, carrer name, status and connectivity type of B-mobile wifi (MF30, Japan Communications Inc.)
Objective-C
3
star
67

str_dn_2030

Control your STR-DN2030.
Ruby
3
star
68

nicoloid

Download video from nicovideo and convert to mp3
Ruby
3
star
69

onsg7

Online.sg #7 "Sinatra"
Ruby
3
star
70

ruby-tapper

Easy to switch rubies
2
star
71

bmwifiNotificatorForiOS

bmwifiNotificatorForiOS / Check status of b-mobile wifi (bm-mf30) for iOS
Objective-C
2
star
72

ruboty-imascg

Ruby
2
star
73

eorzea_weather

Ruby
2
star
74

xlat

Ruby
2
star
75

slampter

Ruby
2
star
76

ruboty-monday_is_coming

Ruby
2
star
77

yakiudon

Simple Diary Tool written in Sinatra+Ruby
Ruby
2
star
78

akane-bigquery

BigQuery storage plugin for akane.gem
Ruby
2
star
79

aandg_rec

Ruby
2
star
80

bmwifiNotificator

Bm-wifi notificator for osx/ Check status of b-mobile wifi (bm-mf30)
Objective-C
2
star
81

wifidiag

Quick Wi-Fi diagnostics page for clients, to support network ops
Ruby
2
star
82

logmetro

Go
2
star
83

mayu

locate employees in an office by Wi-Fi MAC address and WLC association data
Ruby
2
star
84

itamae-plugin-resource-portage

Itamae/MItamae resources for Portage (Gentoo Linux)
Ruby
2
star
85

sorah-codeforces

sora_h's answers for codeforces.com
Ruby
2
star
86

yubisashi

English <=> Japanese card application on web, idea from https://github.com/noplans/rk2011yubisashi
Ruby
2
star
87

easy-doc

Write a document easily
Ruby
2
star
88

one_line_bbs

One line bbs
Ruby
2
star
89

sorah.github.com

sorah.github.com
1
star
90

yakiudon-vim

post diary into your yakiudon diary system from __Vim__.
Vim Script
1
star
91

hocho-ec2

hocho host inventory provider for Amazon EC2
Ruby
1
star
92

trw

"Have a nice day" in English
1
star
93

whocares

Library for whocares chat
Ruby
1
star
94

spec_marker

RSpec formatter useful for profiling
Ruby
1
star
95

docker-rbenv

Shell
1
star
96

mobicoder

Convert source codes to single .mobi file for reading on kindle
Ruby
1
star
97

haruharu

なぞのゆれりんぐstreaming受信機
Ruby
1
star
98

mygc

MyGC - own your risk.
C
1
star
99

ako

Kakeibo, for me.
Ruby
1
star
100

anti_offensive_string

Respond error for requests include some offensive string, that may crash browsers
Ruby
1
star