Michael Berlin
22fcc12703
docker: lite image: Copy only the "app" directory for vtctld2.
...
This reduces the size of the lite image from 281 MB to 215 MB.
2016-11-02 15:42:44 -07:00
Michael Berlin
734ad80df5
docker/lite: Remove unnecessary build and test dependencies from the image.
2016-11-02 15:42:44 -07:00
Pavel Ivanov
60882ece1f
Allow to use app2 and workflows in the k8s and local examples. ( #2194 )
...
- Add vtctld2 app files into vitess/lite docker image used in the k8s example.
- Add flags to vtctld to use those files to render app2 and allow to use workflows.
- Add the same flags in the local example.
2016-10-30 14:02:21 -07:00
Robert Navarro
31ccc0341c
Update percona 5.6 key ( #2181 )
...
* Update percona signing key as per: https://www.percona.com/blog/2016/10/13/new-signing-key-for-percona-debian-and-ubuntu-packages/
* Update signing keys for percona 5.6
2016-10-24 11:28:19 -07:00
Robert Navarro
34ae9afe6a
Update percona signing key as per: https://www.percona.com/blog/2016/10/13/new-signing-key-for-percona-debian-and-ubuntu-packages/ ( #2180 )
2016-10-24 11:10:44 -07:00
Robert Navarro
28926f5f46
Add the --no-cache flag to the vitess lite docker build (copied from the bootstrap build.sh) ( #2116 )
2016-10-07 22:39:48 +02:00
Robert Navarro
3ade15b5bf
Include Percona 5.7 Docker image in docs and test runner. ( #2113 )
2016-10-05 15:01:52 -07:00
Michael Berlin
9eb1828be2
Bump minimum Go version from 1.5 to 1.7.
...
bootstrap.sh is currently failing in our Travis CI tests because "golint" dropped support for Go 1.5.
While we're at it, let's upgrade to 1.7 instead of 1.6. (After all, 1.7 also comes with a significant speed improvement.)
2016-10-03 13:57:34 -07:00
Anthony Yeh
313d926f89
Update to gRPC 1.0.0 and protobuf 3.0.0. ( #2012 )
2016-09-23 11:41:17 -07:00
Robert Navarro
73f5ac197c
Initial commit for percona 5.7 docker image
2016-08-12 08:39:33 -07:00
Mohammad Hossein Heydari
97e571892d
replaced dattoo/protobuf-php to stanley-cheung/protobuf-php
2016-07-18 20:37:13 +04:30
Alain Jobart
a130b4b537
Remove all C deps on zk lib.
2016-07-14 13:03:24 -07:00
Anthony Yeh
78994fbfec
docker: Update Dockerfile for webdriver.
2016-07-11 14:00:25 -07:00
Anthony Yeh
7c93b42f52
docker: Update to Maven 3.3.9
...
The previous version is no longer hosted by the mirror.
2016-07-11 14:00:25 -07:00
Anthony Yeh
60d0b5a0cf
docker: Run govendor sync in common bootstrap image.
...
This way, when 'sync' runs in the flavor images, it will see the
checksums already match and finish much faster.
2016-06-15 12:56:56 -07:00
Anthony Yeh
a2342fb2fa
Dockerize Orchestrator and create Kubernetes config
...
For now, it is a single instance. Later, I plan to connect multiple
nodes, each containing its own Orchestrator+Galera.
2016-06-06 14:16:11 -07:00
Anthony Yeh
60c3a1a042
Clean up memcached dependencies.
...
These are no longer needed after #1742 .
2016-05-31 12:22:27 -07:00
Michael Berlin
a2e10946f9
Makefile: Add targets docker_bootstrap_test and docker_bootstrap_push.
...
Running a single target is simpler than a series of commands.
- unified README.md to prefix all commands with: vitess$
2016-05-25 23:04:02 -07:00
Michael Berlin
164f1f4ad4
docker: Update list of flavors in bootstrap build instructions.
2016-05-25 17:38:58 -07:00
Michael Berlin
51006207ba
docker: Always set USER environment variable to "vitess".
...
Fixes problems when the wrapper script docker/test/run.sh is not used.
Reported here: https://github.com/youtube/vitess/issues/1721
2016-05-25 17:38:58 -07:00
Anthony Yeh
4170be37ce
Add Docker images for MySQL 5.7.
2016-05-20 17:59:37 -07:00
Anthony Yeh
f8ba1f84a5
Document how to build custom Docker images for Kubernetes.
2016-05-20 15:27:43 -07:00
Anthony Yeh
26f91be6be
php: php_proto build rule uses existing bootstrap image.
2016-05-05 13:16:18 -07:00
Alain Jobart
375cf907f7
Adding docker image to generate PHP proto files.
2016-05-05 07:25:28 -07:00
Anthony Yeh
18bb48fb44
docker/test/run.sh: Also preserve new Go vendor directory.
2016-04-15 13:41:29 -07:00
Anthony Yeh
587f3a9c3f
Use govendor instead of godep.
...
Like godep, govendor helps manage the native Go vendor dir. But it also
supports a mode where you don't have to copy all the files into your own
repo. Instead, you run `govendor sync` after updating the `vendor.json`
file, and it reconciles everything by downloading as needed.
2016-04-14 19:15:41 -07:00
Anthony Yeh
f6c88e3441
Use pool of servers for downloading MySQL packaging key.
2016-04-06 14:43:17 -07:00
Anthony Yeh
8670f392ca
Use native Go vendor mode for godeps.
...
This gets rid of the warning about disabling native vendor mode
due to legacy Godeps/_workspace directory being present.
It also means we require Go 1.5+ since that's when native vendor
mode was first introduced.
2016-04-06 14:43:17 -07:00
Anthony Yeh
0df22ba0b0
Make Docker image to preview/publish site.
...
Add `--docker` flag to run preview/publish without needing to set up
Ruby or Jekyll:
``` sh
vitess$ ./preview-site.sh --docker
vitess$ ./publish-site.sh --docker
```
2016-04-05 16:45:21 -07:00
Alain Jobart
10eef51c66
Removing python bson library.
2016-03-16 09:19:27 -07:00
Anthony Yeh
a87a423e1e
Add Docker images for Percona Server.
2016-03-04 15:48:34 -08:00
Michael Berlin
c9953498e4
docker/bootstrap: Replace ENV MAKEFLAGS with setting it per command.
...
The ENV version was not working anyway since Docker did single-quote: '-j$(nproc)'
Because of that make saw this string literal and converted it into an (unknown) absurd high number. On my 12 core machine it executed way more jobs in parallel than 12. This change will also fix this.
2016-03-03 11:39:45 -08:00
Michael Berlin
3bbab08284
docker/bootstrap: Update the Maven mirror to a more reliable one.
2016-03-03 11:34:54 -08:00
Michael Berlin
21b887583e
docker: Enable parallel make for bootstrap image.
...
With this change, the build time on my desktop is reduced from ~720s to ~410s.
2016-03-02 23:09:42 -08:00
Anthony Yeh
3f2d479a9a
docker/bootstrap: Build gRPC PHP plugin from gRPC sources.
...
The pecl build isn't always up-to-date with the gRPC version we use.
2016-02-27 02:31:07 -08:00
Anthony Yeh
3c3c713c18
Install newer pip in docker/bootstrap.
2016-02-27 02:31:07 -08:00
Alain Jobart
0c425e0b5c
Fixing docker and travis builds, hopefully.
2016-01-22 13:29:46 -08:00
Rasta
df41b52b97
composer.json moved to project root -> dependencies update
2016-01-13 22:36:35 +01:00
Anthony Yeh
993663574f
vtctld: Clean out old UI.
2015-11-12 22:52:07 -08:00
Anthony Yeh
54f661fa45
docker: Work around bug in Docker 1.9
...
The wildcard expansion was failing due to a bug.
2015-11-10 11:41:30 -08:00
Anthony Yeh
b89d988e30
Make MySQL users and privileges configurable.
...
This gets rid of the opaque mysql-db-dir.tbz archive, replacing it with
a .sql file. The .sql file approach makes it clear what state the DB is
initialized with, and also makes it easy to customize.
2015-11-10 11:41:24 -08:00
Michael Berlin
46d60513ee
Merge pull request #1283 from michael-berlin/dockerhub_bootstrap_update_doc
...
docker: Document how to update the bootstrap images.
2015-11-04 19:07:12 -08:00
Anthony Yeh
d40e396f05
test.go: Preserve php/vendor dir from bootstrap image.
...
Otherwise, the php test would only work if you had also done the
"composer install" step in your local directory, outside Docker.
2015-11-04 18:48:34 -08:00
Michael Berlin
26bef158ff
docker: Document how to update the bootstrap images.
2015-11-04 18:39:38 -08:00
Anthony Yeh
aa1da5cd71
Upgrade to ZooKeeper 3.4.6.
...
Fixes #1204
2015-11-02 20:45:43 -08:00
Anthony Yeh
8c86eddd33
docker: Include only necessary files in bootstrap image.
...
The images were getting bloated by vendored files, etc.
2015-11-02 17:13:43 -08:00
Anthony Yeh
3dd746af77
docker: Remove unused mongo PHP extension.
2015-11-02 17:11:34 -08:00
Anthony Yeh
c24dc79977
docker: Switch default flavor to mysql56.
2015-11-02 17:11:28 -08:00
Anthony Yeh
d001bce519
docker: Add getsrv utility in etcd image.
2015-11-02 11:51:25 -08:00
Anthony Yeh
2faece09cf
docker: Add Makefile rule for building etcd-lite image.
2015-10-15 15:50:31 -07:00