Make a Debian/ubuntu package for envoy, with upstart scripts and all that
-
build yourself some envoy
make bin
-
make yourself a
.deb
packagemake package
-
verify it works
make test
-
(optional) deploy to your private Bintray repo
make release
- install the package (
dpkg -i
, add it to an apt repo etc) - create configuration file in
/etc/default/envoy
&&/path/to/envoy.config.json
(see./package-context/envoy.conf
) - start it:
sudo service envoy start
if you change configuration you can now do:
service envoy restart
(or stop
start
etc)
- you need Docker to build and package envoy, OSX and Linux are both supported as hosts
- you need Vagrant to verify if it works (upstart is broken in
ubuntu:14.04
image) - envoy and package is built in and for Ubuntu 14.04
- upstart is the process manager
Releasing to https://bintray.com
- Create an apt repo in Bintray
- Add envoy package (name must be envoy!)
- Set following env vars:
BINTRAY_USERNAME
- your Bintray usernameBINTRAY_API_KEY
- your Bintray api keyBINTRAY_ORG
- your Bintray org name or usernameBINTRAY_APT_REPO
- your Bintray APT repo name
- make sure it works
- add ulimit for upstart service definition
- make builds more customizable (Envoy sha/version)
- handle different distribution, different process manager etc
GPL