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

300 Коммитов

Автор SHA1 Сообщение Дата
Sugu Sougoumarane 101ea77987 proto: remove python builds
Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2020-03-23 11:34:19 -07: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
Yuvraj 1eb28aff24 Documentation removed
Signed-off-by: Yuvraj <yuvraj.yad001@gmail.com>
2020-02-28 19:45:04 +00:00
deepthi 8b8014059d resurrect unit_test target, change test target back to running integration tests
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-02-03 19:47:54 -08:00
Sugu Sougoumarane 6a71f2418a
Merge pull request #5770 from systay/rewriter
Visitor generator cleanup
2020-02-02 21:49:02 -08:00
deepthi 06330512fa remove reference to web/vtctld from Makefile
Signed-off-by: deepthi <deepthi@planetscale.com>
2020-01-30 17:24:04 -08:00
Andres Taylor e581793d46 Clean up Makefile and pre-commit check
Signed-off-by: Andres Taylor <andres@planetscale.com>
2020-01-27 11:16:37 +01:00
Andres Taylor 16300d647b Add commit hook to check the visitor is in sync with the ast
Signed-off-by: Andres Taylor <andres@planetscale.com>
2020-01-21 09:09:04 +01:00
Andres Taylor 216d49d48f Add the the rewriter
Signed-off-by: Andres Taylor <andres@planetscale.com>
2020-01-21 09:09:04 +01:00
Morgan Tocker 6781ff4ef0 Remove rebuilding embedded config from build
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2020-01-14 19:08:37 -07:00
Anthony Yeh 6b55d8456f
vitess/lite: Install config files at the new location. (#5707)
The expected location of config files has changed, but we were still
installing them in the old location. This also adds a symlink from the
old location to remain backwards-compatible.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2020-01-13 16:21:54 -08:00
Sugu Sougoumarane 63cbaae3a2
Merge pull request #5598 from planetscale/jacques_dottablenames
Fix for table names with dots in them.
2020-01-13 08:07:08 -08:00
Jacques Grove dd2e9af65f Merge branch 'master' into jacques_dottablenames 2020-01-13 07:04:23 -08:00
Morgan Tocker f7c1db03b8 Embed mycnf files and init_db
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2020-01-03 14:18:46 -07:00
Rohit Nayak 0882f189b3 Fixed various py tests by removing web_dir references. Removed test for the old vtctld webapp 2020-01-02 20:35:27 +01:00
Sugu Sougoumarane 9219450eac builds: fix protoc goimports issue
The protoc generated code was not matching the goimports standard.
I've added a goimports step after the build.
This caused another breakage because time.proto did not match its
package name of vttime. I've fixed that also.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-12-31 14:53:04 -08:00
Sugu Sougoumarane ad080b8ae7 build: temporary unbreak for make proto
Due to an import pathing restriction in protoc, we still need the
source tree to represent the import names in the packages.
This workaround makes the build work for those who have their
github branch checked out this way.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
2019-12-31 11:18:16 -08:00
Rohit Nayak a56301ce04 Merge remote-tracking branch 'upstream/master' into embed-vtctld-assets 2019-12-31 00:00:38 +01:00
Rohit Nayak 8d8bb83c89 Rice files generated as a manual make step. Added current rice file to git
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2019-12-20 21:06:44 +01:00
Rohit Nayak 9ce12481eb Per morgo review: .gitignore rice generated file, improved Makefile. Also removed web_dir(2) from docker/K8s yaml configs
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2019-12-20 11:52:24 +01:00
Jacques Grove f144e9b967 Merge branch 'master' into jacques_dottablenames
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
2019-12-19 18:42:51 -08:00
Jacques Grove 7b11b4a517 WIP fix for table names with dots in them.
- Crashed vttablet in the prometheus client code.
  - Replace dots with underscores in tablenames on the way in
  - Switch to prometheus non-panic functions.
  - Add Makefile option to build non-optimized (debug) binaries.

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
2019-12-19 13:26:58 -08:00
Anthony Yeh 7a49ea3447
Refactor vitess/lite Dockerfiles. (#5592)
Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-12-19 09:41:52 -08:00
Rohit Nayak 822caed32a Embed web_dir2 contents using go.rice
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
2019-12-19 14:01:24 +01:00
Morgan Tocker 65e2b22cf4 Fix 'make cleanall' and remove older make target
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-12-09 15:42:49 -07:00
Morgan Tocker 3ece1fc7d6 Disable tls13 for go 1.13 unit tests to pass
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-12-09 13:58:08 -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
Morgan Tocker a4c3231a09 Remove unused cruft
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-28 14:44:34 -07:00
Morgan Tocker e79b8451a9 Merge remote-tracking branch 'upstream/master' into cluster_for_test
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-11-07 12:15:34 -07:00
Arindam Nayak 5ac032e49b exclude cluster test from e2e_race
Signed-off-by: Arindam Nayak <arindam.nayak@outlook.com>
2019-10-30 14:59:21 +05:30
yuxiaobo 76947c4a38 add license in other files
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-10-27 21:24:54 +08:00
Deepthi Sigireddi ee9f1ce160
Merge pull request #5299 from systay/less-mvn-output
Less output from Maven
2019-10-15 08:04:32 -07:00
Andres Taylor 810a919a32 Less output from Maven
Signed-off-by: Andres Taylor <antaylor@squareup.com>
2019-10-15 03:21:50 -04:00
deepthi 2491da0f0f Split tests into unit and endtoend(e2e). Speed up backup test
Signed-off-by: deepthi <deepthi@planetscale.com>
2019-10-14 22:06:04 -07:00
chentanjun 3699dc3653 improve some spelling mistakes
Signed-off-by: chentanjun <2799194073@qq.com>
2019-09-27 21:59:04 +08:00
Jacques Grove 0c493d6bb2 Fix for #5214 by adding back bits of install_protoc-gen-go
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
2019-09-23 17:33:28 -07:00
Morgan Tocker df290b5d6d go mod branch
Signed-off-by: Morgan Tocker <tocker@gmail.com>
2019-08-16 09:18:43 -06:00
Alex Charis d0400ff19b Makefile: expose VT_EXTRA_BUILD_FLAGS for use of external build systems
Signed-off-by: Alex Charis <acharis@hubspot.com>
2019-07-25 17:45:21 -04:00
John Watson febb9e165d Standard unix directories
Signed-off-by: John Watson <johnw@planetscale.com>
2019-07-11 13:04:56 -07:00
John Watson f520243e90 Add action to create deb/rpm packages
Signed-off-by: John Watson <johnw@planetscale.com>
2019-06-26 16:02:37 -07:00
Mark Solters 9e982ea3af Fix Percona 8.0 docker build process
Signed-off-by: Mark Solters <msolters@gmail.com>
2019-04-25 16:17:35 -04:00
Mark Solters 1f0718d026 Fix docker build issues for MySQL 8
Signed-off-by: Mark Solters <msolters@gmail.com>
2019-04-25 16:15:57 -04:00
Dan Kozlowski 2268d5622b Overhaul the Dockerfiles
This commit overhauls the dockerfiles, specifically it

1. Converts the lite builds to use a multi-stage build to allow easier
automation
2. Adds in new versions of mysql and mariadb
3. Updates the dockerfiles to use the full gpg key hash to provent
collisions
4. Updates the make file with new targets

Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2019-03-05 10:29:23 -08:00
Daniel Kozlowski 07027d5539 Use correct indentation for Makefile
Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2018-10-19 17:08:48 -07:00
Dan Kozlowski d7a2920bbe Updating Dockerfiles to set User only on base containers
Right now the user is set in the bootstrap containers. This causes an error when building with CGO_ENABLED=0 This change removes the user being set in the base docker containers and moves it downstream to the
base and lite containers

Signed-off-by: Dan Kozlowski <koz@planetscale.com>
2018-10-19 16:45:17 -07:00
Anthony Yeh 42df62325e
travis: Disable remote-stats reporting.
Signed-off-by: Anthony Yeh <enisoc@google.com>
2018-09-19 12:18:09 -07:00
David Weitzman 3c64a22828 Upgrade golang protobuf to v1.1.0
Also, simplify the protoc call by removing some intermediate tools and steps involving the python grpcio-tools wrapper.
The motivation for changing the build was that I had trouble getting the old build to work. It might just have been me.
This approach is arguably simpler because it involves fewer tools, no temp files, and no calling "sed" on the output.

Signed-off-by: David Weitzman <dweitzman@pinterest.com>
2018-06-13 20:13:05 -07:00