Created
September 30, 2014 08:17
-
-
Save rjeczalik/d32ea4a68b500b965a8a to your computer and use it in GitHub Desktop.
Deploying cmd/pulsecli
This file contains hidden or 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
#!/usr/bin/env bash | |
GO_VER=1.3.1 | |
PULSE_VER=2.6.19 | |
PULSE_HOST=http://pulse | |
# Go | |
apt-get install -y curl git mercurial bison gcc make | |
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) | |
source /.gvm/scripts/gvm | |
gvm install go$GO_VER --binary | |
gvm use go$GO_VER | |
# environment | |
export GOBIN=/usr/local/bin | |
export PATH=$PATH:/usr/local/pulse-dev-$PULSE_VER/bin | |
# cmd/pulsecli | |
go get -u github.com/x-formation/pulsekit/cmd/pulsecli | |
wget -q $PULSE_HOST/packages/pulse-dev-$PULSE_VER.tar.gz -O - | tar xfz - -C /usr/local | |
echo > xd.diff | |
pulsecli --user pulse_test --pass pulse_test -p 'License Statistics - Accept' --patch xd.diff --stage 'Build - Selenium test' personal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment