Created
September 18, 2014 02:13
-
-
Save sivel/2f0a00901e2d973b9123 to your computer and use it in GitHub Desktop.
Drone on RHEL6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm | |
sudo yum install -y golang git mercurial make bzr | |
export GOPATH=~/Go | |
export PATH=$PATH:$GOPATH/bin | |
mkdir $GOPATH | |
go get github.com/drone/drone | |
cd $GOPATH/src/github.com/drone/drone | |
make deps | |
make vendor | |
make clean | |
make embed | |
make build-dist | |
sudo mkdir -p /var/cache/drone /var/lib/drone | |
sudo cp bin/{drone,droned} /usr/local/bin/ | |
sudo cp deb/drone/etc/default/drone /etc/default | |
sudo cp deb/drone/etc/init/drone.conf /etc/init/ | |
sudo sed -i '/console/d' /etc/init/drone.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment