Skip to content

Commit baeac3f

Browse files
committed
Simplify vitess_config.yaml to minimum steps needed to run tests.
1 parent 36cfeba commit baeac3f

File tree

1 file changed

+7
-36
lines changed

1 file changed

+7
-36
lines changed

test/cluster/keytar/config/vitess_config.yaml

Lines changed: 7 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,15 @@
11
install:
22
dependencies:
3-
- automake
4-
- bison
5-
- bzip2
6-
- chromium
7-
- curl
8-
- g++
9-
- git
10-
- libgconf-2-4
11-
- libssl-dev
12-
- libtool
13-
- make
14-
- mercurial
15-
- openjdk-7-jdk
16-
- php-pear
17-
- php5-cli
18-
- php5-dev
19-
- pkg-config
20-
- python-crypto
21-
- python-dev
223
- python-mysqldb
23-
- ruby
24-
- ruby-dev
25-
- software-properties-common
26-
- virtualenv
27-
- unzip
28-
- xvfb
294
extra:
30-
- apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
31-
- add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.1/debian jessie main'
325
- apt-get update
33-
- apt-get install -y libmariadbclient-dev
346
- wget https://storage.googleapis.com/golang/go1.7.4.linux-amd64.tar.gz
357
- tar -C /usr/local -xzf go1.7.4.linux-amd64.tar.gz
368
- wget https://storage.googleapis.com/kubernetes-helm/helm-v2.1.3-linux-amd64.tar.gz
379
- tar -zxvf helm-v2.1.3-linux-amd64.tar.gz
3810
- pip install numpy
39-
- pip install mysql-python
40-
- debconf-set-selections <<< 'mariadb-server-10.1 mysql-server/root_password password root'
41-
- debconf-set-selections <<< 'mariadb-server-10.1 mysql-server/root_password_again password root'
42-
- apt-get install -y mariadb-server
43-
- mysqld &
11+
- pip install selenium
12+
- pip install --upgrade grpcio==1.0.4
4413
path:
4514
- /usr/local/go/bin
4615
- /app/linux-amd64/
@@ -58,10 +27,12 @@ config:
5827
cluster_type: gke
5928
application_type: k8s
6029
before_test:
61-
- ./bootstrap.sh
62-
- if [[ $? -gt 0 ]]; then ./bootstrap.sh; fi
63-
- source ./dev.env
30+
- export VTTOP=$(pwd)
31+
- export VTROOT="${VTROOT:-${VTTOP/\/src\/github.com\/youtube\/vitess/}}"
32+
- export GOPATH=$VTROOT
33+
- export PYTHONPATH=$VTTOP/py:$VTTOP/test:$VTTOP/test/cluster/sandbox:/usr/lib/python2.7/dist-packages:/env/lib/python2.7/site-packages
6434
- go get github.com/youtube/vitess/go/cmd/vtctlclient
35+
- export PATH=$GOPATH/bin:$PATH
6536
tests:
6637
- file: test/cluster/drain_test.py
6738
params:

0 commit comments

Comments
 (0)