Functions | |
None | _append_to_kokoro_bazel_invocations (str invocation_id) |
None | _create_bazel_wrapper (str report_path, str report_suite_name, str invocation_id, bool upload_results) |
None | _generate_junit_report_string (str report_suite_name, str invocation_id, bool success) |
def | _platform_string () |
Variables | |
_ROOT = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), '../../..')) | |
int | _UPLOAD_RBE_RESULTS_DELAY_SECONDS = 60 |
argp | |
args = argp.parse_args() | |
default | |
help | |
invocation_id = str(uuid.uuid4()) | |
report_path = args.report_path | |
report_suite_name = args.report_suite_name | |
required | |
type | |
bool | upload_results = True if os.getenv('UPLOAD_TEST_RESULTS') else False |
|
private |
Kokoro can display "Bazel" result link on kokoro jobs if told so.
Definition at line 46 of file bazel_report_helper.py.
|
private |
Create a "bazel wrapper" script that will execute bazel with extra settings and postprocessing.
Definition at line 97 of file bazel_report_helper.py.
|
private |
Generate sponge_log.xml formatted report, that will make the bazel invocation reachable as a target in resultstore UI / sponge.
Definition at line 68 of file bazel_report_helper.py.
|
private |
Detect current platform
Definition at line 32 of file bazel_report_helper.py.
|
private |
Definition at line 23 of file bazel_report_helper.py.
|
private |
Definition at line 29 of file bazel_report_helper.py.
python_utils.bazel_report_helper.argp |
Definition at line 233 of file bazel_report_helper.py.
python_utils.bazel_report_helper.args = argp.parse_args() |
Definition at line 247 of file bazel_report_helper.py.
python_utils.bazel_report_helper.default |
Definition at line 244 of file bazel_report_helper.py.
python_utils.bazel_report_helper.help |
Definition at line 240 of file bazel_report_helper.py.
python_utils.bazel_report_helper.invocation_id = str(uuid.uuid4()) |
Definition at line 250 of file bazel_report_helper.py.
python_utils.bazel_report_helper.report_path = args.report_path |
Definition at line 252 of file bazel_report_helper.py.
python_utils.bazel_report_helper.report_suite_name = args.report_suite_name |
Definition at line 253 of file bazel_report_helper.py.
python_utils.bazel_report_helper.required |
Definition at line 238 of file bazel_report_helper.py.
python_utils.bazel_report_helper.type |
Definition at line 239 of file bazel_report_helper.py.
bool python_utils.bazel_report_helper.upload_results = True if os.getenv('UPLOAD_TEST_RESULTS') else False |
Definition at line 254 of file bazel_report_helper.py.