Граф коммитов

233 Коммитов

Автор SHA1 Сообщение Дата
Morgan Tocker f4a28ab2bd Merge remote-tracking branch 'upstream/master' into morgo-fix-docker-bootstrap
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2020-03-31 16:51:48 -06:00
Morgan Tocker 6ad07138c5 Fix Docker bootstrap
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2020-03-31 16:42:42 -06:00
Carson Anderson 4055b781a8 Change bootstrap.sh k3s error to a warning
Add a check with an exit to the k3s-up.sh script

Signed-off-by: Carson Anderson <ca@carsonoid.net>
2020-03-27 23:55:24 -06:00
Carson Anderson fcf1473273 Add Kubernetes topo implementation
Signed-off-by: Carson Anderson <ca@carsonoid.net>
2020-03-14 09:49:37 -06:00
Arindam Nayak 2bff32beee Removed python grpc client test
Signed-off-by: Arindam Nayak <arindam.nayak@outlook.com>
2020-03-06 13:05:27 +05:30
Arindam Nayak b7872e60c8 Added python grpc dep back as we need it for client_test
Signed-off-by: Arindam Nayak <arindam.nayak@outlook.com>
2020-03-05 12:42:52 +05:30
Arindam Nayak 9cfc70c0ce removed python deps from bootstrap
Signed-off-by: Arindam Nayak <arindam.nayak@outlook.com>
2020-03-05 12:16:58 +05:30
pradip parmar 8412804573 bootstrap.sh changed for install chromedriver.
Signed-off-by: pradip parmar <prince.soamedia@gmail.com>
2020-02-19 11:07:12 +05:30
Anthony Yeh a6fcbc80cb
bootstrap.sh: Clear PYTHONPATH for virtualenv in install_selenium. (#5678)
This fixes the following error for me:

```
installing Selenium latest
Fatal Python error: initsite: Failed to import the site module
Traceback (most recent call last):
  File "/home/enisoc/vt/src/vitess.io/vitess/dist/py-mock-1.0.1/lib/python2.7/site-packages/site.py", line 73, in <module>
    __boot()
  File "/home/enisoc/vt/src/vitess.io/vitess/dist/py-mock-1.0.1/lib/python2.7/site-packages/site.py", line 26, in __boot
    import imp  # Avoid import loop in Python 3
  File "/usr/lib/python3.7/imp.py", line 27, in <module>
    import tokenize
  File "/usr/lib/python3.7/tokenize.py", line 33, in <module>
    import re
  File "/usr/lib/python3.7/re.py", line 143, in <module>
    class RegexFlag(enum.IntFlag):
AttributeError: module 'enum' has no attribute 'IntFlag'
ERROR: Selenium build failed
```

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2020-01-09 21:04:51 -08:00
Morgan Tocker 855cc73708 Improve dependency checking for Go
Minor spelling/grammar improvements

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-12-10 09:00:33 -07:00
Morgan Tocker b25d149479 Merge VTTOP and VTROOT variables
Disable prepared_statement test
Add a check to examples to make sure etcd is not running

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-12-07 12:11:06 -07:00
Gary Edgar dc4ef6fd1d bootstrap.sh: remove amd64 hardcoding
Signed-off-by: Gary Edgar <gary@planetscale.com>
2019-12-03 08:32:16 -08:00
Gary Edgar f9c02d53b7 bootstrap.sh: add back etdctl symlink
Signed-off-by: Gary Edgar <gary@planetscale.com>
2019-12-03 08:19:07 -08:00
Morgan Tocker 51e75357fb Don't use arch in shell scripts
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-27 09:16:13 -07:00
Morgan Tocker 86e14991d7 Merge remote-tracking branch 'upstream/master' into morgo-etcd-as-prereq
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-11 17:26:47 -08:00
Morgan Tocker 767b936258
Merge pull request #5425 from jiameixie/chrome
Fix chromedriver dependency issue for aarch64.
2019-11-11 08:21:45 -07:00
Jiamei.Xie b78e844665 Fix chromedriver dependency issue for aarch64.
Make the booststrap.sh install correct chromedriver for aarch64

Change-Id: Iefa98ed7918725f00fb8db131cae12383c44c42e
Signed-off-by: Jiamei.Xie <Jiamei.Xie@arm.com>
2019-11-11 06:40:34 +00:00
Morgan Tocker 65728ca4ed
Merge pull request #5407 from planetscale/morgo-fix-git-check
Stop nagging about where go is installed
2019-11-05 15:06:01 -07:00
Morgan Tocker 3c9262f55d Stop nagging about where go is installed
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-05 13:15:27 -07:00
Morgan Tocker c58a778ec7 Merge remote-tracking branch 'upstream/master' into morgo-etcd-as-prereq
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-05 09:49:37 -07:00
Ben Muschol 5f5e33b53a Fix usage of arch to work on OSX
On OS X, the arch command returns "i386". However, "uname -m"
returns x86_64, which is the value the rest of the bootstrap.sh script
expects. This commit writes a function "get_arch" to wrap the "arch"
command, which calls uname on OS X and arch on Linux

Signed-off-by: Ben Muschol <ben.muschol@airbnb.com>
2019-10-31 11:26:27 -07:00
Morgan Tocker 6e55afac55 Merge remote-tracking branch 'upstream/master' into morgo-etcd-as-prereq
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-10-31 08:16:27 -06:00
Morgan Tocker 205ad1bdce Make etcd a preinstall dependency
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-10-27 15:00:39 -06:00
yuxiaobo 76947c4a38 add license in other files
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-10-27 21:24:54 +08:00
Sugu Sougoumarane 3ef22e778d
Merge pull request #5327 from jiameixie/protoc
Fix protoc dependency issue for arm.
2019-10-23 21:52:37 -07:00
Sugu Sougoumarane ba3b6cb524
Merge pull request #5328 from jiameixie/etcd
Fix etcd dependency issue for arm.
2019-10-23 21:52:05 -07:00
Jiamei.Xie 86125be13c Fix consul dependency issue for arm.
Make the booststrap.sh download the correct consul for aarch64

Change-Id: I7c96f7596f6c6a7496e34715d477185d55db5324
Signed-off-by: Jiamei.Xie <Jiamei.Xie@arm.com>
2019-10-21 03:10:59 +00:00
Jiamei.Xie f285a5f88c Fix etcd dependency issue for arm.
Make the booststrap.sh download the correct etcd for aarch64

Change-Id: I5b8df170fb978125ca7ed98171216d90c609920a
Signed-off-by: Jiamei.Xie <Jiamei.Xie@arm.com>
2019-10-21 02:58:39 +00:00
Jiamei.Xie c04045b247 Fix protoc dependency issue for arm.
Make the booststrap.sh download the correct protoc for aarch64

Change-Id: Idc822e82ee45b266955fa8d26de61d3178e68671
Signed-off-by: Jiamei.Xie <Jiamei.Xie@arm.com>
2019-10-21 02:35:23 +00:00
Morgan Tocker 4d8a6a90c9 Change to use tools/tools.go for go get dependencies
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-08-30 10:44:56 -06:00
Morgan Tocker 204452276a Merge remote-tracking branch 'upstream/master' into morgo-tmp
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-08-17 13:19:57 -06:00
Morgan Tocker 7097c09234 Add bootstrap
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-08-16 15:36:00 -06:00
Morgan Tocker df290b5d6d go mod branch
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-08-16 09:18:43 -06:00
Morgan Tocker 1a3c80f033 fix filename in message!
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-08-13 13:53:25 -06:00
Morgan Tocker 5b76ff2eed Move git hooks to start of bootstrap.
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-08-13 13:46:21 -06:00
Morgan Tocker acd91e8c4f Add BUILD_JAVA flag too
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-08-12 16:07:09 -06:00
Morgan Tocker 132fd5dec5 Gate Python dependencies
The plan is to remove python dependencies, so this makes the first step
of not requiring it for bootstrap.

The goal is that a user can do this:

BUILD_PYTHON=0 ./bootstrap.sh
source dev.env
make
./tools/unit_test_runner.sh

This only runs unit tests, but in future Go-based end-to-end testing is
planned.

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-08-12 15:53:00 -06:00
Saif Alharthi 58a810f823 Fixed tests and bug in ComPrepare
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
2019-08-08 22:05:45 -07:00
Saif Alharthi c55be518ec Added dependency to bootstrap.sh and edited python test
Signed-off-by: Saif Alharthi <saif@saifalharthi.me>
2019-07-23 15:50:46 -07:00
Morgan Tocker 57a911fcd5 This reverts the change to BUILD_TESTS
The docker image failed to include selenium, breaking tests.

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-07-16 17:52:53 -07:00
Morgan Tocker d85a5d76f6 Change BUILD_TESTS default
Disable tests by default.

Fixes #4984

Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-07-09 16:18:36 -07:00
Anthony Yeh 479fcbacf9 bootstrap.sh: Remove unused unused command.
The deprecated `unused` command has been removed from the source
repository, so this now fails. We no longer use `unused` so we can just
drop the line that tries to install it.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-05-30 14:51:50 -07:00
Deepthi Sigireddi 02dfd8387b
Merge pull request #4685 from gak/bootstrap-macos-binaries
Fix bug with macOS binaries for etcd and consul.
2019-04-12 11:38:50 -07:00
Deepthi Sigireddi f3bfe8b414
Merge pull request #4695 from planetscale/ds-xtrabackup
xtrabackup implementation with testcases
2019-04-11 10:27:42 -07:00
deepthi a3b7b04f08 MySQL 8.0 should be started with mysqlx=0
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-04-08 15:19:25 -07:00
deepthi c1fc395d2b add xtrabackup to docker containers
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-04-08 10:17:00 -07:00
Dan Kozlowski fb6816f3d2 Changing paths in bootstrap file
Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2019-04-02 11:54:37 -07:00
Guido Iaquinti eca098cd9a
Bump default Zookeper version to 3.4.14
Signed-off-by: Guido Iaquinti <giaquinti@slack-corp.com>
2019-04-02 16:52:40 +02:00
Sugu Sougoumarane 7c23d0873c
Merge pull request #4734 from adsr/patch-zk-version
Make zookeeper version adjustable (ZK_VERSION env)
2019-03-30 19:36:51 -07:00
Dan Kozlowski 02a7f1365d Updating bootstrap containers for automated builds
Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2019-03-29 16:07:28 -07:00