protobuf/kokoro/linux
David L. Jones b774da0d42
Change Python kokoro configs to test only their specified version. (#7927)
Using non-versioned scripts for `build_file` means every Python version is
tested (under Tox), and this is multiplied by each Python version running Tox.

For example, when the `python38` config is used to run Tox, the
Tox layer runs on Python 3.8. This then tests all of the Python versions
individually, including, for example, python27 tests.

This change fixes the `build_file` paths to point to the same-pathed build
script. For example, `kokoro/linux/python27/presubmit.cfg` now uses
`kokoro/linux/python27/build.sh`.

Some additional fixes:

*  Use `python -m tox` in tests.sh instead of just `tox`. This helps non-site
   installations of tox, where the `tox` script may not be on `$PATH`.
*  Ensure tox (and other Python build-related packages) are available in
   Python testing images. (New images have been pushed.)
*  Disable `--warnings_as_errors` due to deprecated function.
*  Remove apt lists per [Docker best practices][1].

[1]: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
2020-09-30 15:56:17 -07:00
..
32-bit Php 7.3 fix (#5434) 2018-12-18 10:57:03 -08:00
64-bit reverted 64-bit/Dockerfile 2019-06-27 14:20:41 -04:00
bazel Fix :protobuf_objc bazel target (#7538) 2020-05-21 12:46:35 -07:00
benchmark Set execute bit on files if and only if they begin with (#!). (#7347) 2020-04-01 15:28:25 -07:00
cpp_distcheck Attempt to mitigate "docker pull" failures 2020-02-11 12:59:49 -08:00
cpp_tcmalloc Create test for protoc with tcmalloc (#5612) 2019-01-23 10:02:51 -08:00
csharp Bump target frameworks of C# programs from netcoreapp1.0 to netcoreapp2.1 (#5838) 2019-03-11 13:03:58 -07:00
dist_install Create test to verify that the dist artifact can be installed. (#5854) 2019-03-07 14:34:28 -08:00
dockerfile Change Python kokoro configs to test only their specified version. (#7927) 2020-09-30 15:56:17 -07:00
golang Shard 64-bit Linux languages into different Kokoro jobs 2017-12-20 18:18:41 -08:00
java_compatibility Use docker for csharp, java_compatibility, and python_compatibility. Remove prepare_build_linux_rc that is no longer needed. 2018-12-13 15:20:25 -08:00
java_jdk7 Shard 64-bit Linux languages into different Kokoro jobs 2017-12-20 18:18:41 -08:00
java_linkage_monitor continuous.cfg 2019-06-27 15:19:17 -04:00
java_oracle7 Shard 64-bit Linux languages into different Kokoro jobs 2017-12-20 18:18:41 -08:00
javascript Upgrade the closure compiler version (#5955) 2019-03-28 09:54:13 -07:00
php80 Port php c extension to php8 (#7793) 2020-08-11 19:30:46 -07:00
php_all Php 7.3 fix (#5434) 2018-12-18 10:57:03 -08:00
python Shard 64-bit Linux languages into different Kokoro jobs 2017-12-20 18:18:41 -08:00
python27 Change Python kokoro configs to test only their specified version. (#7927) 2020-09-30 15:56:17 -07:00
python27_cpp Change Python kokoro configs to test only their specified version. (#7927) 2020-09-30 15:56:17 -07:00
python35 Change Python kokoro configs to test only their specified version. (#7927) 2020-09-30 15:56:17 -07:00
python35_cpp Change Python kokoro configs to test only their specified version. (#7927) 2020-09-30 15:56:17 -07:00
python36 Change Python kokoro configs to test only their specified version. (#7927) 2020-09-30 15:56:17 -07:00
python36_cpp Change Python kokoro configs to test only their specified version. (#7927) 2020-09-30 15:56:17 -07:00
python37 Change Python kokoro configs to test only their specified version. (#7927) 2020-09-30 15:56:17 -07:00
python37_cpp Change Python kokoro configs to test only their specified version. (#7927) 2020-09-30 15:56:17 -07:00
python38 Change Python kokoro configs to test only their specified version. (#7927) 2020-09-30 15:56:17 -07:00
python38_cpp Change Python kokoro configs to test only their specified version. (#7927) 2020-09-30 15:56:17 -07:00
python_compatibility Use docker for csharp, java_compatibility, and python_compatibility. Remove prepare_build_linux_rc that is no longer needed. 2018-12-13 15:20:25 -08:00
python_cpp Shard 64-bit Linux languages into different Kokoro jobs 2017-12-20 18:18:41 -08:00
ruby23 Add ruby 2.6 test (#5528) 2019-01-03 14:25:50 -08:00
ruby24 Add ruby 2.6 test (#5528) 2019-01-03 14:25:50 -08:00
ruby25 Add ruby 2.6 test (#5528) 2019-01-03 14:25:50 -08:00
ruby26 Add ruby 2.6 test (#5528) 2019-01-03 14:25:50 -08:00
ruby27 Test in Ruby 2.7 (#7386) 2020-04-24 09:50:27 -07:00
build_and_run_docker.sh Attempt to mitigate "docker pull" failures 2020-02-11 12:59:49 -08:00
make_test_output.py Migrate Jenkins jobs to Kokoro 2017-12-19 13:06:09 -08:00
pull_request_in_docker.sh Cleanup kokoro scripts. 2018-08-09 15:22:22 -07:00