onnxruntime/tools/python
Edward Chen 71e7c2b423
Cache build docker images in container registry. (#5811)
This PR adds infrastructure to automatically cache docker images used in CI builds in a container registry.

Currently, build images are pulled from a container registry for some builds and built every time for others. The container registry requires maintenance to keep the images up to date and building images every time wastes build agent resources.

With this change, a given build image can be looked up in a cache container registry and if present, pulled, and otherwise, built and pushed. The uniqueness of a build image is determined by a hash digest of the dockerfile, docker build context directory, and certain "docker build" options. This digest is part of the image tag in the cache container repository.

The cache container registry will need to be cleaned up periodically. This is not automated yet.
2020-11-17 17:02:24 -08:00
..
util Cache build docker images in container registry. (#5811) 2020-11-17 17:02:24 -08:00
__init__.py Add a couple of utility scripts to tools/python (#3621) 2020-05-02 17:35:43 +10:00
convert_onnx_models_to_ort.py [ORT Mobile] ORT Minimal E2E CI (#5200) 2020-09-19 18:43:22 +10:00
dump_subgraphs.py The fixings for python scripts in ONNXRuntime (#4135) 2020-06-08 10:27:32 -07:00
example_operator_perf_test.py Downgrade GCC (#5269) 2020-09-24 21:14:54 -07:00
FindOptimizerOpsetVersionUpdatesRequired.py Enable running PEP8 on python scripts using flake8 (#3928) 2020-05-15 07:15:06 +10:00
gen_contrib_doc.py move all experimental ops to version 1 of ms domain (#5287) 2020-09-30 14:50:18 -07:00
gen_opkernel_doc.py Render Operator documentation as compliant markdown (#3658) 2020-09-02 15:07:50 -07:00
get_submodules.py Enable running PEP8 on python scripts using flake8 (#3928) 2020-05-15 07:15:06 +10:00
onnx_test_data_utils.py Enable running PEP8 on python scripts using flake8 (#3928) 2020-05-15 07:15:06 +10:00
ort_test_dir_utils.py Raise output mismatch error in ort_test_dir_utils.py (#5364) 2020-10-02 16:44:59 -07:00
PythonTools.md Add a few more things to the helper python scripts. (#3842) 2020-05-12 09:59:40 +10:00
register_custom_ops_pytorch_exporter.py Fix contrib ops unregister to match pytorch behavior (#5052) 2020-09-03 16:32:42 -07:00
remove_initializer_from_input.py Enable running PEP8 on python scripts using flake8 (#3928) 2020-05-15 07:15:06 +10:00
update_version.py add script to support update nodejs binding version (#4164) 2020-06-09 13:12:55 -07:00