Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 6bbe77042b
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (15 sloc) 0.505 kB
#!/bin/bash
secret='beepboop'
tmpdir=/tmp/$(node -e '(Math.random()*Math.pow(2,32)).toString(16)')
echo $tmpdir
mkdir -p $tmpdir/hub
mkdir -p $tmpdir/drone0
mkdir -p $tmpdir/drone1
cd $tmpdir/hub
fleet hub --secret="$secret" --port=7000 >/dev/null &
echo hub listening on :7000
cd $tmpdir/drone0
fleet drone --secret="$secret" --hub=localhost:7000 >/dev/null &
cd $tmpdir/drone1
fleet drone --secret="$secret" --hub=localhost:7000 >/dev/null &
fleet monitor --secret="$secret" --hub=localhost:7000
Jump to Line
Something went wrong with that request. Please try again.