mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 18:20:27 +00:00
Merge pull request #338 from weaveworks/334-fix-integration-tests
Fixing the build
This commit is contained in:
@@ -12,6 +12,8 @@ machine:
|
||||
PATH: $PATH:$HOME/.local/bin
|
||||
CLOUDSDK_CORE_DISABLE_PROMPTS: 1
|
||||
SCOPE_UI_BUILD: $HOME/docker/scope_ui_build.tar
|
||||
WEAVE_REPO: github.com/weaveworks/weave
|
||||
WEAVE_ROOT: "${GOPATH%%:*}/src/github.com/weaveworks/weave"
|
||||
|
||||
dependencies:
|
||||
cache_directories:
|
||||
@@ -22,6 +24,10 @@ dependencies:
|
||||
- curl https://sdk.cloud.google.com | bash
|
||||
- test -z "$SECRET_PASSWORD" || bin/setup-circleci-secrets "$SECRET_PASSWORD"
|
||||
post:
|
||||
- git clone --depth 1 -b gce-parameterize https://$WEAVE_REPO.git "$WEAVE_ROOT"
|
||||
- go get $WEAVE_REPO/...
|
||||
- cd $WEAVE_ROOT; make testing/runner/runner
|
||||
- sudo apt-get install jq
|
||||
- go version
|
||||
- go clean -i net
|
||||
- go install -tags netgo std
|
||||
|
||||
0
integration/200_clustering_test.sh → integration/200_clustering_2_test.sh
Normal file → Executable file
0
integration/200_clustering_test.sh → integration/200_clustering_2_test.sh
Normal file → Executable file
@@ -14,6 +14,9 @@ if [ ! -d "$WEAVE_ROOT" ] ; then
|
||||
git clone --depth 1 -b master https://$WEAVE_REPO.git "$WEAVE_ROOT"
|
||||
go get $WEAVE_REPO/...
|
||||
fi
|
||||
if [ ! -x "$WEAVE_ROOT/testing/runner/runner" ] ; then
|
||||
(cd "$WEAVE_ROOT" && make testing/runner/runner)
|
||||
fi
|
||||
|
||||
. "$WEAVE_ROOT/test/config.sh"
|
||||
|
||||
|
||||
@@ -5,4 +5,6 @@ set -e
|
||||
. ./config.sh
|
||||
|
||||
export PROJECT=scope-integration-tests
|
||||
export TEMPLATE_NAME="test-template-2"
|
||||
export NUM_HOSTS=2
|
||||
. "$WEAVE_ROOT/test/gce.sh" "$@"
|
||||
|
||||
Reference in New Issue
Block a user