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

7 Коммитов

Автор SHA1 Сообщение Дата
Deepthi Sigireddi f37b6abea4
add vtadmin docker image (#10543) (#10580)
* add-vtadmin-docker-image

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* env as function, update tests and code

Signed-off-by: Andrew Mason <andrew@planetscale.com>
Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* feat: fix remaining env usages to be function calls

Signed-off-by: Manan Gupta <manan@planetscale.com>
Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* add vtadmin build result in the bootstrap image

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* fix vtadmin web cleaning

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* add vtadmin docker image entrypoint

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* add the possibility to custom vtadmin web port in Docker image

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* fix vtadmin docker port

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* fix vtadmin entrypoint

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* set default vtadmin docker user as vitess

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* do not build vtadmin frontend in the bootstrap image

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* build vtadmin frontend only in vtadmin docker image

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* vtadmin replace sed and custom entrypoint with config.js file

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* remove vitess web files in lite docker image

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* move vtadmin config into a specific directory

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

* restore vtadmin web file in mysql57 lite docker image

Signed-off-by: Léopold Jacquot <leopold.jacquot@infomaniak.com>

Co-authored-by: Andrew Mason <andrew@planetscale.com>
Co-authored-by: Manan Gupta <manan@planetscale.com>

Co-authored-by: Léopold Jacquot <leopold.jacquot@gmail.com>
Co-authored-by: Andrew Mason <andrew@planetscale.com>
Co-authored-by: Manan Gupta <manan@planetscale.com>
2022-06-27 13:44:07 +05:30
Arindam Nayak 6bc9380b2c Removed java-hadoop test and py-vtdb , PYTHONPATH
Signed-off-by: Arindam Nayak <arindam.nayak@outlook.com>
2020-03-17 17:19:38 +05:30
Anthony Yeh f63e7bba97
Make .gitignore rules safer. (#5546)
* Make .gitignore rules safer.

In particular, `bin*` ignores any file anywhere that even starts with
"bin", of which we have many (e.g. "binlog_blah").

This change scopes these rules down to only match directories (`/`
suffix) at the root of the repo (`/` prefix).

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>

* Add new ignores to .dockerignore too.

So docker doesn't try to pull them into its build context.

Signed-off-by: Anthony Yeh <enisoc@planetscale.com>
2019-12-11 14:35:40 -08: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
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 b14c3a308f Add test-runner script for integration tests in Docker.
This is an alternative to 'make integration_test',
with the following advantages:

* Tests run in Docker, so no bootstrap is necessary.
* Tests are hermetic and can run in parallel.
* Test against different flavors just by setting a flag.
* Failing tests are retried to see if they are flaky.
* A failed test will be recorded for later inspection, while the script
  continues to run other tests.
* A test that takes too long will be considered stuck and retried.

There's plenty of room for improvement, but now that we have something
in a more readable language than Makefile, we can iterate.
2015-04-21 20:12:20 -07:00
Anthony Yeh 2615fbed67 Add .dockerignore to exclude intermediate Godeps output.
These files will cause errors in the Docker build if the host system has
a different version of Go than the base image.
2015-04-20 13:10:40 -07:00