)]}'
{"id":"openstack%2Fopenstack-helm-images~868040","triplet_id":"openstack%2Fopenstack-helm-images~master~Ibf318b853ed7e9a9be08ddfdf3a59bebd8c0b38e","project":"openstack/openstack-helm-images","branch":"master","topic":"optimization/pip-no-cache-dir","attention_set":{},"removed_from_attention_set":{"31020":{"account":{"_account_id":31020,"name":"Pratik raj","email":"Rajpratik71@gmail.com","username":"rajpratik71"},"last_update":"2023-03-31 04:39:31.000000000","reason":"Change was abandoned"}},"hashtags":[],"change_id":"Ibf318b853ed7e9a9be08ddfdf3a59bebd8c0b38e","subject":"feat : use --no-cache-dir flag to pip in dockerfiles to save space","status":"ABANDONED","created":"2022-12-18 07:12:44.000000000","updated":"2023-03-31 04:39:31.000000000","total_comment_count":1,"unresolved_comment_count":1,"has_review_started":true,"meta_rev_id":"20cb63aea460f9b80d0a1f143d4f51cc46ed45fb","_number":868040,"virtual_id_number":868040,"owner":{"_account_id":31020,"name":"Pratik raj","email":"Rajpratik71@gmail.com","username":"rajpratik71"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:zuul:check","value":1,"date":"2022-12-18 08:03:06.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","value":1,"default_value":0,"optional":true},"Code-Review":{"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"all":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"CC":[{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"}],"REVIEWER":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2022-12-18 08:03:06.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2022-12-18 18:27:02.000000000","updated_by":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"reviewer":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"state":"CC"}],"messages":[{"id":"e27695ba00ec2a5dcbe63a6d881dc0edbcd29200","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":31020,"name":"Pratik raj","email":"Rajpratik71@gmail.com","username":"rajpratik71"},"date":"2022-12-18 07:12:44.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"fdb9991031ddc55690d32083462628358290cc72","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2022-12-18 08:03:06.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/b4540824be8949aa881cf259d68f1359\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/ac5cd25f59ae41c6950e5f9e30b464bb : SUCCESS in 2m 50s\n- opendev-buildset-registry https://zuul.opendev.org/t/openstack/build/1117ba41c7a945e69659977be2da4cb4 : SUCCESS in 45m 25s\n- openstack-helm-images-aio-monitoring https://zuul.opendev.org/t/openstack/build/2330a772ab784d1a8e69882b4a44a810 : SUCCESS in 24m 56s\n- openstack-helm-images-aio-logging https://zuul.opendev.org/t/openstack/build/9fea1207b4ae46bbb45d0a38dd262c9f : SUCCESS in 28m 58s\n- openstack-helm-images-horizon-wallaby-ubuntu_focal https://zuul.opendev.org/t/openstack/build/0ed810193caf4b4195e8419814cebe7b : SUCCESS in 23m 42s\n- openstack-helm-images-build-calicoctl-utility https://zuul.opendev.org/t/openstack/build/6a9c1a916725412a9870e7cba436c7e5 : SUCCESS in 3m 17s\n- openstack-helm-images-build-elasticsearch-s3 https://zuul.opendev.org/t/openstack/build/334585233ca444c3a99449b69bf68f17 : SUCCESS in 6m 36s\n- openstack-helm-images-build-nagios https://zuul.opendev.org/t/openstack/build/9c67c08b92534103ba83c5f23183b4e4 : SUCCESS in 5m 41s\n- openstack-helm-images-build-osh-selenium https://zuul.opendev.org/t/openstack/build/88e35c0476e0405b9c42fcf9c8f3f18a : SUCCESS in 4m 16s\n- openstack-helm-images-build-ospurge https://zuul.opendev.org/t/openstack/build/e2ac6c359aa9487c8381ed95cd582e38 : SUCCESS in 3m 30s\n- openstack-helm-images-build-prometheus-openstack-exporter https://zuul.opendev.org/t/openstack/build/7c951105997d468e8e7fac5533339567 : SUCCESS in 3m 25s\n- openstack-helm-images-build-tempest https://zuul.opendev.org/t/openstack/build/64112b2a7b374897890b4c601844ed1a : SUCCESS in 5m 37s\n- openstack-helm-images-build-vbmc https://zuul.opendev.org/t/openstack/build/867ef89d9fbe45d793f92ebf316b76b8 : SUCCESS in 8m 56s","accounts_in_message":[],"_revision_number":1},{"id":"88692d7cf9f86a067efb93dd0ba5cf3196957e9e","author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"date":"2022-12-18 18:27:02.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"20cb63aea460f9b80d0a1f143d4f51cc46ed45fb","tag":"autogenerated:gerrit:abandon","author":{"_account_id":8898,"name":"Chris Wedgwood","email":"cw@f00f.org","username":"anticw"},"date":"2023-03-31 04:39:31.000000000","message":"Abandoned\n\nAuto-abandon: unmergable change is 102 days old.\n\nPlease restore if needed again.","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"8710f8a5a68187c919feb95e61ef21d216ff0e72","revisions":{"8710f8a5a68187c919feb95e61ef21d216ff0e72":{"kind":"REWORK","_number":1,"created":"2022-12-18 07:12:44.000000000","uploader":{"_account_id":31020,"name":"Pratik raj","email":"Rajpratik71@gmail.com","username":"rajpratik71"},"ref":"refs/changes/40/868040/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/openstack-helm-images","ref":"refs/changes/40/868040/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/openstack-helm-images refs/changes/40/868040/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/openstack-helm-images refs/changes/40/868040/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/openstack-helm-images refs/changes/40/868040/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/openstack-helm-images refs/changes/40/868040/1"}}},"commit":{"parents":[{"commit":"e0da2c7370e896735c01677fb630bd344ede9ccb","subject":"Update Ceph images to Focal","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-images/commit/e0da2c7370e896735c01677fb630bd344ede9ccb"}]}],"author":{"name":"Pratik Raj","email":"rajpratik71@gmail.com","date":"2022-12-18 07:11:55.000000000","tz":330},"committer":{"name":"Pratik Raj","email":"rajpratik71@gmail.com","date":"2022-12-18 07:11:55.000000000","tz":330},"subject":"feat : use --no-cache-dir flag to pip in dockerfiles to save space","message":"feat : use --no-cache-dir flag to pip in dockerfiles to save space\n\nusing the \"--no-cache-dir\" flag in pip install, make sure downloaded packages by pip don\u0027t cache on the system. This is a best practice that makes sure to fetch from a repo instead of using a local cached one. Further, in the case of Docker Containers, by restricting caching, we can reduce image size. In terms of stats, it depends upon the number of python packages multiplied by their respective size. e.g for heavy packages with a lot of dependencies it reduces a lot by don\u0027t cache pip packages.\n\nFurther, more detailed information can be found at\n\nhttps://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6\n\nSigned-off-by: Pratik Raj \u003crajpratik71@gmail.com\u003e\nChange-Id: Ibf318b853ed7e9a9be08ddfdf3a59bebd8c0b38e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-images/commit/8710f8a5a68187c919feb95e61ef21d216ff0e72"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/openstack-helm-images/commit/8710f8a5a68187c919feb95e61ef21d216ff0e72"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Verified\u003dMAX","label:Verified\u003dMIN"],"atom_explanations":{}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Code-Review\u003dMAX","label:Code-Review\u003dMIN"],"atom_explanations":{}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Workflow\u003dMAX","label:Workflow\u003dMIN"],"atom_explanations":{}}}]}
