diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-04-18 23:03:36 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-04-18 23:28:00 +0900 |
commit | c2e7632397c2e49fdfb0f2b8e42d0321bf00c38d (patch) | |
tree | 61f9ab1f6fb2c6ea01d09089d958fe020cf57fdc /test/scenario_test/ci-scripts | |
parent | c8cb20e75bb830f1a9fe1037356a4007faaba04d (diff) |
Revert "test/lib/gobgp: Use local GoBGP executables in contaier"
This reverts commit 47ab84e34caeb7c89b26271bf84959011bc8ed19.
using the same binaries on a host and inside a container isn't always
feasible (by default, not statically linked binary).
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/ci-scripts')
-rw-r--r-- | test/scenario_test/ci-scripts/jenkins-build-script.sh | 7 | ||||
-rwxr-xr-x | test/scenario_test/ci-scripts/travis-build-script.sh | 2 | ||||
-rwxr-xr-x | test/scenario_test/ci-scripts/travis-install-script.sh | 5 |
3 files changed, 7 insertions, 7 deletions
diff --git a/test/scenario_test/ci-scripts/jenkins-build-script.sh b/test/scenario_test/ci-scripts/jenkins-build-script.sh index 64b14c63..6baf2193 100644 --- a/test/scenario_test/ci-scripts/jenkins-build-script.sh +++ b/test/scenario_test/ci-scripts/jenkins-build-script.sh @@ -33,10 +33,11 @@ do done sudo docker rmi $GOBGP_IMAGE +sudo fab -f $GOBGP/test/lib/base.py make_gobgp_ctn:tag=$GOBGP_IMAGE +[ "$?" != 0 ] && exit "$?" -cd $GOBGP -$GOROOT/bin/go get -v ./gobgp/ -$GOROOT/bin/go get -v ./gobgpd/ +cd $GOBGP/gobgpd +$GOROOT/bin/go get -v cd $GOBGP/test/scenario_test ./run_all_tests.sh diff --git a/test/scenario_test/ci-scripts/travis-build-script.sh b/test/scenario_test/ci-scripts/travis-build-script.sh index 1ed4e05e..4fd654db 100755 --- a/test/scenario_test/ci-scripts/travis-build-script.sh +++ b/test/scenario_test/ci-scripts/travis-build-script.sh @@ -2,4 +2,4 @@ echo "travis-build-script.sh" -PYTHONPATH=test python test/scenario_test/$TEST --gobgp-image $DOCKER_IMAGE -x -s +sudo PYTHONPATH=test python test/scenario_test/$TEST --gobgp-image $DOCKER_IMAGE -x -s diff --git a/test/scenario_test/ci-scripts/travis-install-script.sh b/test/scenario_test/ci-scripts/travis-install-script.sh index 72bdc79d..5270ac21 100755 --- a/test/scenario_test/ci-scripts/travis-install-script.sh +++ b/test/scenario_test/ci-scripts/travis-install-script.sh @@ -2,7 +2,6 @@ echo "travis-install-script.sh" -pip --quiet install -r test/pip-requires.txt +sudo -H pip --quiet install -r test/pip-requires.txt -go get -v ./gobgp/ -go get -v ./gobgpd/ +sudo fab -f test/lib/base.py make_gobgp_ctn:tag=$DOCKER_IMAGE,from_image=$FROM_IMAGE |