Skip to content
Snippets Groups Projects
Commit 43b3545e authored by Spencer Brown's avatar Spencer Brown
Browse files

Run integration test against channelbot repo

parent cc7343c1
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,7 @@ installbinaries: ...@@ -48,6 +48,7 @@ installbinaries:
- chmod +x bin/server - chmod +x bin/server
- "curl -f -L -H \"PRIVATE-TOKEN: $PATKEY\" -o bin/client $CLIENT_URL" - "curl -f -L -H \"PRIVATE-TOKEN: $PATKEY\" -o bin/client $CLIENT_URL"
- chmod +x bin/client - chmod +x bin/client
- "curl -f -L -H \"PRIVATE-TOKEN: $PATKEY\" -o bin/channelbot $CHANNELBOT_URL"
- echo $PWD - echo $PWD
- find bin/ -type f -exec file {} \; - find bin/ -type f -exec file {} \;
artifacts: artifacts:
......
...@@ -90,7 +90,7 @@ runclients() { ...@@ -90,7 +90,7 @@ runclients() {
} }
# Start a channelbot server # Start a channelbot server
CHANNELCMD="../bin/client channelbot -v -i 31 --nick \"#General\" --numnodes 5 -s $LASTNODE -f blobchannel --noratchet" CHANNELCMD="../bin/channelbot -v -i 31 --nick \"#General\" --numnodes 5 -s $LASTNODE -f blobchannel --noratchet"
eval $CHANNELCMD >> $CHANNELOUT 2>&1 & eval $CHANNELCMD >> $CHANNELOUT 2>&1 &
PIDVAL=$! PIDVAL=$!
echo $PIDVAL >> results/serverpids echo $PIDVAL >> results/serverpids
......
build.sh 0 → 100755
#!/bin/bash
# This intended for manually running the integration tests on your own machine
# and assumes that you've cloned the Go repos to your GOPATH and updated them
# with Glide.
pushd $GOPATH/src/gitlab.com/privategrity/client
go build
popd
mv $GOPATH/src/gitlab.com/privategrity/client/client bin
pushd $GOPATH/src/gitlab.com/privategrity/server
go build
popd
mv $GOPATH/src/gitlab.com/privategrity/server/server bin
pushd $GOPATH/src/gitlab.com/privategrity/channelbot
go build
popd
mv $GOPATH/src/gitlab.com/privategrity/channelbot/channelbot bin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment