Jie Luo | 7faab5e | 2019-12-13 15:49:18 -0800 | [diff] [blame] | 1 | # Config file for running tests in Kokoro |
| 2 | |
| 3 | # Location of the build script in repository |
Mike Kruskal | ed5c57a | 2022-08-10 22:51:29 -0700 | [diff] [blame^] | 4 | build_file: "protobuf/kokoro/linux/bazel.sh" |
Jie Luo | 7faab5e | 2019-12-13 15:49:18 -0800 | [diff] [blame] | 5 | timeout_mins: 120 |
| 6 | |
Mike Kruskal | ed5c57a | 2022-08-10 22:51:29 -0700 | [diff] [blame^] | 7 | env_vars { |
| 8 | key: "CONTAINER_IMAGE" |
| 9 | value: "gcr.io/protobuf-build/python/linux:3.8-2f706fd1ab49f4e97af769388be486069b63efee" |
| 10 | } |
| 11 | |
| 12 | env_vars { |
| 13 | key: "BAZEL_TARGETS" |
| 14 | value: "//python/... @upb//python/..." |
| 15 | } |
| 16 | |
| 17 | env_vars { |
| 18 | key: "BAZEL_EXTRA_FLAGS" |
| 19 | value: "--define=use_fast_cpp_protos=true" |
| 20 | } |
| 21 | |
Jie Luo | 7faab5e | 2019-12-13 15:49:18 -0800 | [diff] [blame] | 22 | action { |
| 23 | define_artifacts { |
Mike Kruskal | ed5c57a | 2022-08-10 22:51:29 -0700 | [diff] [blame^] | 24 | regex: "**/sponge_log.*" |
Jie Luo | 7faab5e | 2019-12-13 15:49:18 -0800 | [diff] [blame] | 25 | } |
| 26 | } |