sonic-buildimage icon indicating copy to clipboard operation
sonic-buildimage copied to clipboard

03.Version-cache - framework environment settings

Open Kalimuthu-Velappan opened this issue 2 years ago • 5 comments

It defines and passes the necessary version cache environment variables to the caching framework. It adds the utils script for shared cache file access. It also adds the post-cleanup logic for cleaning the unwanted files from the docker/image after the version cache creation.

The following variable controls the version caching feature. By default, it is turned off. SONIC_VERSION_CACHE_METHOD = [none/cache] SONIC_VERSION_CACHE_SOURCE = /path/to/local/storage

Why I did it

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • [ ] 201811
  • [ ] 201911
  • [ ] 202006
  • [ ] 202012
  • [ ] 202106
  • [ ] 202111
  • [ ] 202205

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Kalimuthu-Velappan avatar Sep 08 '22 01:09 Kalimuthu-Velappan

/azpw run Azure.sonic-buildimage

Kalimuthu-Velappan avatar Sep 11 '22 17:09 Kalimuthu-Velappan

/AzurePipelines run Azure.sonic-buildimage

mssonicbld avatar Sep 11 '22 17:09 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Sep 11 '22 17:09 azure-pipelines[bot]

@xumia @liushilongbuaa submitter has taken the time to split the original code PR to smaller submissions for review, pls help take a look

adyeung avatar Sep 14 '22 23:09 adyeung

@xumia @liushilongbuaa can you please review the PR? Thanks.

zhangyanzhao avatar Nov 11 '22 22:11 zhangyanzhao

@Kalimuthu-Velappan , could you please update the description? Add something in the Why/How/How parts, thanks.

xumia avatar Dec 07 '22 06:12 xumia

/azpw run Azure.sonic-buildimage

Kalimuthu-Velappan avatar Dec 07 '22 10:12 Kalimuthu-Velappan

/AzurePipelines run Azure.sonic-buildimage

mssonicbld avatar Dec 07 '22 10:12 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Dec 07 '22 10:12 azure-pipelines[bot]

It is merged as part of https://github.com/sonic-net/sonic-buildimage/pull/12005

Kalimuthu-Velappan avatar Dec 12 '22 10:12 Kalimuthu-Velappan